joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dd51c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd652
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4f14ec]
mov eax, dword [eax]
call fcn.004866c4
mov eax, dword [ebp - 0x20]
call fcn.0040482c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402804
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4dd630
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402b64
mov eax, dword [ebp - 0x24]
call fcn.0040482c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4dd660
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 8]
shr ebx, 0x10
mov si, word [eax + 8]
and si, 0xffff
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 6], dx
mov di, word [eax + 0xc]
and di, 0xffff
mov eax, dword [ebp - 4]
push eax
movzx eax, bx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
movzx eax, si
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, word [ebp - 6]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
movzx eax, di
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x44]
mov ecx, 3
mov eax, 0x4dd66c
call fcn.00409ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd637
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00402824
ret

Function at 0x4dd968
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040481c
mov eax, dword [ebp - 8]
call fcn.0040481c
xor eax, eax
push ebp
push 0x4dda47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040436c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404404
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c9c5c
jmp 0x4dd9c8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00404634
mov eax, dword [ebp - 0xc]
call fcn.0040462c
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0040462c
cmp ebx, eax
jg 0x4dd9bd
mov eax, dword [ebp - 0xc]
call fcn.0040462c
mov esi, eax
test esi, esi
jle 0x4dda24
mov ebx, 1
mov eax, dword [ebp - 0xc]
mov al, byte [eax + ebx - 1]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
xor al, dl
and eax, 0xff
add eax, 2
lea ecx, [ebp - 0x14]
mov edx, 2
call fcn.004090a8
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00404634
inc ebx
dec esi
jne 0x4dd9f1
lea eax, [ebp - 0x10]
call fcn.0040436c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dda4e
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404390
ret
Function at 0x4dda58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040481c
mov eax, dword [ebp - 8]
call fcn.0040481c
xor eax, eax
push ebp
push 0x4ddc0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040436c
mov eax, dword [ebp - 4]
call fcn.0040462c
and eax, 0x80000001
jns 0x4ddab0
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4ddbda
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404404
jmp 0x4ddad0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00404634
mov eax, dword [ebp - 4]
call fcn.0040462c
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x4ddc18]
fstp xword [ebp - 0x1c]
wait
mov eax, dword [ebp - 0xc]
call fcn.0040462c
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fld xword [ebp - 0x1c]
fcompp
fnstsw ax
sahf
ja 0x4ddac5
mov eax, dword [ebp - 4]
call fcn.0040462c
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x4ddc18]
call fcn.00402c70
mov edi, eax
test edi, edi
jle 0x4ddbbe
mov ebx, 1
mov edx, 0x4ddc1c
lea eax, [ebp - 0x2c]
call fcn.00402d98
lea eax, [ebp - 0x30]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov cl, 2
call fcn.00402d68
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x10]
call fcn.00402d98
lea eax, [ebp - 0x30]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
mov cl, 3
call fcn.00402d68
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x28]
call fcn.004045d0
mov eax, dword [ebp - 0x28]
call fcn.004090d0
mov edx, eax
sub edx, 2
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + ebx - 1]
xor edx, eax
lea eax, [ebp - 0x24]
call fcn.00404554
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.00404634
inc ebx
dec edi
jne 0x4ddb28
lea edx, [ebp - 0x34]
mov eax, dword [esi]
call fcn.004c9c9c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.004043c0
lea eax, [ebp - 0xc]
call fcn.0040436c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddc11
lea eax, [ebp - 0x34]
call fcn.0040436c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404390
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404390
ret
Function at 0x4df52c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4df5d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4df5a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [0x4f14ec]
mov eax, dword [eax]
call fcn.004866c4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409690
lea eax, [ebp - 4]
mov edx, 0x4df5e8
call fcn.00404634
mov eax, dword [ebp - 4]
call fcn.0040482c
push eax
push 0
mov eax, dword [0x4f14ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df5ae
push 0
call sub.kernel32.dll_ExitProcess_1

Function at 0x4e10e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4e1115
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4df5f4
push 0
push 0
call sub.kernel32.dll_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e111f
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e3c4c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3d33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040436c
mov dl, 1
mov eax, dword [0x41969c]
call fcn.00403508
mov dword [ebp - 8], eax
mov dl, 0x20
mov eax, dword [ebp - 8]
call fcn.0041d984
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00404564
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041d7f4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jle 0x4e3cf8
mov ebx, 1
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x10], 0
je 0x4e3cf4
mov eax, dword [ebp - 4]
push dword [eax]
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x14]
push 0x4e3d4c
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.004046ec
inc ebx
dec esi
jne 0x4e3cba
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408bdc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004043c0
lea eax, [ebp - 8]
call fcn.0040e8f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3d3a
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404390
ret
Function at 0x4e5f68
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e6078
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e6050
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0046cab8
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x4e6046
push 0xff
lea eax, [ebp - 0x100]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4e6034
push 0xff
lea eax, [ebp - 0x100]
push eax
push ebx
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4e6034
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00409a08
mov eax, dword [ebp - 0x104]
mov edx, 0x4e6090
call fcn.00404778
je 0x4e602b
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x100]
call fcn.00409a08
mov eax, dword [ebp - 0x108]
mov edx, 0x4e60a8
call fcn.00404778
jne 0x4e6034
mov edx, ebx
mov eax, esi
call fcn.004e5e3c
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x4e5fb9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e605a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e607f
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00404390
ret

Function at 0x4e8518
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov ebx, edx
xor eax, eax
push ebp
push 0x4e8576
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 6
mov eax, dword [0x4f3380]
call fcn.0046cab8
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004045dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e8580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403230
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x440364
push 1
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40327f
push 0x440350
push 0
mov bl, 1
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40327f
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x40328a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
pop edi
pop esi
sete al
pop ebx
ret

Function at 0x403690
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x290
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2a0]
test ebp, ebp
push edi
jle 0x4036b6
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x403726
lea ecx, [esp + 0x10]
push 0x100
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
je 0x403726
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x403720
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x403705
mov dword [esi], ecx
inc ebx
add esi, 4
cmp ebx, ebp
jge 0x403720
mov ecx, dword [eax + 0xc]
movsx edi, word [eax + 0xa]
mov ecx, dword [ecx + edx]
add ecx, edi
mov edi, dword [eax]
cmp ecx, edi
jae 0x403720
add edx, 4
jmp 0x4036f3
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret

Function at 0x403940
Capabilities:
Get routing table

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x14], 0
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x403978
push str.No_error_n
call fcn.00411802
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
cmp eax, 0x7a
jne 0x403998
mov edx, dword [esp + 8]
push edx
call fcn.004113bf
add esp, 4
lea ecx, [esp + 8]
mov dword [edi], eax
push esi
push ecx
push eax
call sub.iphlpapi.dll_GetIpForwardTable
pop edi
pop esi
pop ecx
ret
Function at 0x403ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403b0b
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
lea eax, [esp + 8]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403b4a
test esi, esi
je 0x403b43
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
test esi, esi
je 0x403b55
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x407040
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40707c
xor eax, eax
pop esi
pop ecx
ret 0x10
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push esi
mov esi, dword [esp + 0xc]
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4070b4
test esi, esi
je 0x4070ad
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret 0x10
test esi, esi
je 0x4070bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret 0x10

Function at 0x4070d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x431d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 4]
mov dword [esp + 0x78], 0
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40716b
mov esi, dword [esp + 4]
mov dword [esp + 0x84], eax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x88]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x98], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40717f
test esi, esi
je 0x40716b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x90]
call fcn.00422a87
test esi, esi
je 0x40719b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x70]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10

Function at 0x408510
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push esi
push edi
push eax
mov edi, ecx
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4085c0
mov ax, word [esp + 0x18]
cmp al, 2
jne 0x4085c0
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x4085c0
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
push 0x43
mov esi, eax
mov dword [esp + 0x10], 0
mov word [esp + 0xc], 2
call dword [sym.imp.WSOCK32.dll_ntohs]
cmp esi, 0xffffffff
mov word [esp + 0xa], ax
je 0x4085c0
lea edx, [esp + 8]
push 0x10
push edx
push esi
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x4085b9
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov eax, dword [edi + 0x1c]
push 0x441140
push 3
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x1a0
ret
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
xor eax, eax
pop esi
add esp, 0x1a0
ret
Function at 0x420d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004115b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x420e3b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x420e3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x420dee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x420df9
or bh, 8
and edi, 0x8000000
je 0x420e14
mov eax, dword [0x4495bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x420e3b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42123b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42125f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42127a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x425584
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4255c6
call fcn.0042e7d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4255c6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4255bd
xor eax, eax
jmp 0x4255ce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004255d4
pop edi
pop esi
pop ebx
ret 4

Function at 0x426737
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x426759
cmp dword [edi + 0x3c], 0
jne 0x426759
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0042e7d1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00426786
pop edi
pop esi
pop ebx
ret 8

Function at 0x4267d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0042e7d1
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426805
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00426818
pop edi
pop esi
pop ebx
ret 8

Function at 0x42c9f3
Capabilities:
Create http request

Disassembly:
mov eax, 0x432480
call fcn.004123f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42ca2b
call fcn.0042e7d1
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42ca50
push eax
push dword [esi + 4]
call fcn.0042d6b8
jmp 0x42ca5c
push esi
push eax
mov ecx, 0x4478e8
call fcn.0042ca6d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18