joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8ac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8b00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4f8c46
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0046ce50
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4f8c10
nop
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 0x14], eax
cmp ebx, esi
jne 0x4f8b91
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4f8bff
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4f8bc8
mov eax, dword [eax]
cmp eax, ecx
je 0x4f8bc0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], ecx
jmp 0x4f8bff
cmp ebx, eax
je 0x4f8bdc
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4f8c24
cmp ebx, eax
jne 0x4f8bd0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x18]
mov ecx, edx
cmp edx, esi
jne 0x4f8b40
nop dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x4f8bff
push str.invalid_hash_bucket_count
call fcn.00550857
int3
Function at 0x4f8fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.004a1a70
mov esi, dword [eax + 4]
test esi, esi
je 0x4f907f
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4f903b
cmp eax, esi
jne 0x4f9033
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f9043
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4f9043
cmp eax, esi
jne 0x4f9043
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0xc]
call fcn.00414ed0
push 0x18
push esi
call fcn.0040a1a2
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x500800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9122
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov esi, 0x6353a4
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x500997
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x20019
push 0x5eb880
push 0x80000002
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040dd20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 1
call fcn.0040bc60
test eax, eax
jne 0x5008be
cmp dword [ebp - 0x30], eax
je 0x5008be
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5008be
mov bl, 1
jmp 0x5008c0
xor bl, bl
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.0040c880
test bl, bl
je 0x5008da
mov ecx, 1
jmp 0x500948
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push 0x80000002
lea ecx, [ebp - 0x50]
call fcn.0040dd20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push str.Path
mov ecx, eax
mov dword [ebp - 0x44], 2
call fcn.0040bc60
test eax, eax
jne 0x50092f
cmp dword [ebp - 0x18], eax
je 0x50092f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x50092f
mov bl, 1
jmp 0x500931
xor bl, bl
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.0040c880
xor ecx, ecx
test bl, bl
sete cl
inc ecx
mov byte [ebp - 4], 4
xor eax, eax
lock cmpxchg dword [esi], ecx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x500967
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x500997
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
cmp eax, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x5072b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9a01
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov ebx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x18], edi
call fcn.0040b170
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.0040b170
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.0040b170
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.0040b170
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x50738b
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [edi + 0x60]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
call fcn.00409320
lea edx, [edi + 0x60]
mov dword [edx], eax
lea ecx, [esi + esi*2]
mov dword [edx + 4], eax
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], edx
mov dword [edx + 8], eax
push dword [edx]
mov ecx, edx
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0049b160
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x6c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50dd20
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x78], 0
je 0x50dd4b
cmp dword [esi + 0x7c], 0
je 0x50dd4b
cmp dword [esi + 0x80], 0
je 0x50dd4b
cmp dword [esi + 0x84], 0
je 0x50dd4b
cmp dword [esi + 0x88], 0
jne 0x50ddc6
push str.prntvpt.dll
call fcn.004396f0
mov edi, eax
add esp, 4
test edi, edi
je 0x50ddcb
push str.PTOpenProvider
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x78], eax
test eax, eax
je 0x50ddcb
push str.PTConvertDevModeToPrintTicket
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x50ddcb
push str.PTCloseProvider
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x80], eax
test eax, eax
je 0x50ddcb
push str.PTConvertPrintTicketToDevMode
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x84], eax
test eax, eax
je 0x50ddcb
push str.PTReleaseMemory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x88], eax
test eax, eax
je 0x50ddcb
pop edi
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x51aa90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov bh, byte [ebp + 0x24]
xor bl, bl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
push edi
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x51aad0
mov dword [eax], 0
test edi, edi
je 0x51aada
mov dword [edi], 0
cmp dword [esi + 0x10], 0
je 0x51abc2
push 0
push esi
call fcn.004303e0
add esp, 8
test al, al
jne 0x51abc2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x51ab01
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x51abc2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x51ab1a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x51abc2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], 0
cmp dword [ecx + 0x10], 0
jne 0x51ab3d
xor ecx, ecx
jmp 0x51ab45
cmp dword [ecx + 0x14], 8
jb 0x51ab45
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 8
jb 0x51ab4d
mov esi, dword [esi]
push 0
xor edx, edx
lea eax, [ebp - 8]
test edi, edi
cmove eax, edx
test bh, bh
push eax
push dword [ebp - 0x10]
mov eax, 0x5ee600
push str.exefile
push dword [ebp + 0x1c]
push 1
push ecx
mov ecx, str.open
push esi
cmove eax, ecx
push eax
push dword [ebp - 0x14]
call fcn.004b00c0
add esp, 0x28
test al, al
je 0x51abc2
test edi, edi
je 0x51abc0
cmp dword [ebp - 8], 0
je 0x51abc0
push 1
push 0
push 0
call fcn.004798d0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push edi
mov eax, dword [eax + 4]
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x51abc0
mov dword [edi], eax
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0x20
Function at 0x520e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598f10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00406b5e
mov esi, eax
add esp, 4
test esi, esi
je 0x520ee0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004287bb
add esp, 4
mov dword [esi + 4], eax
jmp 0x520ee2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x525790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
test edi, edi
je 0x5258de
test esi, esi
je 0x5258de
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x62b14c
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x62b164]
mov dword [edi + 8], eax
push 0x62b14c
mov dword [0x62b164], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov edi, dword [0x635d28]
mov dword [ebp - 8], edi
call fcn.00530310
push 5
push 0x71
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5258b5
push 0xf0
push 0x71
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], ebx
test eax, eax
je 0x525835
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5258a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5258a2
push dword [ebp - 4]
push eax
call fcn.0052e4a0
add esp, 8
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push 0x52e7c0
push dword [ebp + 8]
push eax
push dword [ebp - 8]
call fcn.005304f0
mov ebx, eax
test ebx, ebx
jne 0x525886
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x5258aa
test eax, eax
je 0x5258aa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x5258aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x5258b5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x24], 0
jge 0x5258d3
test ebx, ebx
je 0x5258d3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc0000005
call fcn.00488df0
int3
Function at 0x527da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abc70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xec], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov dword [edi + 0x110], 2
mov dword [edi + 0xf4], ebx
jne 0x527df9
mov eax, 2
jmp 0x527f50
push 0
push ebx
call fcn.00525790
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x527f1b
test ebx, ebx
je 0x527e1d
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [edi + 4]
mov byte [edi + 0x10c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x527f05
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
cmp eax, 0x100
jb 0x527e61
cmp eax, 0x109
jbe 0x527e6b
add eax, 0xfffffe00
cmp eax, 0xe
ja 0x527ecd
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x527ea5
push esi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [edi + 4]
je 0x527ea5
nop dword [eax]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [edi + 4]
jne 0x527e90
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x37f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
je 0x527ee1
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x527ee1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [edi + 0x10c], 0
je 0x527f02
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x527e50
mov esi, dword [ebp - 0x30]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test ebx, ebx
je 0x527f1b
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0052dc70
push eax
mov ecx, esi
call fcn.00410e40
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0
cmp eax, 8
jb 0x527f4a
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0040a5e0
mov eax, dword [edi + 0x110]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 8
Function at 0x52b920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abdab
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x13c], ebx
mov esi, dword [0x635d28]
mov edi, 1
mov eax, dword [ebp + 0x14]
push 0xf0
push 0x71
push esi
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x52ba63
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x52ba63
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x52ba63
mov edx, 0x1234
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x52ba63
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x140], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x52ba9d
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push esi
call fcn.00529d50
push dword [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push 0x143
push ebx
mov ebx, dword [ebp - 0x13c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x114]
cmove edi, ecx
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x52ba50
push eax
call fcn.0040a1b5
add esp, 4
mov edx, 0x1234
add esi, dword [ebp - 0x140]
test edi, edi
jne 0x52b9a6
push 1
push ebx
call fcn.00521dd0
mov eax, dword [ebp - 0x144]
add esp, 8
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0x10
cmp dx, ax
jne 0x52bb1a
push 3
lea eax, [ebp - 0x244]
mov dword [ebp - 0x138], 1
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x248], eax
call fcn.00529d50
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x52baef
push eax
call fcn.0040a1b5
add esp, 4
lea eax, [ebp - 0x138]
push eax
push 0
push 0x40b
push ebx
mov ebx, dword [ebp - 0x13c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
jmp 0x52ba50
mov ebx, dword [ebp - 0x13c]
jmp 0x52ba55
Function at 0x534cc0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 1
test eax, 0x100000
jne 0x534e34
and eax, 0x30000
cmp eax, 0x20000
je 0x534e34
cmp dword [ebp + 0x18], 0
je 0x534e34
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x534e34
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x4c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0
push dword [ebp + 0x18]
lea eax, [ebp + 8]
movlpd qword [ebp - 0x40], xmm0
cmovae eax, dword [ebp + 8]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x534e34
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x534d9e
cmp eax, 4
jne 0x534e34
cmp dword [ebp + 0x30], 0
je 0x534e34
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x534e34
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x4c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0
push dword [ebp + 0x30]
lea eax, [ebp + 0x20]
movlpd qword [ebp - 0x40], xmm0
cmovae eax, dword [ebp + 0x20]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x534e34
mov eax, dword [ebp - 0x40]
cmp eax, 3
je 0x534e20
cmp eax, 4
jne 0x534e34
push 1
lea eax, [ebp + 8]
push eax
push dword [esi + 0xec]
call fcn.004d94b0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x534e4d
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x534e7d
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.0040a5e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0x34