joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477120
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x477153
push esi
call fcn.0047a210
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47714c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4771d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4771c2
mov eax, dword [esi + 8]
test eax, eax
je 0x477177
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4771be
cmp eax, 2
je 0x4771c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47716a
cmp eax, 3
je 0x47719d
cmp eax, 1
jne 0x47716a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47716a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47716a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00477200
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4771e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00477200
add esp, 4
pop esi
ret

Function at 0x482d70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x482e13
test eax, eax
jbe 0x482e13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x482e13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x482dbe
xor esi, esi
jmp 0x482dc4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x482def
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00484d20
add esi, eax
push esi
mov ebx, esi
call fcn.00484d20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x482dd0
pop ebp
test edi, edi
pop edi
jne 0x482e13
test ebx, ebx
je 0x482e13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00493220
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x482f55
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48306d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48306d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a4c60
mov esi, eax
test esi, esi
je 0x48306d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48306d
mov ecx, esi
call fcn.00482ec0
cmp edi, eax
jge 0x48306d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x482ff3
mov dword [esp + 0x34], 1
jmp 0x48304e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48306d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00482460
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4866a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x486706
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x486706
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4866e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x486a90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x486ac8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x487750
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x487799
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x487c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b3f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004877c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00487840
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00487840
lea ecx, [esi + 0xc]
call fcn.004a319f
lea ecx, [esi + 0x10]
call fcn.004a319f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00488dd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00488dd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00488dd0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a3214
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a3214
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a5604
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a563c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a36bb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a3693
jmp 0x4a5648
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a6cf5
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 0x4a6d37
call fcn.004acc9c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a6d37
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a6d2e
xor eax, eax
jmp 0x4a6d3f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a6d45
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ad1cc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ad1fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ad218
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ad132
jmp 0x4ad218
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ad218
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ad132
test edi, edi
mov eax, edi
jne 0x4ad202
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x44
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x40117b
cmp dword [esp], 2
jne 0x401173
mov edx, dword [eax + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401037
sub eax, esi
sar eax, 1
push eax
push edx
push 0x104
push 0x4066b8
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
push 1
push 0x4066b8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [esp + 0x24], 0xffffffff
jne 0x40107c
push 3
call dword [sym.imp.MSVCR90.dll_exit]
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x406458
push 0x67
push esi
call edi
push 0x64
push 0x406988
push 0x6d
push esi
call edi
push 0x64
push 0x406a50
push 0x68
push esi
call edi
push 0x64
push 0x406388
push 0x69
push esi
call edi
push 0x64
push 0x4068c0
push 0x6b
push esi
call edi
push 0x64
push 0x406520
push 0x6a
push esi
call edi
push 0x64
push 0x4065e8
push 0x6c
push esi
call edi
push 0x64
push 0x406b20
push 0x6e
push esi
call edi
mov eax, esi
call fcn.00401190
mov eax, esi
call fcn.00401220
test eax, eax
jne 0x401101
pop edi
pop esi
add esp, 0x44
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov esi, eax
call edi
test eax, eax
je 0x401167
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x401154
lea edx, [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x401131
pop ebp
pop ebx
mov eax, dword [esp + 0x14]
pop edi
pop esi
add esp, 0x44
ret 0x10
push 1
call dword [sym.imp.MSVCR90.dll_exit]
push 2
call dword [sym.imp.MSVCR90.dll_exit]
int3
Function at 0x401220
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
push 0
push 0
push 0xcd
push 0x1b8
push 0x80000000
push 0x80000000
push 0xca0000
push 0x406458
push 0x406988
push 0
mov dword [0x406454], edi
call ebx
mov esi, eax
test esi, esi
jne 0x40126b
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push 0
push edi
push 0
push esi
push 0x19
push 0x190
push 5
push 0xa
push 0x50000000
push 0x406a50
push str.STATIC
push 0
call ebx
push 0
push edi
push 1
push esi
push 0x14
push 0x19a
push 0x1e
push 0xa
push 0x50000000
push 0x406388
push str.STATIC
push 0
mov ebp, eax
call ebx
push 0
push edi
push 2
push esi
push 0x5a
push 0x19a
push 0x32
push 0xa
push 0x50a10004
push 0x404248
push str.EDIT
push 0
mov dword [esp + 0x40], eax
call ebx
push 0
push edi
push 3
push esi
push 0x14
push 0x28
push 0x96
push 0xa
push 0x50000000
push str.__300__
push str.STATIC
push 0
mov dword [0x4066b0], eax
call ebx
push 0
push edi
push 4
push esi
push 0x14
push 0x4b
push 0x96
push 0xc8
push 0x50010000
push 0x4068c0
push str.BUTTON
push 0
mov dword [0x4066b4], eax
call ebx
push 0
push edi
push 5
push esi
push 0x14
push 0x87
push 0x96
push 0x11d
push 0x50010000
mov dword [0x406450], eax
push 0x406520
push str.BUTTON
push 0
call ebx
push str.Microsoft_Sans_Serif
push 0x30
push 0
mov edi, dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0xa
push 0x18
mov dword [0x406b18], eax
call edi
push str.Microsoft_Sans_Serif
push 0x30
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 5
push 0xe
mov ebx, eax
call edi
push 1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push ebp
mov edi, eax
call ebx
mov eax, dword [esp + 0x10]
push 1
push edi
push 0x30
push eax
call ebx
mov ecx, dword [0x406450]
push 1
push edi
push 0x30
push ecx
call ebx
mov edx, dword [0x406b18]
push 1
push edi
push 0x30
push edx
call ebx
mov eax, dword [0x4066b4]
push 1
push edi
push 0x30
push eax
call ebx
mov ecx, dword [0x4066b0]
push 1
push edi
push 0x30
push ecx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 6
push esi
call edi
push 9
push esi
call edi
mov edx, dword [0x4066b0]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x401d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x20c]
push esi
mov esi, ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esi + 0x18], 0x10
mov dword [esp + 4], 0x200
jb 0x401daa
mov esi, dword [esi + 4]
jmp 0x401dad
add esi, 4
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x401dd6
lea edx, [esp + 8]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0x208]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004028a0
add esp, 0x208
ret

Function at 0x401df0
Capabilities:
Send data

Disassembly:
sub esp, 0x440
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [esp + 0x448]
push ebp
mov ebp, dword [esp + 0x448]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0x28
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x401e70
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004028a0
add esp, 0x440
ret
mov esi, 1
mov dword [esp + 0xc], edi
shr ebp, 0xa
lea esp, [esp]
test esi, esi
je 0x401e56
mov esi, dword [esp + 0x450]
sub esi, edi
cmp esi, 0x400
jb 0x401e9a
mov esi, 0x400
push 0x400
lea edx, [esp + 0x44]
push 0
push edx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
push esi
lea ecx, [edi + eax]
push ecx
lea edx, [esp + 0x54]
push 0x400
push edx
call dword [sym.imp.MSVCR90.dll_memcpy_s]
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x48]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov esi, eax
test esi, esi
jne 0x401ee5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0xc]
inc eax
add edi, 0x400
mov dword [esp + 0xc], eax
cmp eax, ebp
jbe 0x401e80
test esi, esi
je 0x401e56
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
mov ecx, dword [esp + 0x444]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
neg eax
call fcn.004028a0
add esp, 0x440
ret

Function at 0x4028a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406004]
jne 0x4028aa
repz ret
jmp fcn.00402bd0
Function at 0x4010ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010c3
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4010d5
xor eax, eax
jmp 0x401107
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4010f9
cmp esi, eax
jae 0x4010d1
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010eb
cmp esi, eax
jae 0x4010d1
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x401cd0
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x440ce7
call fcn.0041e7e0
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043d3ed
mov eax, dword [eax + 4]
lea edi, [eax + 0x11c]
mov ecx, dword [edi]
xor ebx, ebx
cmp ecx, ebx
je 0x401d08
push 1
call fcn.00436acb
mov ecx, dword [edi]
push 5
call fcn.00436a8f
mov eax, dword [esi + 8]
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x401d40
push ebx
push ebx
push ebx
push ebx
push dword [0x4570c4]
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x401d47
xor al, al
jmp 0x401ddd
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
lea ecx, [esi + 0x60]
push ecx
lea ecx, [esi + 0x24]
push ecx
lea edi, [esi + 0x20]
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0x1000
call fcn.0043c6fb
test eax, eax
je 0x401dc5
mov edi, dword [edi]
push ebx
push ebx
push 3
mov eax, 0x44381a
push eax
push eax
mov al, byte [esi]
neg al
sbb eax, eax
and eax, 0x16b
add eax, 0x50
push eax
push edi
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x401dc5
mov bl, 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401139
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402d19
Capabilities:
Get common file path

Disassembly:
mov eax, 0x440eac
call fcn.0041e7e0
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x74], 0
jne 0x402daa
push esi
push edi
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0040151f
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004029c4
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call fcn.00401f1f
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402d99
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402d99
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x74], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [edi - 0x10]
call fcn.00401139
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4056f1
Capabilities:
Delete file

Disassembly:
mov eax, 0x4414bf
call fcn.0041e7e0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x1c]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 9
je 0x405724
mov ecx, ebx
call fcn.00401bed
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x18]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40573d
mov ecx, edi
call fcn.00401bed
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
call fcn.004013e6
mov ecx, edi
call fcn.004013e6
mov ecx, dword [esi + 0x24]
push 0x10
pop edi
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 0x20]
sub ecx, edi
call fcn.00401139
mov ecx, dword [ebx]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 0x18]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 0x14]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 0x10]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 0xc]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 8]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi + 4]
sub ecx, edi
call fcn.00401139
mov ecx, dword [esi]
sub ecx, edi
call fcn.00401139
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409ddd
Capabilities:
Delete file

Disassembly:
mov eax, 0x441793
call fcn.0041e7e0
push ecx
push ecx
push esi
push edi
mov esi, ecx
call fcn.0043d3ed
push dword [esi + 0x18]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp + 0x10], 0
je 0x409e20
push str._big.dmp
push str..dmp
lea ecx, [edi + 0xc4]
call fcn.00405c15
mov eax, 0x444ebc
jmp 0x409e25
mov eax, str.Normal
lea ecx, [esi + 0x24]
push eax
call fcn.00401e0c
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00409d5a
test al, al
jne 0x409e8e
mov esi, 0x80004005
jmp 0x409eb0
mov eax, dword [edi + 0xd8]
cmp dword [eax - 0xc], 0
mov ecx, esi
jne 0x409ea3
call fcn.00406b56
jmp 0x409eae
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409baa
mov esi, eax
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x40a60c
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x44198e
call fcn.0041e7e0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0043ddec
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], ebx
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004014e3
lea ecx, [esi + 0x28]
call fcn.004014e3
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.004014e3
lea ecx, [esi + 0x30]
call fcn.004014e3
lea ecx, [esi + 0x34]
call fcn.004014e3
lea ecx, [esi + 0x38]
call fcn.004014e3
lea ecx, [esi + 0x3c]
call fcn.004014e3
lea ecx, [esi + 0x40]
call fcn.004014e3
lea ecx, [esi + 0x44]
call fcn.004014e3
lea ecx, [esi + 0x48]
call fcn.004014e3
lea ecx, [esi + 0x4c]
call fcn.004014e3
lea ecx, [esi + 0x50]
call fcn.004014e3
lea ecx, [esi + 0x54]
call fcn.004014e3
lea ecx, [esi + 0x58]
call fcn.004014e3
lea ecx, [esi + 0x5c]
call fcn.004014e3
lea ecx, [esi + 0x60]
call fcn.004014e3
lea ecx, [esi + 0x64]
call fcn.004014e3
push 0x44381a
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00401e0c
mov edi, str.Customer_Error_Report
push edi
lea ecx, [esi + 0x30]
call fcn.00401e0c
push edi
lea ecx, [esi + 0x34]
call fcn.00401e0c
push 0x444ed8
lea ecx, [esi + 0x3c]
call fcn.00401e0c
mov byte [esi + 0x70], 1
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x71], 1
mov byte [esi + 0x72], bl
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x73], bl
mov dword [esi + 0x78], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret