joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4562b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4562d8
pop edi
or eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0xffffffff
jne 0x4562fa
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x456300
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x45638b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45638b
test esi, esi
je 0x456345
cmp esi, 0xffffffff
je 0x456345
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x4563d1
mov eax, dword [esp + 0x160]
test eax, eax
je 0x456374
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x45638b
jmp 0x456383
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x45638b
mov dword [esp + 0x10], 1
test esi, esi
je 0x4563d1
cmp esi, 0xffffffff
je 0x4563d1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x456408
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x4563de
call edi
test eax, eax
je 0x4563d1
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x456408
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x4563b9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x4563d1
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x456408
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x4563eb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004551a0
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
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, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret

Function at 0x456470
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x456730
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x456799
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004551a0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x456800
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
test ebx, ebx
push edi
jne 0x456813
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebx
call fcn.0045a700
add esp, 4
test eax, eax
jne 0x456825
pop edi
pop esi
pop ebp
pop ebx
ret
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x456834
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [ebx]
xor esi, esi
cmp eax, 1
jne 0x45688b
mov ebx, dword [ebx + 4]
push edi
call fcn.004677fc
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
push esi
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45686e
push ebp
call fcn.00467825
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call fcn.0045a070
push ebp
mov esi, eax
call fcn.00467825
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x4568cd
mov ebx, dword [ebx + 4]
lea edx, [edi + 8]
push edx
call fcn.004551a0
mov esi, eax
add esp, 4
lea ecx, [esi + 8]
mov dword [esi], 1
mov dword [esi + 4], edi
mov eax, dword [ebx]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x4568ca
push esi
call fcn.00455230
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x456940
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x456953
xor eax, eax
pop esi
add esp, 8
ret
push esi
call fcn.0045a700
add esp, 4
test eax, eax
jne 0x456965
pop esi
add esp, 8
ret
mov eax, dword [esi]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x4569dc
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x456a0e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4569c8
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x456998
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x456a0e
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x456a0e
lea edi, [esp + 0x2c]
lea ebx, [eax - 1]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, esi
call dword [edx + 0x24]
add edi, 0xc
dec ebx
jne 0x4569f7
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret

Function at 0x456a20
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x456a4a
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x456a4a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
ret

Function at 0x457f90
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.004677fc
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x457ffa
push esi
lea edi, [eax + 0x400]
call fcn.00467825
push edi
call fcn.004677fc
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x457fca
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x458016
push ecx
push esi
call fcn.00459d90
add esp, 8
mov ebx, eax
push esi
call fcn.00467825
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x458700
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x458792
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x458784
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x45877c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x458745
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x459a00
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x459a1e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x459a13
pop esi
ret

Function at 0x46a1cb
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 0x46a20d
call fcn.0046d51e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46a20d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46a204
xor eax, eax
jmp 0x46a215
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046a21b
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b1a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x46edc8
call fcn.0045cfe0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0046d51e
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x46b1e8
call fcn.0046d51e
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46b1f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46b204
or eax, 0xffffffff
jmp 0x46b2ec
mov ecx, esi
call fcn.0046b11f
mov dword [ebp - 0x14], eax
call fcn.00468811
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x46b23b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46b23b
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004687c5
push dword [ebp - 0x14]
call fcn.004682f7
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0046aeb7
cmp eax, edi
je 0x46b2ae
test byte [esi + 0x24], 0x10
je 0x46b27c
push 4
mov ecx, esi
pop ebx
call fcn.00467cf7
test ah, 1
je 0x46b274
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0046a31d
cmp dword [esi + 0x1c], edi
je 0x46b2ae
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00467d2b
jmp 0x46b2ae
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x46b2c2
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x46b2db
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x46b2db
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0046b159
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x46d090
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 0x46d0be
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d0dc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046cff6
jmp 0x46d0dc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d0dc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046cff6
test edi, edi
mov eax, edi
jne 0x46d0c6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45f7e1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00455bb8
and dword [ebp - 4], 0
cmp dword [0x493288], 0
mov ebx, eax
jne 0x45f892
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45f943
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473330
push edi
call esi
test eax, eax
je 0x45f943
push eax
call fcn.00455b46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x493288], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49328c], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x493290], eax
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493298], eax
test eax, eax
je 0x45f892
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493294], eax
mov eax, dword [0x493294]
cmp eax, ebx
je 0x45f8ea
cmp dword [0x493298], ebx
je 0x45f8ea
push eax
call fcn.00455bc1
push dword [0x493298]
mov esi, eax
call fcn.00455bc1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45f8ea
test edi, edi
je 0x45f8ea
call esi
test eax, eax
je 0x45f8e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45f8e1
test byte [ebp - 0xc], 1
jne 0x45f8ea
or dword [ebp + 0x10], 0x200000
jmp 0x45f923
mov eax, dword [0x49328c]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45f923
mov eax, dword [0x493290]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x493288]
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f943
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45f945
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xe9650e7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x68ae04d3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
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 0x401ce9
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x442924
call fcn.00420410
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043f01d
mov eax, dword [eax + 4]
lea edi, [eax + 0x11c]
mov ecx, dword [edi]
xor ebx, ebx
cmp ecx, ebx
je 0x401d21
push 1
call fcn.004386fb
mov ecx, dword [edi]
push 5
call fcn.004386bf
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 0x401d59
push ebx
push ebx
push ebx
push ebx
push dword [0x4590c4]
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x401d60
xor al, al
jmp 0x401df6
call fcn.0043939a
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.0043939a
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.0043e32b
test eax, eax
je 0x401dde
mov edi, dword [edi]
push ebx
push ebx
push 3
mov eax, 0x445802
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 0x401dde
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 0x402d32
Capabilities:
Get common file path

Disassembly:
mov eax, 0x442ae9
call fcn.00420410
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x74], 0
jne 0x402dc3
push esi
push edi
call fcn.0043939a
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.004029dd
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call fcn.00401f38
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402db2
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402db2
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 0x40571f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4430e6
call fcn.00420410
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x18]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 7
je 0x405752
mov ecx, edi
call fcn.00401c06
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [esi + 0x14]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x40576b
mov ecx, ebx
call fcn.00401c06
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
call fcn.004013f0
mov ecx, ebx
call fcn.004013f0
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
call fcn.00401139
mov ecx, dword [edi]
push 0x10
pop edi
sub ecx, edi
call fcn.00401139
mov ecx, dword [ebx]
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 0x409e10
Capabilities:
Delete file

Disassembly:
mov eax, 0x4433ba
call fcn.00420410
push ecx
push ecx
push esi
push edi
mov esi, ecx
call fcn.0043f01d
push dword [esi + 0x14]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp + 0x10], 0
je 0x409e53
push str._big.dmp
push str..dmp
lea ecx, [edi + 0xc4]
call fcn.00405c2f
mov eax, 0x446ea4
jmp 0x409e58
mov eax, str.Normal
lea ecx, [esi + 0x1c]
push eax
call fcn.00401e25
call fcn.0043939a
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.0043939a
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.0043939a
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.00409d8d
test al, al
jne 0x409ec1
mov esi, 0x80004005
jmp 0x409ee3
mov eax, dword [edi + 0xd8]
cmp dword [eax - 0xc], 0
mov ecx, esi
jne 0x409ed6
call fcn.00406b99
jmp 0x409ee1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409bdd
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 0x40a63f
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4435b5
call fcn.00420410
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0043fa1c
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], ebx
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004014ed
lea ecx, [esi + 0x28]
call fcn.004014ed
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.004014ed
lea ecx, [esi + 0x30]
call fcn.004014ed
lea ecx, [esi + 0x34]
call fcn.004014ed
lea ecx, [esi + 0x38]
call fcn.004014ed
lea ecx, [esi + 0x3c]
call fcn.004014ed
lea ecx, [esi + 0x40]
call fcn.004014ed
lea ecx, [esi + 0x44]
call fcn.004014ed
lea ecx, [esi + 0x48]
call fcn.004014ed
lea ecx, [esi + 0x4c]
call fcn.004014ed
lea ecx, [esi + 0x50]
call fcn.004014ed
lea ecx, [esi + 0x54]
call fcn.004014ed
lea ecx, [esi + 0x58]
call fcn.004014ed
lea ecx, [esi + 0x5c]
call fcn.004014ed
lea ecx, [esi + 0x60]
call fcn.004014ed
lea ecx, [esi + 0x64]
call fcn.004014ed
push 0x445802
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00401e25
mov edi, str.Customer_Error_Report
push edi
lea ecx, [esi + 0x30]
call fcn.00401e25
push edi
lea ecx, [esi + 0x34]
call fcn.00401e25
push 0x446ed8
lea ecx, [esi + 0x3c]
call fcn.00401e25
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