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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x409525
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x409525
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4094e4
mov eax, dword [esi + 0x28]
push 1
push eax
jmp 0x409501
mov eax, dword [esi + 0x28]
test eax, eax
je 0x409507
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x409507
mov ecx, dword [esi + 0x28]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi], 0
mov eax, 1
pop esi
ret

Function at 0x409640
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
test eax, eax
push ebp
mov dword [esp + 8], 0
je 0x409731
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x409731
mov ebx, dword [esp + 0x14]
test bx, bx
je 0x409731
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x409728
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push 0x7d0
push 2
push esi
call edi
push 4
push 0x7d0
push 5
push esi
call edi
push 4
push 0x7d0
push 6
push esi
call edi
mov eax, dword [esp + 0x18]
push 0
push 0
push 3
push 0x415a8c
push 0x415a8c
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0
push 0x4000000
push 0
push 0
push 0
mov ebx, eax
push ebp
push 0x414040
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x40971d
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40971a
mov dword [esp + 0x10], 1
push edi
call ebp
test ebx, ebx
pop edi
je 0x409725
push ebx
call ebp
push esi
call ebp
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x40a660
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40a6c0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x40a681
pop esi
ret
lea eax, [esi + 4]
mov dword [esi + 0x34], 1
push eax
push 0
push esi
push 0x40a760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x40a6ba
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], 0
xor eax, eax
pop esi
ret
inc dword [0x415c58]
mov eax, 1
pop esi
ret
Function at 0x40a6d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40a736
mov eax, dword [esi + 0x30]
test eax, eax
je 0x40a736
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40a6f4
mov eax, dword [esi + 0x2c]
push 1
push eax
jmp 0x40a711
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40a717
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40a717
mov ecx, dword [esi + 0x2c]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 4], 0
mov eax, 1
pop esi
ret

Function at 0x40a850
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
test eax, eax
push ebp
mov dword [esp + 8], 0
je 0x40a941
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x40a941
mov ebx, dword [esp + 0x14]
test bx, bx
je 0x40a941
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x40a938
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push 0x7d0
push 2
push esi
call edi
push 4
push 0x7d0
push 5
push esi
call edi
push 4
push 0x7d0
push 6
push esi
call edi
mov eax, dword [esp + 0x18]
push 0
push 0
push 3
push 0x415a8c
push 0x415a8c
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0
push 0x4000000
push 0
push 0
push 0
mov ebx, eax
push ebp
push 0x414040
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x40a92d
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40a92a
mov dword [esp + 0x10], 1
push edi
call ebp
test ebx, ebx
pop edi
je 0x40a935
push ebx
call ebp
push esi
call ebp
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x40ab60
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40ac60
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40ac60
push ebp
push edi
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x280
call edi
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ebp
push eax
push ebp
mov dword [esp + 0x20], 0x280
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40abc3
push ebp
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x1c]
push ecx
call edi
add esp, 8
mov dword [esp + 0x10], eax
mov ebp, eax
lea edx, [esp + 0x18]
push edx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x40ac48
test ebp, ebp
mov dword [esp + 0xc], eax
je 0x40ac48
push ebx
mov eax, dword [ebp + 0x190]
xor ebx, ebx
test eax, eax
jbe 0x40ac3c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add eax, 0xfffffffe
cmp ecx, eax
jae 0x40ac3c
xor ecx, ecx
mov cl, byte [ebx + ebp + 0x194]
push ecx
push str._02x
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov edi, esi
not ecx
dec ecx
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x190]
mov dword [esp + 0x10], edx
not ecx
dec ecx
add esi, ecx
inc ebx
cmp ebx, eax
jb 0x40abe7
mov ebp, dword [ebp]
test ebp, ebp
jne 0x40abdb
mov ebp, dword [esp + 0x14]
pop ebx
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop ebp
pop esi
add esp, 8
ret 8
xor eax, eax
pop esi
add esp, 8
ret 8
Function at 0x40aca0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x11c
push ebp
mov ebp, dword [esp + 0x124]
test ebp, ebp
jne 0x40acc1
mov eax, 0x80070057
pop ebp
add esp, 0x11c
ret 8
cmp dword [esp + 0x128], 0xa
jae 0x40acda
mov eax, 0x80070057
pop ebp
add esp, 0x11c
ret 8
mov eax, dword [0x415460]
push edi
mov dword [esp + 0x20], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push 0x104
push ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40ada4
xor edx, edx
lea eax, [esp + 0xc]
mov dword [esp + 0xd], edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x11], edx
mov byte [esp + 0xc], 0
mov dword [esp + 0x15], edx
mov dword [esp + 0x19], edx
mov word [esp + 0x1d], dx
push edx
push edx
push edx
push eax
push ecx
mov byte [esp + 0x33], dl
call dword [sym.imp.MSVCRT.dll__splitpath]
lea edx, [esp + 0x20]
add esp, 0x14
test edx, edx
je 0x40ada4
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41545c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
pop edi
je 0x40adde
mov edx, dword [esp + 4]
push edx
push 0x415458
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, 1
neg eax
sbb eax, eax
pop ebp
and eax, 0x7fffbffb
add eax, 0x80004005
add esp, 0x11c
ret 8
Function at 0x40b190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.0040ae50
test eax, eax
jne 0x40b1d2
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 0x20019
push edi
push ecx
push edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 4
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x40b210
lea eax, [ebp - 0x1c]
push 0x411e50
push eax
mov dword [ebp - 0x1c], edi
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x40b24d
lea edx, [ebp - 0x24]
push 0x411e50
push edx
mov dword [ebp - 0x24], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x40b248
ret
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40b25b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.0040ae50
test eax, eax
jne 0x40b2b2
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
xor edi, edi
push eax
mov eax, dword [esi]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push edx
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x40b2f3
lea ecx, [ebp - 0x20]
push 0x411e50
push ecx
mov dword [ebp - 0x20], edi
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push 4
push edx
push 3
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x40b32f
lea edx, [ebp - 0x24]
push 0x411e50
push edx
mov dword [ebp - 0x24], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x40b32a
ret
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40b33d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f1a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.0040ae50
test eax, eax
jne 0x40b3a2
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 0x20019
push edi
push ecx
push edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 8
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x40b3e0
lea eax, [ebp - 0x1c]
push 0x411e50
push eax
mov dword [ebp - 0x1c], edi
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x40b41d
lea edx, [ebp - 0x24]
push 0x411e50
push edx
mov dword [ebp - 0x24], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x40b418
ret
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40b42b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.0040ae50
test eax, eax
jne 0x40b482
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
xor edi, edi
push eax
mov eax, dword [esi]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push edx
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x40b4c3
lea ecx, [ebp - 0x20]
push 0x411e50
push ecx
mov dword [ebp - 0x20], edi
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push 8
push edx
push 3
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x40b4ff
lea edx, [ebp - 0x24]
push 0x411e50
push edx
mov dword [ebp - 0x24], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x40b4fa
ret
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40b50d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40be30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jl 0x40be95
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x110]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x104
ret
lea eax, [esp + 8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
mov edi, str.Application_Data
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x110]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x104
ret

Function at 0x40bf10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40bf2a
test al, 0x10
jne 0x40bf2a
mov eax, 1
ret
xor eax, eax
ret

Function at 0x40c420
Capabilities:
Get file version info

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x40c4de
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x40c4de
mov ecx, dword [esp + 0x28]
mov dword [ebx], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x40c4de
lea edx, [esi + esi]
push edx
call sub.MFC42u.DLL_operatornew
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x40c4de
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push ebp
push esi
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40c4d5
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0x414b6c
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c4d5
cmp dword [esp + 0x14], edi
jbe 0x40c4c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
jmp 0x40c4c8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [ebx], eax
mov edi, 1
mov dword [edx], ecx
push ebp
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x40c8a0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0
push 0
push 0
push 0x40c900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x40c8c2
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [0x415c84]
test eax, eax
jne 0x40c8e6
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push esi
call edi
cmp eax, 0x102
jne 0x40c8bd
mov eax, dword [0x415c84]
test eax, eax
je 0x40c8d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret

Function at 0x40cad0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
test eax, eax
push ebp
mov dword [esp + 8], 0
je 0x40cbc1
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x40cbc1
mov ebx, dword [esp + 0x14]
test bx, bx
je 0x40cbc1
push esi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x40cbb8
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push 0x3e8
push 2
push esi
call edi
push 4
push 0x3e8
push 5
push esi
call edi
push 4
push 0x3e8
push 6
push esi
call edi
mov eax, dword [esp + 0x18]
push 0
push 0
push 3
push 0x415a8c
push 0x415a8c
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0
push 0x4040000
push 0
push 0
push 0
mov ebx, eax
push ebp
push 0x414040
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x40cbad
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40cbaa
mov dword [esp + 0x10], 1
push edi
call ebp
test ebx, ebx
pop edi
je 0x40cbb5
push ebx
call ebp
push esi
call ebp
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x5c3f63
Capabilities:
Check for trap flag exception

Disassembly:
lea esp, [esp + 4]
jmp 0x5aedbb

Function at 0x5e0a86
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
jmp 0x5e0ad3
call 0x5e0a0a
dec dword [esp + 8]
mov al, byte [edx]
call fcn.005e0a52
or edx, dword [esi + 0x589e6304]
cmpsd dword [esi], dword es:[edi]
or ebx, dword [ebx + 0x2e8c0dfe]
cmp dword [eax], ebx
lea esp, [esp + 4]
inc ecx
jmp 0x5e0b9a
lea edi, [ecx + ebx]
lea edi, [ecx + 0xd3]
lea edi, [ecx + edx]
mov edi, 0x65e027e0
mov edi, dword [esp]
call fcn.005e0afd
inc ecx
rol dword [ebx + 0x26], cl
aad 0x11
fst dword [edx + ecx*8 - 0x53]
pop esp
loop 0x5e0b10
ret
lea esp, [esp + 4]
dec dword [esp + 8]
lea eax, [ebp - 0xbf]
mov al, ah
mov eax, edi
jmp 0x5e0aa9
mov al, 0x3d
or al, 0x9f
lea esp, [esp + 0x20]
test eax, eax
jne 0x5e0969
je 0x5e0926
inc edx
pushal
mov byte [esp + 0xa], dh
mov word [esp + 0x1c], bx
jmp 0x5e0b14

Function at 0x5e0afd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop word [esp]
call fcn.005e0b59
sti
imul ecx, dword [esi], 0xfffffffd
cmp byte [edi - 0x24], cl
jb 0x5e0b0f
in al, 0x27
test eax, 0x4adae8eb
jmp 0x5e0ae7
fimul dword [edx - 0x28]
mov edi, 0xef78ff4a
jg 0x5e0b23
jmp 0x5e0ae7
jmp 0x965ea143
add byte [eax - 0x7260f3c3], dh
and al, 0x20
invalid

Function at 0x5e1f68
Capabilities:
Enumerate pe sections

Disassembly:
call 0x5e21a9
or al, 0x99
or dword [eax - 0x65], ebp
outsb dx, byte cs:[esi]
cli
push 0x4c39fa0f
fisttp word [edi + 0x2a]
fldenv [edx]
mov dl, 0x54
mov ch, bh
bswap ecx
mov edi, 0x9415664e
jmp 0x5e1f7b
lea edi, [esp + edi]
cmc
jmp 0x5e1f74
lea esp, [esp + 4]
je 0x5e1d60
jne 0x5e1f4f
xor eax, eax
jmp 0x5e1da4
push edi
mov edi, edx
lea edi, [edi + 0x3c]
jmp 0x5e1fa3

Function at 0x5e2168
Capabilities:
Enumerate pe sections

Disassembly:
call fcn.005e25db
sbb dword [edi + 0x4c817217], eax
mov eax, dword [0x38c9ae38]
lea edx, [ebp - 0x166148fc]
lea esp, [esp + 4]
jle 0x5e1d8e
jg 0x5e218a
test dword [edi], eax
xchg edi, eax
add esp, ecx
cmp eax, 0xb8492eb8
or dl, byte [0xc0853784]

Function at 0x5e2546
Capabilities:
Enumerate pe sections

Disassembly:
lea esp, [esp + 1]
push word [esp + 1]
lea esp, [esp + 1]
jmp 0x5e258a

Function at 0x6b60c9
Capabilities:
Check for software breakpoints

Disassembly:
call fcn.006b6002
mov edi, 0x6f3694fc
mov edi, dword [esp + 1]
bswap edi
jmp 0x6b60da
mov edi, 0x9587ba8c
mov dword [esp], ebp
mov edi, dword [esp + 1]
mov dword [esp], ebp
jmp 0x6b6196
jne 0x6b5fbb
pushal
jmp 0x6b5ffd
push word [esp + 3]
lea esp, [esp + 2]
mov edi, dword [esp + 0x52]
lea esp, [esp + 0x60]
cmp dword [esp + 4], 0
jmp 0x6b6168

Function at 0xba7d0a
Capabilities:
Parse pe header

Disassembly:
call fcn.00ba6258
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xba6253
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xba7c1b
push word [esp + 3]
push esp
mov dword [esp + 0x78], edi
lea esp, [esp + 0x78]
mov eax, dword fs:[0x30]
jmp 0xba7c41
push dword [esp + 2]
push dword [esp + 8]
push word [esp + 0xb]
pop dword [esp + 8]
jmp 0xba7c5a
mov byte [esp + 1], ch
push dword [esp]
jmp 0xba7cf2