joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45daa0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x49fc76
call fcn.0048e1d2
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x14], esi
call fcn.00401a80
xor ebx, ebx
mov dword [ebp - 4], esi
inc ebx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00401979
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45db23
mov eax, 0x200
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004017a2
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.00403395
cmp ebx, esi
je 0x45db1a
mov ecx, edi
call fcn.00401979
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0048e2aa
ret

Function at 0x45db2b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, 0x200
push esi
call fcn.00489ef6
push esi
mov ebx, eax
push 0
push ebx
call fcn.004890f0
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsConnections
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45db88
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x45db8e
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call fcn.0046e7df
push eax
lea ecx, [ebp - 8]
call fcn.00401764
lea ecx, [ebp - 8]
call fcn.00401979
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
push accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45dc04
cmp dword [ebp + 0xc], esi
jne 0x45dbe1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x45dbfb
push dword [ebp + 0xc]
call fcn.00488770
pop ecx
push eax
push dword [ebp + 0xc]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040174a
pop esi
leave
ret
Function at 0x45dc32
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor esi, esi
cmp edi, esi
je 0x45dcb0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45dcb0
lea eax, [ebp - 0x7c]
push eax
push 8
push esi
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x45dcb0
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x45dcaa
xor esi, esi
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x45dcb3
cmp eax, esi
je 0x45dc9d
jmp 0x45dc9a
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.00488bf3
add ebp, 0x18c
leave
ret

Function at 0x45dcc9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x49fc42
call fcn.0048e1d2
xor esi, esi
cmp dword [ebp + 8], esi
je 0x45ddc8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45ddc8
lea eax, [ebp - 0x14]
push eax
push 1
push esi
push dword [ebp + 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x45ddc8
call fcn.0046e7df
push eax
lea ecx, [ebp + 8]
call fcn.00401764
mov dword [ebp - 4], esi
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
push 0x64
pop eax
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x1c], eax
call fcn.004017a2
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
mov edi, eax
call fcn.004017a2
lea ecx, [ebp - 0x1c]
push ecx
push edi
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
mov edi, eax
call fcn.00403395
cmp edi, 0x103
jne 0x45dda5
inc esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
jmp 0x45ddcb
cmp edi, esi
je 0x45dd82
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
call fcn.0048e2aa
ret
Function at 0x45e224
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x19c]
push esi
mov esi, dword [ebp + 0x198]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x80], esi
je 0x45e2d2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45e2d2
lea eax, [ebp - 0x78]
push eax
push 0x10008
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x45e2d7
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
je 0x45e2bb
cmp esi, edi
jne 0x45e2c7
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.0045e224
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x45e27a
jmp 0x45e2c7
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45e2d7
mov esi, 0x3f2
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488bf3
add ebp, 0x190
leave
ret

Function at 0x45e2f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45e341
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45e338
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x45fbc9
Capabilities:
Resolve dns

Disassembly:
push 0x2c
mov eax, 0x49fc0d
call fcn.0048e23b
call dword [0x4d799c]
push 0
push str.GR_AddressToLong
push 1
push 1
lea ecx, [ebp - 0x2c]
call fcn.004728af
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x38]
call fcn.00452256
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.004890f0
mov eax, dword [edi]
add esp, 0xc
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017a2
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x45fc46
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45fc54
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.00403395
mov esi, dword [ebp - 0x20]
jmp 0x45fc61
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor esi, esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.004522de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004728fa
mov eax, esi
call fcn.0048e2be
ret
Function at 0x460363
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x49fbe2
call fcn.0048e1d2
mov ebx, dword [ebp + 8]
push str.MIKEBURF
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040145d
add esp, 0xc
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
mov eax, dword [ebx]
inc edi
cmp dword [eax - 0xc], esi
jle 0x4603e3
lea ebx, [esi + 1]
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fb90
xor ecx, ecx
mov ch, al
push esi
movzx eax, cx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040fb90
movzx eax, al
or eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040fb90
movzx eax, al
shl eax, 0x10
or eax, dword [ebp - 0x14]
add esi, 3
xor edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp esi, dword [eax - 0xc]
jl 0x460397
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
call fcn.0048e2aa
ret
Function at 0x465aa3
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 5
jb 0x465c3b
jne 0x465af0
cmp dword [ebp - 0x18], 1
jb 0x465c3b
jne 0x465af0
cmp dword [ebp - 0x14], 0x9c9
jb 0x465c3b
xor ebx, ebx
cmp dword [0x4db2f0], ebx
jne 0x465bdc
push str.uxtheme.dll
call fcn.00465ce4
cmp eax, ebx
pop ecx
mov dword [0x4db2f0], eax
je 0x465c3b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x4db2f0]
mov dword [0x4db2f4], eax
call esi
push str.IsAppThemed
push dword [0x4db2f0]
mov dword [0x4db2f8], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x4db2f0]
mov dword [0x4db2fc], eax
call esi
push str.DrawThemeBackground
push dword [0x4db2f0]
mov dword [0x4db300], eax
call esi
mov edi, str.DrawThemeText
push edi
push dword [0x4db2f0]
mov dword [0x4db304], eax
call esi
push edi
push dword [0x4db2f0]
mov dword [0x4db308], eax
call esi
push str.GetThemeSysSize
push dword [0x4db2f0]
mov dword [0x4db30c], eax
call esi
push str.GetThemeRect
push dword [0x4db2f0]
mov dword [0x4db310], eax
call esi
push str.GetThemePartSize
push dword [0x4db2f0]
mov dword [0x4db314], eax
call esi
push str.SetWindowTheme
push dword [0x4db2f0]
mov dword [0x4db318], eax
call esi
mov dword [0x4db31c], eax
pop edi
mov esi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
push 1
push str.DoXPThemes
push esi
mov ecx, eax
call fcn.00471a63
cmp dword [0x4db2f4], ebx
mov dword [0x4d7e70], eax
je 0x465c3b
cmp dword [0x4db2f8], ebx
je 0x465c3b
cmp dword [0x4db2fc], ebx
je 0x465c3b
cmp dword [0x4db300], ebx
je 0x465c3b
cmp dword [0x4db304], ebx
je 0x465c3b
cmp dword [0x4db308], ebx
je 0x465c3b
cmp dword [0x4db318], ebx
je 0x465c3b
xor eax, eax
inc eax
jmp 0x465c3d
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00488bf3
add ebp, 0x78
leave
ret
Function at 0x465d1e
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x4a38c7
call fcn.0048e1d2
mov edi, dword [ebp + 8]
mov esi, 0x4b63e4
push esi
push edi
call fcn.00460c15
test eax, eax
pop ecx
pop ecx
je 0x465d4c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x465eb7
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x14]
call fcn.00401764
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
push ebx
lea ecx, [ebp - 0x14]
call fcn.004017a2
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403395
push esi
lea edi, [ebp - 0x14]
call fcn.004609e9
test eax, eax
pop ecx
jne 0x465d94
push esi
mov ecx, edi
call fcn.0040163d
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004032e0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
test edi, edi
jne 0x465eaa
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
push ebx
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004017a2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403395
mov ebx, 0x4b63e4
push ebx
lea edi, [ebp - 0x10]
call fcn.004609e9
test eax, eax
pop ecx
jne 0x465e0e
push ebx
mov ecx, edi
call fcn.0040163d
mov ebx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004032e0
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
test edi, edi
jne 0x465eaa
lea eax, [ebp - 0x10]
push eax
call fcn.0045a802
mov byte [ebp - 4], 2
lea edi, [ebp - 0x10]
mov dword [esp], 0x4b63e4
call fcn.004609e9
test eax, eax
pop ecx
jne 0x465e73
push 0x4b63e4
mov ecx, edi
call fcn.0040163d
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004032e0
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
test edi, edi
jne 0x465eaa
push dword [ebx]
call esi
mov edi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
call fcn.0048e2aa
ret
Function at 0x46930d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x49e242
call fcn.0048e205
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0047261a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x469358
call fcn.0047261a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x469369
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x469376
or eax, 0xffffffff
jmp 0x4694d2
mov ecx, esi
call fcn.00468e54
mov dword [ebp - 0x14], eax
call fcn.0046bc9f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4693f4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4693f4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4693f4
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00468ce3
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4693f4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4693f4
mov ecx, ebx
call fcn.0046f0d6
test eax, eax
je 0x4693f4
push 0
mov ecx, ebx
call fcn.0046f0f1
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0046d64a
push dword [ebp - 0x14]
call fcn.0046bbf7
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00469115
xor edi, edi
cmp eax, edi
je 0x469451
test byte [esi + 0x3c], 0x10
je 0x46943b
push 4
pop edi
mov ecx, esi
call fcn.0046ef93
test ax, 0x100
je 0x469431
push 5
pop edi
push edi
mov ecx, esi
call fcn.0046b7bf
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x469451
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046f2c4
or dword [ebp - 4], 0xffffffff
jmp 0x46947c
cmp dword [ebp - 0x28], edi
je 0x46948a
push 1
mov ecx, ebx
call fcn.0046f0f1
cmp dword [ebp - 0x2c], edi
je 0x46949a
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4694b3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4694b3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00468e8e
cmp dword [esi + 0x58], edi
je 0x4694cf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0048e2aa
ret
Function at 0x46cc1a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x46cc53
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468a78
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403395
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x46e77a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x46e7bd
call fcn.0047261a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46e7bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46e7d8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046e331
test ebx, ebx
mov esi, eax
je 0x46e7d6
test edi, edi
je 0x46e7d6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46fe82
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x46fe9a
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x46ff42
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x470284
Capabilities:
Resolve dns

Disassembly:
push 0x18
mov eax, 0x49e49d
call fcn.0048e23b
mov esi, dword [ebp + 8]
mov ebx, ecx
call dword [0x4d799c]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x4702c4
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.0040418b
xor eax, eax
call fcn.0048e2be
ret 8
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004890f0
add esp, 0xc
push esi
mov word [ebp - 0x20], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x4702fd
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x47031b
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [ebp - 0x20]
mov word [ebp - 0x1e], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edi, eax
jmp 0x470326
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.0040418b
mov eax, edi
jmp 0x4702bc
Function at 0x47c324
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d6674]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x47c364
push 0x4b15d8
push 4
push eax
call fcn.0048ea6c
push eax
call fcn.00403337
add esp, 0x10
jmp 0x47c376
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x47c3e4
push edi
call fcn.0048ddc7
mov edi, dword [eax]
call fcn.0048ddc7
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0048d131
add esp, 0x18
mov ebx, eax
call fcn.0048ddc7
cmp dword [eax], 0
je 0x47c3c4
call fcn.0048ddc7
push dword [eax]
call fcn.004687a7
pop ecx
jmp 0x47c3cb
call fcn.0048ddc7
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x47c3e4
cmp ebx, esi
jae 0x47c3e4
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x47c3e6
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00488bf3
leave
ret
Function at 0x47cfc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x47d006
call fcn.0047261a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47d006
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x47d049
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x47d032
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47d032
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x47d046
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x488bf3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d6674]
jne 0x488bfd
repz ret
jmp fcn.00490d97
Function at 0x4941a6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4d7030]
je 0x4941c1
inc edi
cmp edi, 0x17
jb 0x4941b2
cmp edi, 0x17
jae 0x494341
push ebp
push 3
call fcn.00499bd9
cmp eax, 1
pop ecx
je 0x49430d
push 3
call fcn.00499bd9
test eax, eax
pop ecx
jne 0x4941f5
cmp dword [0x4d6670], 1
je 0x49430d
cmp ebx, 0xfc
je 0x494340
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4da810
push ebp
call fcn.0048ea6c
add esp, 0xc
test eax, eax
je 0x49422b
push esi
push esi
push esi
push esi
push esi
call fcn.0048f732
add esp, 0x14
push 0x104
mov esi, 0x4da829
push esi
push 0
mov byte [0x4da92d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x49426f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048ea6c
add esp, 0xc
test eax, eax
je 0x49426f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0048f732
add esp, 0x14
push esi
call fcn.00488770
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4942b4
push esi
call fcn.00488770
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4dab24
push 0x4b7364
sub ecx, eax
push ecx
push eax
call fcn.0048e2dc
add esp, 0x14
test eax, eax
je 0x4942b4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0048f732
add esp, 0x14
jmp 0x4942b6
xor esi, esi
push 0x4b33e8
push ebx
push ebp
call fcn.0048ee74
add esp, 0xc
test eax, eax
je 0x4942d6
push esi
push esi
push esi
push esi
push esi
call fcn.0048f732
add esp, 0x14
push dword [edi*8 + 0x4d7034]
push ebx
push ebp
call fcn.0048ee74
add esp, 0xc
test eax, eax
je 0x4942f8
push esi
push esi
push esi
push esi
push esi
call fcn.0048f732
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00499a1c
add esp, 0xc
jmp 0x494340
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x494340
cmp ebp, 0xffffffff
je 0x494340
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4d7034]
push dword [esi]
call fcn.00488770
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret