joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423dcc
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x423f64
mov eax, dword [0x438af8]
push esi
push edi
mov ecx, 0x438af8
call dword [eax + 0xc]
add eax, 0x10
push 0x435768
lea esi, [ebp - 8]
mov dword [ebp - 4], eax
call fcn.004015d9
lea edi, [ebp - 4]
mov ecx, esi
call fcn.00411ab3
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov esi, str..bat
mov ecx, esi
call fcn.0040195b
push eax
push esi
mov eax, edi
push eax
call fcn.004026e5
mov esi, dword [ebp - 4]
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x423e66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
call fcn.0040147d
jmp 0x423f62
mov eax, dword [0x438af8]
mov ecx, 0x438af8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [esi - 0x10]
mov dword [ebp - 0xc], eax
call fcn.00401c33
mov esi, eax
add esi, 0x10
cmp byte [ebx + 9], 0
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_nrd___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
jne 0x423e99
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_ndel___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
push esi
push esi
push dword [ebx]
push dword [ebx]
push dword [ebx]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004044d4
add esp, 0x1c
push edi
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push dword [edi - 0xc]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esi - 0x10]
call fcn.0040147d
lea eax, [edi - 0x10]
call fcn.0040147d
cmp dword [ebp - 0x18], 0
je 0x423ee2
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 4]
lea ebx, [ebp - 8]
call fcn.0041171b
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [eax + 8], bl
jne 0x423f0e
mov esi, dword [ebp - 8]
push ebx
push esi
push ebx
push dword [ebp - 4]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x423f4f
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0042e270
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
add esp, 0xc
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], 0x500
mov dword [ebp - 0x48], str.runas
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [esi - 0x10]
call fcn.0040147d
mov eax, dword [ebp - 0xc]
call fcn.0040147d
mov ebx, dword [ebp + 8]
pop edi
pop esi
mov eax, dword [ebx + 4]
sub eax, 0x10
call fcn.0040147d
mov eax, dword [ebx]
sub eax, 0x10
call fcn.0040147d
pop ebx
leave
ret 4
Function at 0x4249ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x438060]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3b0]
push ebx
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b4]
push edi
mov edi, ecx
mov dword [ebp - 0x74], eax
call dword [0x438090]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x64], ebx
je 0x424a92
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp esi, 0x400
mov dword [ebp - 0x78], esi
jg 0x424a72
push esi
call fcn.00424854
test al, al
pop ecx
je 0x424a72
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0042ed80
mov eax, esp
jmp 0x424a82
mov eax, esi
lea esi, [ebp - 0x70]
call fcn.004248ad
mov ebx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x68]
push esi
push edi
mov esi, eax
call fcn.004246c4
test eax, eax
jne 0x424abd
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x424aaf
lea eax, [ebp - 0x64]
call fcn.00425a07
jmp 0x424aaf
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.0042dddb
pop ecx
test ebx, ebx
jne 0x424aa4
mov eax, 0x8007000e
jmp 0x424b7b
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x68], edi
jne 0x424ada
call fcn.0042457f
mov esi, eax
jmp 0x424b58
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x424afc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x6c], eax
jne 0x424b03
call fcn.0042457f
jmp 0x424b4d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
push eax
lea esi, [ebp - 0x64]
call fcn.00424b9b
cmp dword [ebp - 0x64], 0
jne 0x424b26
mov esi, 0x8007000e
jmp 0x424b4f
push edi
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
call fcn.0042e2d0
mov eax, dword [ebp - 0x64]
add esp, 0xc
push dword [ebp + 0x3b8]
mov byte [edi + eax], 0
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x80]
call fcn.00424be0
mov esi, eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x424b75
lea eax, [ebp - 0x64]
call fcn.00425a07
jmp 0x424b75
mov eax, ebx
mov ebx, dword [ebx]
push eax
call fcn.0042dddb
pop ecx
test ebx, ebx
jne 0x424b6a
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
call fcn.0042e08a
add ebp, 0x3a4
leave
ret 0x10
Function at 0x425a10
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add edi, eax
add esi, eax
cmp eax, 1
jne 0x425a18
mov eax, dword [esp + 0xc]
push esi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x425a47
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0xc

Function at 0x425ba4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x438060]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push 0x2001f
push eax
mov ebx, ecx
push dword [ebx]
mov dword [ebp - 0x78], eax
xor esi, esi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
call fcn.00425aac
mov edi, eax
cmp edi, esi
je 0x425bfa
cmp dword [ebp - 0x6c], esi
je 0x425bf6
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x425c61
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x425c15
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00425ba4
cmp eax, esi
mov dword [ebp - 0x74], eax
jne 0x425c7b
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x100
call edi
test eax, eax
je 0x425c02
cmp dword [ebp - 0x6c], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x425c48
push dword [ebp - 0x6c]
call edi
mov dword [ebp - 0x6c], esi
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x6c], esi
mov ebx, eax
je 0x425c5f
push dword [ebp - 0x6c]
call edi
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e08a
add ebp, 0x9c
leave
ret 4
cmp dword [ebp - 0x6c], esi
je 0x425c89
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
jmp 0x425c61

Function at 0x426521
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call fcn.004045c6
cmp dword [esi], 0
je 0x426550
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x426550
mov byte [esi + 8], 1
pop edi
pop esi
ret 4
Function at 0x42885f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
test byte [eax + 0x6c], 1
jne 0x42886d
xor al, al
leave
ret
push edi
push eax
call fcn.004297f0
mov edi, eax
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 3
jge 0x428884
xor al, al
jmp 0x4288ed
test eax, eax
push esi
mov esi, 0x80070057
jge 0x428894
push esi
call fcn.004014b6
mov eax, dword [edi]
cmp byte [eax], 0x5c
jne 0x4288c7
cmp dword [eax - 0xc], 1
jge 0x4288a7
push esi
call fcn.004014b6
mov eax, dword [edi]
cmp byte [eax + 1], 0x5c
jne 0x4288c7
cmp dword [eax - 0xc], 2
jge 0x4288bb
push esi
call fcn.004014b6
mov eax, dword [edi]
cmp byte [eax + 2], 0x5c
je 0x4288c7
xor al, al
jmp 0x4288ec
xor esi, esi
call fcn.00402671
mov byte [ebp + esi - 4], al
inc esi
cmp esi, 3
jl 0x4288c9
lea eax, [ebp - 4]
push eax
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
setne al
pop esi
pop edi
leave
ret

Function at 0x4288f0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
call fcn.004297f0
lea ecx, [ebp - 4]
mov esi, eax
call fcn.0041157a
push 0x5c
call fcn.004025c0
lea ecx, [eax + 1]
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.004072bd
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004026e5
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x428952
push 0x80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esi]
push 0
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42896f
inc eax
mov dword [edi + 0x10], eax
mov esi, eax
jmp 0x4289f5
push ebx
push esi
lea ebx, [edi + 0x18]
push ebx
push 3
pop eax
call fcn.00406714
mov eax, dword [0x438af8]
mov ecx, 0x438af8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.004067ce
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp - 4]
push str.__s___s
push eax
call fcn.004044d4
mov eax, dword [ebp - 0xc]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040147d
lea eax, [edi + 0x160]
call fcn.0042b55a
push esi
push 0x20
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407f41
add esp, 0x14
test al, al
pop ebx
jne 0x4289ea
xor eax, eax
inc eax
mov dword [edi + 0x10], eax
mov esi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, esi
pop esi
leave
ret
Function at 0x42b6ad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [eax + 4], edi
mov dword [eax + 0x10], ebx
jne 0x42b6c6
xor eax, eax
jmp 0x42b745
cmp ebx, edi
push esi
je 0x42b6ed
push edi
push edi
push edi
push edi
lea esi, [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
call fcn.004045c6
push dword [esi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov eax, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push 0x42b74b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp ebx, edi
mov esi, eax
je 0x42b70d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x42b737
cmp esi, edi
mov ebx, dword [ebp - 4]
je 0x42b733
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x42b744
cmp esi, edi
je 0x42b742
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x42bb77
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x2e
mov esi, ebx
mov edi, eax
call fcn.004025c0
test eax, eax
jg 0x42bb99
mov al, 1
jmp 0x42bd05
lea ecx, [ebp - 8]
push ecx
mov esi, ebx
call fcn.00402629
mov eax, dword [0x438af8]
mov esi, 0x438af8
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 8]
add eax, 0x10
push dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x10]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.004044d4
add esp, 0x14
cmp dword [edi + 0x10], 0
je 0x42bbe3
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push 0
push 0x8000008
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.00407f41
add esp, 0x14
lea ecx, [ebp - 8]
mov byte [ebp - 1], 1
call fcn.00411c81
test al, al
je 0x42bc1b
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42bcd0
mov eax, dword [0x438af8]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00408563
mov eax, dword [0x438af8]
pop ecx
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push 0xca
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.00401ff7
mov esi, dword [ebp - 8]
mov ebx, dword [esi - 0xc]
push 0x5c
mov eax, esi
call fcn.004026aa
test eax, eax
pop ecx
pop ecx
jne 0x42bc6e
or ecx, 0xffffffff
jmp 0x42bc72
sub eax, esi
mov ecx, eax
mov eax, ebx
sub eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [ebp - 8]
call fcn.004025da
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push esi
push dword [eax]
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.004044d4
mov eax, dword [ebp - 0x1c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040147d
push 0
lea eax, [ebp - 0xc]
call fcn.0040c60e
pop ecx
lea eax, [ebx - 0x10]
mov byte [ebp - 1], 0
call fcn.0040147d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040147d
lea eax, [esi - 0x10]
call fcn.0040147d
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x10], 0
je 0x42bcec
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42be71
Capabilities:
Delete file

Disassembly:
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x42be81
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x30]
push edi
push 0x10
pop edi
sub eax, edi
call fcn.0040147d
mov eax, dword [esi + 0x2c]
sub eax, edi
call fcn.0040147d
mov eax, dword [esi + 0x24]
sub eax, edi
call fcn.0040147d
mov eax, dword [esi + 0x20]
sub eax, edi
call fcn.0040147d
mov eax, dword [esi + 0x1c]
sub eax, edi
call fcn.0040147d
mov eax, dword [esi + 4]
sub eax, edi
pop edi
jmp fcn.0040147d
Function at 0x42bf85
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push dword [0x43890c]
lea esi, [ebp - 4]
mov ebx, eax
call fcn.004015d9
lea esi, [ebx + 0x1c]
mov edi, esi
lea ecx, [ebp - 4]
call fcn.00411ab3
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040147d
add ebx, 4
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.0042cc82
mov edi, dword [ebp - 4]
pop ecx
xor ebx, ebx
cmp dword [edi - 0xc], ebx
pop ecx
push ebx
je 0x42bfeb
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
jmp 0x42c01c
push 0x438cf0
push esi
xor eax, eax
lea edi, [ebp - 0x94]
call fcn.00402733
push ebx
push ebx
push 1
push ebx
push esi
push dword [ebp - 8]
mov ecx, edi
call fcn.00402876
test eax, eax
je 0x42c02b
mov esi, edi
call fcn.004027cf
mov edi, dword [ebp - 4]
lea eax, [edi - 0x10]
call fcn.0040147d
mov al, bl
jmp 0x42c0b9
lea ecx, [ebp - 0x94]
call fcn.004028fb
mov edi, eax
cmp edi, ebx
je 0x42c09e
cmp byte [0x438cec], bl
je 0x42c09e
push ebx
push edi
lea eax, [ebp - 0xc]
call fcn.0040901c
mov esi, dword [eax]
mov eax, dword [0x438af8]
pop ecx
pop ecx
mov ecx, 0x438af8
call dword [eax + 0xc]
add eax, 0x10
push esi
push dword [0x438930]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004063dd
push eax
call fcn.004063dd
push eax
mov ebx, 0x438cbc
call fcn.00405df0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040147d
xor ebx, ebx
lea esi, [ebp - 0x94]
call fcn.004027cf
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040147d
cmp edi, ebx
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42cb3b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0042e270
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42cb81
call fcn.00401f8b
jmp 0x42cb8d
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push esi
call fcn.00401000
mov eax, esi
pop esi
leave
ret

Function at 0x42d4d0
Capabilities:
Create thread

Disassembly:
mov dword [esi + 0xc], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x42d506
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
xor eax, eax
ret

Function at 0x42dbcb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438060]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.0042db4d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042e270
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42dc2f
cmp dword [ebp - 0x1c], 5
jb 0x42dc47
jmp 0x42dc43
cmp dword [ebp - 0x10], 1
jne 0x42dc47
cmp dword [ebp - 0x1c], 4
ja 0x42dc43
jne 0x42dc47
cmp dword [ebp - 0x18], 0
jbe 0x42dc47
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x430504
call fcn.0040132e
test eax, eax
jge 0x42dc68
mov byte [0x438c90], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e08a
add ebp, 0x78
leave
ret
Function at 0x42e0fe
Capabilities:
Terminate process

Disassembly:
push 0x11c
push 0x430740
call fcn.0042eb28
mov eax, dword [0x438060]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x438c34]
test eax, eax
je 0x42e141
and dword [ebp - 4], 0
push ecx
push dword [ebp + 8]
call eax
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x42e24b
mov eax, dword [ebp + 8]
dec eax
je 0x42e15d
mov ebx, str.Unknown_security_failure_detected_
mov dword [ebp - 0x12c], str.A_security_error_of_unknown_cause_has_been_detected_which_has_ncorrupted_the_programs_internal_state.__The_program_cannot_safely_ncontinue_execution_and_must_now_be_terminated._n
mov edi, 0xd4
jmp 0x42e171
mov ebx, str.Buffer_overrun_detected_
mov dword [ebp - 0x12c], str.A_buffer_overrun_has_been_detected_which_has_corrupted_the_programs_ninternal_state.__The_program_cannot_safely_continue_execution_and_must_nnow_be_terminated._n
mov edi, 0xb9
mov byte [ebp - 0x20], 0
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42e1a0
push str._program_name_unknown_
lea eax, [ebp - 0x124]
push eax
call fcn.0042ec80
pop ecx
pop ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], eax
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 0xb
cmp eax, 0x3c
jbe 0x42e1e7
lea eax, [ebp - 0x124]
push eax
call esi
lea ecx, [ebp - 0x124]
sub ecx, 0x31
add eax, ecx
mov dword [ebp - 0x128], eax
push 3
push 0x43058c
push eax
call fcn.0042e2d0
add esp, 0xc
push dword [ebp - 0x128]
call esi
lea eax, [eax + edi + 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.0042ed80
mov dword [ebp - 0x18], esp
mov edi, esp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x430588
push ebx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
push str.Program:
push edi
call esi
push dword [ebp - 0x128]
push edi
call esi
push ebx
push edi
call esi
push dword [ebp - 0x12c]
push edi
call esi
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42ea45
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0042ed80
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42eae0
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x438c0c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x42eae0
cmp eax, 1
je 0x42eb01
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42eae0
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x42eaad
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x42eadc
xor eax, eax
inc eax
jmp 0x42eb20
cmp edi, eax
jae 0x42eae4
xor eax, eax
jmp 0x42eb20
cmp eax, esi
jae 0x42eaeb
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x438c0c]
jmp 0x42eb04
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret