joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a94b
Capabilities:
Check os version
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d77d
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4d4684]
xor eax, esp
mov dword [esp + 0x1c8], eax
push esi
mov eax, dword [0x4d4684]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor esi, esi
mov ecx, edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
call fcn.0045ee51
test eax, eax
jne 0x45aa6d
mov eax, dword [edi]
lea ecx, [esp + 0xa4]
push ecx
push eax
call fcn.0047d520
test eax, eax
je 0x45aa6d
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 5
jae 0x45aa62
cmp dword [esp + 0x10], 4
jne 0x45aa04
cmp dword [esp + 0x14], 0x5a
jae 0x45aa62
call fcn.0046c34c
push eax
lea ecx, [esp + 0xc]
call fcn.00401764
mov dword [esp + 0x1e0], esi
mov esi, 0x104
push esi
lea ecx, [esp + 0xc]
call fcn.004017a2
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00403395
mov esi, dword [esp + 8]
push str.WININIT.INI
push esi
push 0x4bacec
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esi - 0x10]
call fcn.0040174a
jmp 0x45aa6d
push 4
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00486793
mov esp, ebp
pop ebp
ret
Function at 0x45acc5
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x49d6c3
call fcn.0048bd52
mov edi, ecx
push str.http:
push edi
call fcn.0045e96b
test eax, eax
pop ecx
pop ecx
jne 0x45ad78
push str.www.
push edi
call fcn.0045e96b
test eax, eax
pop ecx
pop ecx
jne 0x45ad78
mov ecx, edi
call fcn.0045a872
test eax, eax
jne 0x45ad08
xor eax, eax
jmp 0x45ad82
push str..exe
call fcn.0045e7e8
xor ebx, ebx
test eax, eax
pop ecx
je 0x45ad4c
lea eax, [ebp - 0x10]
push 0x4b377c
push eax
call fcn.0045f8c4
push edi
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0045aaa0
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 0xc
neg esi
sbb esi, esi
add ecx, 0xfffffff0
neg esi
call fcn.0040174a
cmp esi, ebx
jne 0x45ad7f
mov eax, dword [edi]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call esi
cmp eax, 0x20
jg 0x45ad7f
mov edi, dword [edi]
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call esi
cmp eax, 0x20
jg 0x45ad7f
jmp 0x45ad04
push edi
call fcn.004072fa
pop ecx
xor eax, eax
inc eax
call fcn.0048be2a
ret

Function at 0x45ad88
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a18dc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d4684]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4d4684]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [ebx]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, ebx
call fcn.0045a6d6
or eax, edx
jne 0x45adf0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x45aec4
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
mov esi, ebx
call fcn.00406ae4
lea ecx, [esp + 0x14]
push edi
push ecx
mov esi, eax
mov dword [esp + 0x180], edi
call fcn.00406ae4
add esp, 0x10
mov byte [esp + 0x170], 2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 3
push dword [eax - 0xc]
lea ecx, [esp + 0x10]
call fcn.004017a2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov word [esp + 0x28], 0x454
mov dword [esp + 0x2e], edi
mov dword [esp + 0x32], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x45ae7d
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x45ade8
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.0047d520
test eax, eax
je 0x45ae6c
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x45aeb6
xor edi, edi
inc edi
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00486793
mov esp, ebp
pop ebp
ret
Function at 0x45b8d2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x49d757
call fcn.0048bd52
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 0x45b955
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 0x45b94c
mov ecx, edi
call fcn.00401979
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0048be2a
ret

Function at 0x45b95d
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.00487a76
push esi
mov ebx, eax
push 0
push ebx
call fcn.00486c70
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 0x45b9ba
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 0x45b9c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call fcn.0046c34c
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45ba36
cmp dword [ebp + 0xc], esi
jne 0x45ba13
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x45ba2d
push dword [ebp + 0xc]
call fcn.00486310
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 0x45ba64
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d4684]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor esi, esi
cmp edi, esi
je 0x45bae2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45bae2
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 0x45bae2
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 0x45badc
xor esi, esi
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x45bae5
cmp eax, esi
je 0x45bacf
jmp 0x45bacc
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.00486793
add ebp, 0x18c
leave
ret

Function at 0x45bafb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x49d723
call fcn.0048bd52
xor esi, esi
cmp dword [ebp + 8], esi
je 0x45bbfa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45bbfa
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 0x45bbfa
call fcn.0046c34c
push eax
lea ecx, [ebp + 8]
call fcn.00401764
mov dword [ebp - 4], esi
call fcn.0046c34c
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 0x45bbd7
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 0x45bbfd
cmp edi, esi
je 0x45bbb4
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.0048be2a
ret
Function at 0x45c056
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4d4684]
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 0x45c104
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45c104
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 0x45c109
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 0x45c0ed
cmp esi, edi
jne 0x45c0f9
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.0045c056
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x45c0ac
jmp 0x45c0f9
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 0x45c109
mov esi, 0x3f2
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486793
add ebp, 0x190
leave
ret

Function at 0x45c123
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 0x45c173
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 0x45c16a
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 0x45d9fb
Capabilities:
Resolve dns

Disassembly:
push 0x2c
mov eax, 0x49d6ee
call fcn.0048bdbb
call dword [0x4d599c]
push 0
push str.GR_AddressToLong
push 1
push 1
lea ecx, [ebp - 0x2c]
call fcn.00470341
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x38]
call fcn.00450c99
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00486c70
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 0x45da78
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45da86
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 0x45da93
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor esi, esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00450d21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047038c
mov eax, esi
call fcn.0048be3e
ret
Function at 0x45e195
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x49e305
call fcn.0048bd52
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 0x45e215
lea ebx, [esi + 1]
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f8d2
xor ecx, ecx
mov ch, al
push esi
movzx eax, cx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040f8d2
movzx eax, al
or eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040f8d2
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 0x45e1c9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
call fcn.0048be2a
ret

Function at 0x463826
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d4684]
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 0x4639be
jne 0x463873
cmp dword [ebp - 0x18], 1
jb 0x4639be
jne 0x463873
cmp dword [ebp - 0x14], 0x9c9
jb 0x4639be
xor ebx, ebx
cmp dword [0x4d92b0], ebx
jne 0x46395f
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x4d92b0], eax
je 0x4639be
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x4d92b0]
mov dword [0x4d92b4], eax
call esi
push str.IsAppThemed
push dword [0x4d92b0]
mov dword [0x4d92b8], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x4d92b0]
mov dword [0x4d92bc], eax
call esi
push str.DrawThemeBackground
push dword [0x4d92b0]
mov dword [0x4d92c0], eax
call esi
mov edi, str.DrawThemeText
push edi
push dword [0x4d92b0]
mov dword [0x4d92c4], eax
call esi
push edi
push dword [0x4d92b0]
mov dword [0x4d92c8], eax
call esi
push str.GetThemeSysSize
push dword [0x4d92b0]
mov dword [0x4d92cc], eax
call esi
push str.GetThemeRect
push dword [0x4d92b0]
mov dword [0x4d92d0], eax
call esi
push str.GetThemePartSize
push dword [0x4d92b0]
mov dword [0x4d92d4], eax
call esi
push str.SetWindowTheme
push dword [0x4d92b0]
mov dword [0x4d92d8], eax
call esi
mov dword [0x4d92dc], eax
pop edi
mov esi, dword [0x4d9428]
call fcn.004701ac
mov eax, dword [eax + 4]
push 1
push str.DoXPThemes
push esi
mov ecx, eax
call fcn.0046f5f5
cmp dword [0x4d92b4], ebx
mov dword [0x4d5e70], eax
je 0x4639be
cmp dword [0x4d92b8], ebx
je 0x4639be
cmp dword [0x4d92bc], ebx
je 0x4639be
cmp dword [0x4d92c0], ebx
je 0x4639be
cmp dword [0x4d92c4], ebx
je 0x4639be
cmp dword [0x4d92c8], ebx
je 0x4639be
cmp dword [0x4d92d8], ebx
je 0x4639be
xor eax, eax
inc eax
jmp 0x4639c0
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00486793
add ebp, 0x78
leave
ret
Function at 0x466e68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x49bd83
call fcn.0048bd85
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.004701ac
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x466eb3
call fcn.004701ac
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 0x466ec4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x466ed1
or eax, 0xffffffff
jmp 0x46702d
mov ecx, esi
call fcn.004669ba
mov dword [ebp - 0x14], eax
call fcn.004697f2
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x466f4f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x466f4f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x466f4f
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00466849
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x466f4f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x466f4f
mov ecx, ebx
call fcn.0046cc4c
test eax, eax
je 0x466f4f
push 0
mov ecx, ebx
call fcn.0046cc67
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0046b1b7
push dword [ebp - 0x14]
call fcn.0046974a
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00466c70
xor edi, edi
cmp eax, edi
je 0x466fac
test byte [esi + 0x3c], 0x10
je 0x466f96
push 4
pop edi
mov ecx, esi
call fcn.0046cb09
test ax, 0x100
je 0x466f8c
push 5
pop edi
push edi
mov ecx, esi
call fcn.00469312
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x466fac
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046ce36
or dword [ebp - 4], 0xffffffff
jmp 0x466fd7
cmp dword [ebp - 0x28], edi
je 0x466fe5
push 1
mov ecx, ebx
call fcn.0046cc67
cmp dword [ebp - 0x2c], edi
je 0x466ff5
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x46700e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x46700e
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.004669f4
cmp dword [esi + 0x58], edi
je 0x46702a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0048be2a
ret
Function at 0x46a787
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x46a7c0
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.004665ee
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 0x46c2e7
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 0x46c32a
call fcn.004701ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46c32a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46c345
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046be9e
test ebx, ebx
mov esi, eax
je 0x46c343
test edi, edi
je 0x46c343
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46da14
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 0x46da2c
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 0x46dad4
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 0x46de16
Capabilities:
Resolve dns

Disassembly:
push 0x18
mov eax, 0x49bfbc
call fcn.0048bdbb
mov esi, dword [ebp + 8]
mov ebx, ecx
call dword [0x4d599c]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x46de56
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.004040b0
xor eax, eax
call fcn.0048be3e
ret 8
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00486c70
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 0x46de8f
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x46dead
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 0x46deb8
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [ebp - 0x24]
call fcn.004040b0
mov eax, edi
jmp 0x46de4e