joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434420
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581564
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CReader_UpdateChecking.0
mov dword [ebp - 4], 2
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x43448f
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x43448f
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x98], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xa4]
call fcn.00458b32
mov byte [ebp - 4], 0
lea ecx, [esi + 0x94]
call fcn.0056bf07
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004113d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4361b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x404]
push eax
push ecx
xor esi, esi
call fcn.00436120
mov ecx, dword [ebp + 0xc]
add esp, 8
test ecx, ecx
je 0x4361fd
mov eax, dword [ebp + 8]
push edi
movzx edi, byte [eax]
mov edx, esi
shr edx, 0x18
xor edx, edi
shl esi, 8
xor esi, dword [ebp + edx*4 - 0x404]
inc eax
dec ecx
jne 0x4361e4
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00546bde
mov esp, ebp
pop ebp
ret
Function at 0x437080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581c32
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x118], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4370d6
add eax, 0xc
jmp 0x4370db
mov eax, 0x616ba8
lea edx, [ebp - 0x124]
push edx
mov ebx, 1
push ebx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437152
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x120], 0x104
test eax, eax
je 0x437112
add eax, 0xc
jmp 0x437117
mov eax, 0x616ba8
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437152
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.0056cdab
jmp 0x437160
push 0xffffffffffffffff
push 0x616ba8
mov ecx, esi
call fcn.0056cdab
mov dword [ebp - 0x118], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.0056bf07
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0056bf07
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret

Function at 0x4371a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4371cc
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4371d5
mov ecx, dword [ebp + 0x10]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp - 4]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581d28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x9c], 0
jne 0x437850
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0056cfe9
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0056d3fd
push 0x59a544
lea ecx, [ebp - 0x10]
call fcn.0056db58
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43780e
add eax, 0xc
jmp 0x437813
mov eax, 0x616ba8
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43783a
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x43783a
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x9c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0056bf07
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push ecx
push eax
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x43790e
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x114]
push edx
push edi
push edi
push eax
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x108]
mov edx, esi
mov ecx, eax
sub edx, ecx
jmp 0x4378f0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4378f0
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00546bde
mov esp, ebp
pop ebp
ret
Function at 0x438d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582199
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
mov esi, dword [ebp + 8]
push 0x5951e6
mov ecx, esi
call fcn.00405fb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438e70
mov edx, dword [ebp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edx
push eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x438e66
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
call fcn.004438a2
mov edx, dword [ebp + 0xc]
inc edx
push edx
mov esi, eax
push ebx
push esi
call fcn.00546d60
mov edx, dword [ebp + 0x14]
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edx
push eax
call edi
test eax, eax
jne 0x438e5a
mov ecx, dword [ebp + 8]
push esi
call fcn.00404ea0
push esi
call fcn.00443897
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438e93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438eb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43bc10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582978
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00444998
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43bc50
push 0x80004005
call fcn.00403760
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43bc8a
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00404070
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00546f08
add esp, 8
test eax, eax
js 0x43bd65
cmp eax, dword [esi - 8]
jg 0x43bd65
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov dword [ebp - 0x10], ecx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
call fcn.00406440
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43bd05
mov edx, dword [ebp - 0x10]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bd32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bd55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403760
int3
Function at 0x43fe80
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push 0
push 0x616ba8
push 0x616ba8
push 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x30d74], eax
test eax, eax
jne 0x43febb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push 0x4c00000
push 3
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x30d78], eax
test eax, eax
jne 0x43ff05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov eax, dword [esi + 0x30d74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret 0x14
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x43ff3e
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x30d78]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x30d80], eax
call edi
mov edx, dword [esi + 0x30d74]
push edx
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14
mov eax, 1
pop esi
pop ebp
ret 0x14

Function at 0x440040
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x30d7c], 0
jne 0x440062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 0
push ebx
call fcn.00546d60
mov eax, dword [esi + 0x30d7c]
add esp, 0xc
push 0x64b9b8
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
pop ebx
test eax, eax
je 0x44004f
mov eax, dword [0x64b9b8]
pop esi
pop ebp
ret 8
Function at 0x4401f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
mov dword [ebp - 4], 0x400
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440205
sub eax, edx
sar eax, 1
mov esi, eax
je 0x44023b
push edi
lea edi, [ebx + esi*2]
lea esp, [esp]
push 1
push 0x59870c
push edi
call fcn.0054a744
add esp, 0xc
test eax, eax
je 0x44023a
sub edi, 2
dec esi
jne 0x440220
pop edi
lea eax, [ebp + 8]
push eax
push 1
push 0
lea ecx, [ebx + esi*2]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
pop ebx
test eax, eax
jne 0x44029f
lea edx, [ebp - 4]
push edx
push 0x64b9c0
push eax
push eax
mov eax, dword [ebp + 8]
push str.Content_Type
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44028a
push 0x18
push str.application_octet_stream
push 0x64b9c0
call fcn.005472ec
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x64b9c0
mov esp, ebp
pop ebp
ret 4
push 0x18
push str.application_octet_stream
push 0x64b9c0
call fcn.005472ec
add esp, 0xc
mov eax, 0x64b9c0
mov esp, ebp
pop ebp
ret 4

Function at 0x4405f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ecx + 4]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp ebx, dword [ecx + 8]
jae 0x44065d
push esi
mov eax, dword [ebx + 0xa00]
dec eax
je 0x44064b
dec eax
jne 0x440651
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocStringLen
lea eax, [ebx + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea edi, [edi + eax + 0x1800]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
jmp 0x440651
add edi, 0x2000
add ebx, 0xa04
cmp ebx, dword [ecx + 8]
jb 0x440604
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4409b0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea eax, [ebp - 0x808]
push eax
mov esi, ecx
mov dword [ebp - 0x810], 0x59c474
mov dword [ebp - 0x808], 0
call fcn.00440670
mov edx, dword [esi + 0x30d78]
push 0
push 0x4c80040
lea ecx, [ebp - 0x810]
push ecx
push 0x616ba8
push str.HTTP_1.0
push edi
push str.POST
push edx
mov ebx, eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x30d7c], eax
test eax, eax
jne 0x440a48
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [esi + 0x30d80], eax
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push SysReAllocStringLen
push 0xd
push 0x59c20c
push eax
call edi
test eax, eax
je 0x440a27
mov eax, dword [esi + 0x30d7c]
push 0x10000000
push 0x4e
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push eax
call edi
test eax, eax
je 0x440a27
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x802]
push edx
mov word [ebp - 0x804], cx
call fcn.00546d60
push ebx
lea eax, [ebp - 0x804]
push str.Content_Length:__lu_r_n
push eax
call fcn.0054a77d
lea eax, [ebp - 0x804]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440ab3
sub eax, edx
mov edx, dword [esi + 0x30d7c]
push 0x10000000
sar eax, 1
push eax
lea ecx, [ebp - 0x804]
push ecx
push edx
call edi
test eax, eax
je 0x440a27
mov ecx, dword [esi + 0x30d7c]
xor eax, eax
xor edi, edi
push edi
push 8
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
push edi
lea eax, [ebp - 0x838]
push eax
push ecx
mov dword [ebp - 0x838], 0x28
mov dword [ebp - 0x834], edi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x440a27
mov eax, dword [ebp - 0x808]
mov ecx, dword [esi + 0x30d7c]
lea edx, [ebp - 0x80c]
push edx
push ebx
push eax
push ecx
mov dword [ebp - 0x80c], edi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x440a27
mov edx, dword [esi + 0x30d7c]
push edi
push 8
push edi
push edx
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x440a27
lea eax, [ebp - 0x808]
push eax
mov ecx, esi
call fcn.004401d0
mov ecx, dword [ebp - 4]
lea eax, [edi + 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4
Function at 0x440c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583546
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6459b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.GenericHTTPClient.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
mov byte [ebp - 4], 1
push 0x186a0
lea eax, [esi + 0x31]
push ebx
push eax
mov dword [esi + 0x30d7c], ebx
mov dword [esi + 0x30d78], ebx
mov dword [esi + 0x30d74], ebx
mov byte [esi + 0x30], bl
call fcn.00546d60
push 0x186a0
lea ecx, [esi + 0x186d1]
push ebx
push ecx
call fcn.00546d60
add esp, 0x18
mov dword [esi + 0x30d80], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4411f0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583630
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6459b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
cmp byte [esi + 0x30], bl
jne 0x441271
lea eax, [ebp - 0x48]
push eax
call fcn.00440d70
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x441262
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00443897
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jmp 0x441280
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405b60
mov eax, dword [esi + 0x30d78]
push ebx
push 0x4c80040
push ebx
push 0x616ba8
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x30d7c], eax
cmp eax, ebx
jne 0x4412d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4412d3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00443897
add esp, 4
xor eax, eax
jmp 0x441347
push SysReAllocStringLen
push 0xd
push 0x59c20c
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4412fc
call edi
mov dword [esi + 0x30d80], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x441308
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [esi + 0x30d7c]
push 0x31
push 0x59c4d0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x441329
call edi
jmp 0x4412b4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x441342
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00443897
add esp, 4
mov eax, 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00546bde
mov esp, ebp
pop ebp
ret 4

Function at 0x44ebd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44ec20
call fcn.00451ba4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44ec20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44ec3c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044e6d9
mov esi, eax
test edi, edi
je 0x44ec3a
test ebx, ebx
je 0x44ec3a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44ff72
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x583fb9
call fcn.0054a85b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x44ff97
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44ffe9
call fcn.00444998
push eax
lea ecx, [ebp - 0x10]
call fcn.00443ea8
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0054a965
push eax
call fcn.004036d0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004038d0
mov eax, esi
call fcn.0054a933
ret 8

Function at 0x45069d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00450341
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4506e7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00444899
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0044486a
jmp 0x4506f2
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045e540
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4506f8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0044f81b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x450735
call fcn.00450341
mov dword [esi + 0xc], 1
jmp 0x45073a
call fcn.00450341
cmp dword [esi], 0
je 0x450783
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45075b
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00444899
jmp 0x45076d
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0044405c
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0044486a
jmp 0x4507a7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4507a7
push dword [esi]
push dword [ebp + 8]
call fcn.0045e540
pop esi
pop ebp
ret 0xc