joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4667a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0
xorps xmm0, xmm0
movups xmmword [ecx + 8], xmm0
movups xmmword [ecx + 0x18], xmm0
cmp dword [ebp + 8], 0
je 0x466828
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
mov edi, eax
call ebx
xor ecx, ecx
push ecx
push ecx
push 0x400
lea ecx, [ebp - 0x14]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea eax, [ebp - 0x14]
mov ebx, dword [eax]
cmp dword [esi], ebx
je 0x466828
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x46683e
lea eax, [ebx + 1]
cmp eax, 2
jb 0x466821
mov dword [esi], ebx
call fcn.004e0f80
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004e0f80
push dword [esi]
call fcn.004e9ae0
add esp, 4
mov dword [esi], 0
jmp 0x466812
Function at 0x467860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x467897
mov eax, dword [0x605ef4]
cmp eax, 0xffffffff
je 0x467924
mov ebx, 0x100000
test eax, eax
jne 0x467897
mov ebx, 0x80000
push 0xc
call fcn.0050397a
add esp, 4
mov esi, eax
mov dword [eax], 0
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x60a0d8]
bt ecx, eax
jae 0x467916
push edi
call fcn.004e1ce0
add esp, 4
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
xor eax, eax
push eax
push 0x10000
push esi
push 0x467c10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x467948
test edi, edi
je 0x4679a6
mov dword [edi], eax
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x6120d8], 1
jmp 0x4678c8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x605ef4
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x467a15
mov eax, dword [0x605ef4]
jmp 0x467889
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x467964
mov edi, eax
cmp eax, 0x5af
je 0x467964
cmp edi, 0xe
jne 0x4679b6
push ebx
call fcn.0055fa10
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x20]
je 0x4678fd
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x60a0d8]
bt edx, ecx
jae 0x467995
push eax
call fcn.004e1df0
add esp, 4
push esi
call fcn.005039aa
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4678fd
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4678fd
mov eax, dword [0x614ee0]
mov ecx, dword [0x6072f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x467a24
lea ebx, [ebp - 0x1c]
push edi
push ebx
call fcn.0045feb0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4679ee
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x614edc]
call fcn.004f5340
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x46796d
push dword [ebp - 0x1c]
call fcn.005039aa
jmp 0x46796a
mov dword [0x605ef4], 0
jmp 0x467892
push 0x614ee0
call fcn.00503a17
add esp, 4
cmp dword [0x614ee0], 0xffffffff
jne 0x4679d3
push 0x20
push str.create_thread_last_error
call fcn.00488a20
add esp, 8
mov dword [0x614edc], eax
push 0x614ee0
call fcn.00503a8d
add esp, 4
jmp 0x4679d3

Function at 0x467fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x468040
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x28], eax
push 0
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
xor esi, esi
test eax, eax
jne 0x468085
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
lea eax, [esp + 0x24]
mov dword [eax], esi
or edi, 8
push eax
push edi
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4680aa
cmp eax, 2
je 0x468070
mov esi, eax
jmp 0x468070
xor eax, eax
dec eax
lea esi, [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00440fc0
mov al, byte [esi + 0xb]
test al, al
mov ecx, dword [esi + 4]
movzx edx, al
mov dword [esp], edx
cmovs edx, ecx
test edx, edx
je 0x468101
test al, al
jns 0x4680e0
mov esi, dword [esp + 0x18]
cmp word [esi + edx*2 - 2], 0x5c
je 0x468101
lea esi, [esp + 0x18]
mov ecx, esi
push 0x5c
call fcn.004de330
mov al, byte [esi + 0xb]
mov ecx, dword [esi + 4]
movzx edx, al
mov dword [esp], edx
xor edx, edx
lea esi, [esp + 8]
mov dword [esi + 4], edx
mov dword [esi], edx
mov dword [esi + 8], edx
test al, al
mov eax, dword [esp]
cmovs eax, ecx
mov dword [esp], eax
lea esi, [esp + 0x18]
xor ebx, ebx
mov eax, 0x104
mov dword [esp + 4], eax
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004675e0
add esp, 8
mov ecx, dword [esp + 0x24]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea edx, [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4681c1
lea edi, [esp + 8]
mov ecx, edi
push ebx
push dword [esp + 8]
call fcn.004de750
mov ecx, esi
push ebx
push dword [esp + 4]
call fcn.004de750
movzx eax, byte [esp + 0x13]
test al, al
jns 0x468194
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ecx, esi
push eax
push edi
call fcn.004de0e0
cmp byte [esp + 0x23], 0
mov eax, esi
jns 0x4681aa
mov eax, dword [esp + 0x18]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00468040
add esp, 0xc
test eax, eax
je 0x468120
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
cmp byte [esp + 0x13], 0
jns 0x4681f1
push dword [esp + 8]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x468070
push dword [esp + 0x18]
call fcn.005039aa
add esp, 4
jmp 0x468070
Function at 0x468230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4682a3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x46828d
cmp dword [ebp - 0x18], 4
jne 0x46828d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x46828d

Function at 0x4682b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00504f70
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.005072d0
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46833f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x468343
mov ecx, esi
push edi
call fcn.0044a990
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x468326
cmp eax, 2
jne 0x468385
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.005072d0
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x46838c
mov ecx, esi
push ebx
jmp 0x46831f
mov esi, 0x3f4
jmp 0x468326
mov esi, 0xea
jmp 0x468326

Function at 0x4683a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x603024]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8

Function at 0x4683e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00520e34
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x468540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx], 0
je 0x468600
cmp dword [esi + 4], 0
js 0x468600
lea ecx, [esi + 8]
cmp byte [esi + 0x13], 0
jns 0x46861f
mov edx, SysReAllocString
and edx, dword [esi + 0x10]
dec edx
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x14]
mov dword [eax], edx
lea eax, [esi + 0x14]
mov dword [ebp - 0x24], eax
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
sub eax, edi
add eax, 0xfffffffe
lea ebx, [esi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [ebp - 0x1c], eax
push edx
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.004675e0
add esp, 8
mov dword [ebp - 0x20], ebx
push ebx
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x468629
test eax, eax
jne 0x468600
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov word [ecx + eax], 0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 8]
cmp byte [esi + 0x13], 0
jns 0x46860b
mov eax, dword [eax]
xor ebx, ebx
mov word [eax], bx
mov eax, dword [esi + 0x14]
mov word [eax], bx
mov dword [esi + 0x20], 0
jmp 0x4685ec
mov edx, 4
jmp 0x46857e
mov eax, dword [esi + 0x20]
inc eax
shr eax, 1
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, ecx
mov edi, ebx
sub edx, ebx
sar edx, 1
sub eax, edx
jb 0x46865a
lea edx, [ebp - 0x16]
mov word [edx], 0
inc eax
mov ecx, dword [ebp - 0x24]
push edx
push eax
call fcn.004689c0
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov ebx, edi
sub ecx, edi
add ecx, 0xfffffffe
mov dword [esi + 0x20], ecx
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
mov eax, 0x4000
cmovne eax, edi
mov dword [ebp - 0x14], eax
push eax
push dword [ebp - 0x2c]
call fcn.004675e0
add esp, 8
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x4685d2

Function at 0x468700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
dec dword [ecx + 4]
pop ebp
jmp fcn.00468540
Function at 0x468730
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x603024]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edx, 0x20019
or edx, dword [ebp + 0x10]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4687ef
xor eax, eax
lea edx, [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [esi]
sub esp, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4687e7
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4687f5
test eax, eax
js 0x4687f5
lea edx, [ebp - 0x14]
mov dword [edx], 0x104
xor ebx, ebx
dec ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ebx, [esi + 8]
xor edi, edi
lea edx, [ebp - 0x1c]
push edx
push edi
push edi
push edi
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4687fb
jmp 0x4687f5
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x4688a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
lea ecx, [edx - 1]
mov dword [esi + 4], ecx
test eax, eax
je 0x468908
test edx, edx
jle 0x468908
lea edx, [ebp - 0x14]
mov dword [edx], 0x104
xor edi, edi
dec edi
lea ebx, [ebp - 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], edi
lea edi, [esi + 8]
xor edx, edx
push ebx
push edx
push edx
push edx
lea edx, [ebp - 0x14]
push edx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x468908
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esi + 8], 0
jmp 0x4688f6
Function at 0x46d680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x46d772
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
sar eax, 0x1f
mov dword [esp + 0x64], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.004ebfd0
mov eax, dword [0x616998]
mov ecx, dword [0x6072f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46d7ee
mov dword [esp], 0x5e1109
call fcn.004ec6f0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x5dc480]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.0048aa20
sub esp, 0x44
cmp byte [edi], 0
jne 0x46d7d6
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504b53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46d7e2
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call edi
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x46d7de
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46d7e2
lea ecx, [esi + 0x5c]
call fcn.004d8430
lea ecx, [esi + 0x28]
call fcn.004d50d0
mov ecx, esi
call fcn.004d85b0
mov dword [esp], esi
call fcn.005039aa
jmp 0x46d7e2
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x46d785
cmp al, 9
je 0x46d7ad
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x46d772
jmp 0x46d7d6
mov dword [esp], 0x616998
call fcn.00503a17
cmp dword [0x616998], 0xffffffff
jne 0x46d70c
mov dword [esp], 0
mov ecx, 0x616798
call fcn.0046be50
sub esp, 4
mov dword [esp], 0x616998
call fcn.00503a8d
jmp 0x46d70c
Function at 0x46d830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x46d921
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x701
mov dword [esp + 0x54], ecx
cmp byte [eax + 0xb], 0
jns 0x46d87f
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x60], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.004ebfd0
mov eax, dword [0x616998]
mov ecx, dword [0x6072f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46d99d
mov dword [esp], 0x5e1109
call fcn.004ec6f0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x5dc480]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.0048aa20
sub esp, 0x44
cmp byte [edi], 0
jne 0x46d985
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504b53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46d991
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call edi
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x46d98d
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46d991
lea ecx, [esi + 0x5c]
call fcn.004d8430
lea ecx, [esi + 0x28]
call fcn.004d50d0
mov ecx, esi
call fcn.004d85b0
mov dword [esp], esi
call fcn.005039aa
jmp 0x46d991
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x46d934
cmp al, 9
je 0x46d95c
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x46d921
jmp 0x46d985
mov dword [esp], 0x616998
call fcn.00503a17
cmp dword [0x616998], 0xffffffff
jne 0x46d8bb
mov dword [esp], 0
mov ecx, 0x616798
call fcn.0046be50
sub esp, 4
mov dword [esp], 0x616998
call fcn.00503a8d
jmp 0x46d8bb
Function at 0x471e10
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [0x6169ec]
test eax, eax
je 0x471f41
mov esi, ecx
push str.ShowHTMLDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x471f41
mov edi, eax
mov dword [esp + 0x34], 0
lea eax, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x471e5f
mov eax, dword [eax]
lea ebx, [esp + 0x34]
push 1
push ebx
push eax
push 0
call sub.urlmon.dll_CreateURLMonikerEx
cmp dword [ebx], 0
je 0x471f41
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x471eb7
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0042a320
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x471db0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x6169e8], eax
test eax, eax
je 0x471eb7
mov dword [0x6169f0], ebx
lea eax, [esi + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
cmp byte [esi + 0x1b], 0
mov dword [esp + 0xc], edi
jns 0x471ed0
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
call fcn.00583ed0
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x10]
movdqa xmmword [eax], xmm0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
call dword [section..00cfg]
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
push edi
push 0
call ecx
mov edi, eax
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
lea ebx, [esp + 0x14]
call ecx
movzx eax, word [ebx]
cmp ax, 8
je 0x471f45
mov ecx, dword [ebp + 0xc]
cmp ax, 3
jne 0x471f67
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x471f67
xor ebx, ebx
jmp 0x471f98
mov eax, dword [ebp + 0xc]
mov dword [eax], 6
add esi, 0x1c
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.0044a850
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x6169e8]
test eax, eax
je 0x471f8a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x6169f0], eax
mov dword [0x6169e8], eax
test edi, edi
setns bl
lea ecx, [esp + 0x20]
call fcn.004903d0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8