joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43384f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebx, 2
lea ecx, [esi + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CAudioReceive.0
call fcn.00401180
lea ecx, [esi + 0x154]
mov byte [esp + 0x20], 3
call fcn.0040cfa0
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x20], 4
call fcn.00418130
lea edi, [esi + 0x1f8]
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ebp, [esi + 0x1fc]
mov ecx, ebp
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x208]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esi + 0x21c], ebx
xor eax, eax
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x28]
push ecx
mov dword [esi + 0x1e8], eax
lea ecx, [esi + 0x208]
mov byte [esp + 0x24], 8
mov byte [esi + 0x1f4], bl
mov dword [esi + 0x200], 1
call dword [sym.imp.mfc90.dll_Ordinal_820]
movzx edx, word [esp + 0x30]
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esi + 0x204], edx
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov edx, dword [esp + 0x40]
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x1e4], edx
mov edx, dword [esp + 0x4c]
mov byte [esi + 0x1e0], al
mov dword [esi + 0x218], ebx
mov dword [0x459f68], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x220], ecx
mov dword [esi + 0x224], edx
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x28
Function at 0x401520
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x40161f
mov eax, dword [0x4d9f8c]
test eax, eax
je 0x40154f
push eax
call dword [sym.imp.WINMM.dll_waveOutPause]
mov eax, dword [0x4d9f8c]
push eax
call dword [sym.imp.WINMM.dll_waveOutClose]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esi + 0x150], 1
call edi
mov cl, byte [esi + 0x1f4]
mov ebx, eax
test cl, cl
je 0x401613
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
call edi
sub eax, ebx
cmp eax, 0xbb8
ja 0x4015c7
push 1
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call ebp
test eax, eax
je 0x4015ab
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov dl, byte [esi + 0x1f4]
test dl, dl
jne 0x401577
pop ebp
pop edi
pop ebx
mov dword [esi + 0x218], 0
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x218]
mov ecx, dword [eax + 0x2c]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401612
mov eax, dword [esi + 0x218]
test eax, eax
je 0x4015f9
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi + 0x218]
test eax, eax
je 0x401612
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop ebp
pop edi
mov dword [esi + 0x218], 0
pop ebx
pop esi
add esp, 0x20
ret
Function at 0x4017a0
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4338e9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push str.HTTPCONNECT
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x20c], eax
test eax, eax
je 0x40182c
movzx eax, word [esi + 0x204]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [esi + 0x208]
call dword [sym.imp.mfc90.dll_Ordinal_910]
mov ecx, dword [esi + 0x20c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0x210], eax
test eax, eax
jne 0x401833
mov ecx, esi
call fcn.00401630
xor eax, eax
jmp 0x401993
mov edi, dword [esi + 0x220]
dec edi
neg edi
sbb edi, edi
and edi, 0x3e8
lea ecx, [esp + 0xc]
add edi, 0x7d0
call dword [sym.imp.mfc90.dll_Ordinal_316]
cmp dword [esi + 0x1e4], 1
mov dword [esp + 0x2c], 0
jne 0x4018be
cmp dword [esi + 0x224], 0
jne 0x401896
movzx edx, byte [esi + 0x1e0]
mov eax, dword [esi + 0x1f8]
mov ecx, dword [esi + 0x1fc]
add edx, 0x64
push edx
push edi
push eax
push ecx
push 1
push str._cgi_bin_webapp.cgi_MODE_dID_sPW_sVER_dCHFFFFCID_d
lea edx, [esp + 0x24]
push edx
jmp 0x4018e4
movzx eax, byte [esi + 0x1e0]
mov ecx, dword [esi + 0x1f8]
mov edx, dword [esi + 0x1fc]
add eax, 0x64
push eax
push edi
push ecx
push edx
push 0xa
push str._cgi_bin_webapp.cgi_MODE_dID_sPW_sVER_dCHFFFFCID_d
lea eax, [esp + 0x24]
push eax
jmp 0x4018e4
movzx ecx, byte [esi + 0x1e0]
mov edx, dword [esi + 0x1f8]
mov eax, dword [esi + 0x1fc]
add ecx, 0x64
push ecx
push edi
push edx
push eax
push 3
push str._cgi_bin_webapp.cgi_MODE_dID_sPW_sVER_dCHFFFFCID_d
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
push 0
push 0x84000000
push 0
push 0
push str.HTTP_1.0
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_910]
mov edx, dword [esi + 0x210]
push eax
push 0x4388b8
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x214], eax
test eax, eax
jne 0x401939
mov ecx, esi
call fcn.00401630
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x401993
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x401924
mov edx, dword [esi + 0x214]
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x13
push edx
mov dword [esp + 0x24], 0xa
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_atol]
add esp, 4
lea ecx, [esp + 0xc]
cmp eax, 0xc8
jne 0x40192f
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00429cfe
add esp, 0x24
ret
Function at 0x4022a0
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, 0x2738
call fcn.00429d10
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x2734], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov byte [esi + 0x150], bl
mov al, byte [esi + 0x150]
push edi
xor edi, edi
test al, al
jne 0x4023c1
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov cl, byte [esi + 0x1f4]
test cl, cl
jne 0x4022fd
mov ecx, esi
call fcn.004017a0
test eax, eax
je 0x4023b2
mov eax, dword [esi + 0x214]
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
mov cl, byte [esi + 0x150]
test cl, cl
jne 0x4023c0
cmp dword [esi + 0x218], ebx
je 0x4023c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 0x214]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40239b
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x40239b
push eax
lea eax, [esp + 0x38]
mov byte [esi + 0x1f4], 1
push eax
mov ecx, esi
xor edi, edi
call fcn.00402210
mov cl, byte [esi + 0x150]
test cl, cl
jne 0x4023c0
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4023b2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4023b2
cmp edi, 0xa
jne 0x4023b1
mov ecx, esi
xor edi, edi
call fcn.00401630
mov byte [esi + 0x1f4], bl
jmp 0x4023b2
inc edi
mov dl, byte [esi + 0x150]
test dl, dl
je 0x4022e4
pop ebp
mov byte [esi + 0x1f4], bl
mov eax, dword [0x4d9f8c]
push eax
call dword [sym.imp.WINMM.dll_waveOutPause]
mov ecx, dword [0x4d9f8c]
push ecx
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [esp + 0x2740]
pop edi
pop esi
mov dword [0x4d9f8c], ebx
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00429cfe
add esp, 0x2738
ret
Function at 0x4022bb
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov eax, 0x2738
call fcn.00429d10
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x2734], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov byte [esi + 0x150], bl
mov al, byte [esi + 0x150]
push edi
xor edi, edi
test al, al
jne 0x4023c1
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov cl, byte [esi + 0x1f4]
test cl, cl
jne 0x4022fd
mov ecx, esi
call fcn.004017a0
test eax, eax
je 0x4023b2
mov eax, dword [esi + 0x214]
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
mov cl, byte [esi + 0x150]
test cl, cl
jne 0x4023c0
cmp dword [esi + 0x218], ebx
je 0x4023c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 0x214]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40239b
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x40239b
push eax
lea eax, [esp + 0x38]
mov byte [esi + 0x1f4], 1
push eax
mov ecx, esi
xor edi, edi
call fcn.00402210
mov cl, byte [esi + 0x150]
test cl, cl
jne 0x4023c0
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4023b2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4023b2
cmp edi, 0xa
jne 0x4023b1
mov ecx, esi
xor edi, edi
call fcn.00401630
mov byte [esi + 0x1f4], bl
jmp 0x4023b2
inc edi
mov dl, byte [esi + 0x150]
test dl, dl
je 0x4022e4
pop ebp
mov byte [esi + 0x1f4], bl
mov eax, dword [0x4d9f8c]
push eax
call dword [sym.imp.WINMM.dll_waveOutPause]
mov ecx, dword [0x4d9f8c]
push ecx
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [esp + 0x2740]
pop edi
pop esi
mov dword [0x4d9f8c], ebx
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00429cfe
add esp, 0x2738
ret

Function at 0x4037b0
Capabilities:
Write file on windows

Disassembly:
push eax
mov eax, dword [edx + 0x150]
push ecx
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
ret
Function at 0x40d890
Capabilities:
Get disk size

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1c
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x24
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x28]
shrd ecx, eax, 0x14
shr eax, 0x14
xor edx, edx
cmp eax, edx
ja 0x40d8f5
jb 0x40d8ee
cmp ecx, esi
ja 0x40d8f5
xor al, al
pop esi
add esp, 0x1c
ret
mov al, 1
pop esi
add esp, 0x1c
ret

Function at 0x40d900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43478b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CHttpInterface.0
call dword [sym.imp.mfc90.dll_Ordinal_316]
xor edi, edi
lea ecx, [esi + 0xa8]
mov dword [esp + 0x1c], edi
call fcn.00418130
lea ecx, [esi + 0xc4]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x190]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x194]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esi + 0x198]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push fcn.0040bd80
push fcn.0040c160
push 0x10
push 0xc8
lea eax, [esi + 0x1a0]
push eax
mov byte [esp + 0x30], 5
call fcn.00429ec1
lea ecx, [esi + 0xe24]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1c], 7
mov dword [esi + 0xe44], edi
mov dword [esi + 0xe48], edi
mov dword [esi + 0xe4c], 2
lea eax, [esi + 0x150]
lea ecx, [edi + 0x10]
lea ecx, [ecx]
mov dword [eax - 0xf0], edi
mov dword [eax], edi
mov dword [eax - 0x80], edi
mov dword [eax - 0x40], edi
add eax, 4
sub ecx, 1
jne 0x40d9d0
mov dword [esi + 0x19c], 0xff
mov dword [esi + 0xe28], edi
mov dword [esi + 0xe2c], edi
mov dword [esi + 0xe30], edi
mov dword [esi + 0xe34], edi
mov dword [esi + 0xe38], edi
push 0x288
mov byte [esi + 0xe3c], 1
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 8
cmp eax, edi
je 0x40da38
mov ecx, eax
call fcn.0040a540
jmp 0x40da3a
xor eax, eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc0], 1
mov dword [esi + 0xc8], edi
mov dword [esi + 0xa4], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40db40
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4338e9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push str.HTTPCONNECT
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0xe2c], eax
test eax, eax
je 0x40dbcc
movzx eax, word [esi + 0xe20]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [esi + 0xe24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
mov ecx, dword [esi + 0xe2c]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0xe30], eax
test eax, eax
jne 0x40dbd3
mov ecx, esi
call fcn.0040da70
xor eax, eax
jmp 0x40dd45
mov eax, dword [esi + 0xe4c]
cmp eax, 1
jne 0x40dbe6
mov edi, 0x7d0
push eax
jmp 0x40dbf4
mov edi, 0xbb8
test eax, eax
jne 0x40dbf2
push eax
jmp 0x40dbf4
push 2
mov ecx, dword [esi + 0xa0]
call fcn.0040a5c0
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x2c], 0
cmp eax, 1
jne 0x40dc68
mov eax, dword [esi + 0xe40]
test eax, eax
je 0x40dc46
cmp edi, 0x7d0
je 0x40dc46
cmp dword [esi + 0xe4c], 1
je 0x40dc46
xor edx, edx
cmp eax, 1
setne dl
add edx, 8
mov eax, edx
jmp 0x40dc48
xor eax, eax
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x198]
push ecx
mov ecx, dword [esi + 4]
push edi
push edx
push ecx
push eax
push str._cgi_bin_webapp.cgi_MODE_dID_sPW_sVER_dCH_x
lea edx, [esp + 0x24]
push edx
jmp 0x40dc8c
cmp eax, 2
jne 0x40dc95
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc4]
push edi
push eax
push ecx
push edx
push 2
push str._cgi_bin_webapp.cgi_MODE_dSTARTTIME_sID_sPW_sVER_dCHFFFF
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
push 0
push 0x84000000
push 0
push 0
push str.HTTP_1.0
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_910]
mov ecx, dword [esi + 0xe30]
push eax
push 0x4388b8
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xe34], eax
test eax, eax
jne 0x40dce1
mov ecx, esi
call fcn.0040da70
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x40dd45
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dl, byte [esi + 0xe3c]
test dl, dl
jne 0x40dcd3
test eax, eax
je 0x40dccc
mov edx, dword [esi + 0xe34]
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x13
push edx
mov dword [esp + 0x24], 0xa
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_atol]
add esp, 4
lea ecx, [esp + 0xc]
cmp eax, 0xc8
jne 0x40dcd7
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00429cfe
add esp, 0x24
ret
Function at 0x40e450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4348e3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], 1
cmp bl, 0xc
je 0x40e4c0
cmp bl, 0xd
je 0x40e4c0
cmp dword [esi + 0xe28], 0
jne 0x40e4c0
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 0x14
lea ecx, [esp + 0xc]
call fcn.004189b0
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.0040e110
push eax
lea ecx, [esp + 0x10]
call fcn.00418c40
mov eax, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov eax, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x44], 3
call dword [sym.imp.mfc90.dll_Ordinal_300]
movzx ecx, word [esi + 0xe20]
mov eax, dword [esi + 0xa4]
push ebx
push eax
push ecx
lea ecx, [esi + 0xe24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call fcn.00418c50
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x30], 1
call fcn.00418a20
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 0x14

Function at 0x40e820
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [ecx + 0xe38]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x40e840
Capabilities:
Resume thread

Disassembly:
mov eax, dword [ecx + 0xe38]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x40f980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
xor cl, cl
mov byte [esp], cl
mov byte [eax + 3], cl
movzx ecx, word [esp + 0x2c]
mov edx, ecx
and edx, 0x1f
mov byte [esp + 1], 0x10
mov byte [esp + 2], 0x18
mov byte [esp + 3], 0x20
mov byte [esp + 4], 0x28
mov byte [esp + 5], 0x30
mov byte [esp + 6], 0x38
mov byte [esp + 7], 0x40
mov byte [esp + 8], 0x48
mov byte [esp + 9], 0x50
mov byte [esp + 0xa], 0x58
mov byte [esp + 0xb], 0x60
mov byte [esp + 0xc], 0x68
mov byte [esp + 0xd], 0x70
mov byte [esp + 0xe], 0x78
mov byte [esp + 0xf], 0x80
mov byte [esp + 0x10], 0x88
mov byte [esp + 0x11], 0x90
mov byte [esp + 0x12], 0x98
mov byte [esp + 0x13], 0xa0
mov byte [esp + 0x14], 0xa8
mov byte [esp + 0x15], 0xb0
mov byte [esp + 0x16], 0xb8
mov byte [esp + 0x17], 0xc0
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0xd0
mov byte [esp + 0x1a], 0xd8
mov byte [esp + 0x1b], 0xe0
mov byte [esp + 0x1c], 0xe8
mov byte [esp + 0x1d], 0xf0
mov byte [esp + 0x1e], 0xf8
mov byte [esp + 0x1f], 0xff
movzx edx, byte [esp + edx]
mov byte [eax], dl
mov edx, ecx
shr ecx, 0xa
and ecx, 0x1f
mov cl, byte [esp + ecx]
shr edx, 5
and edx, 0x1f
movzx edx, byte [esp + edx]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x20]
xor ecx, esp
mov byte [eax + 1], dl
call fcn.00429cfe
add esp, 0x24
ret 8

Function at 0x410240
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x459f34]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x14]
push eax
push 0xa
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, str.UDNew3
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410280
sub eax, edx
push eax
lea edx, [esp + 0x18]
push str.UDNew3
push edx
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4102ac
push ebp
push ebx
push edi
push esi
call fcn.004110a0
jmp 0x410319
mov eax, str.UDNew
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4102b4
sub eax, edx
push eax
lea eax, [esp + 0x18]
push str.UDNew
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4102e0
push ebp
push ebx
push edi
push esi
call fcn.00410d40
jmp 0x410319
mov eax, 0x43a140
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4102e8
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push 0x43a140
push ecx
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
push ebp
push ebx
push edi
push esi
test eax, eax
jne 0x410314
call fcn.00410900
jmp 0x410319
call fcn.00410540
mov ecx, dword [esp + 0x30]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00429cfe
add esp, 0x14
ret