joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b700
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x44e67e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x838]
lea edx, [esp + 0x24]
mov dword [esp + 0x82c], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41b737
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41b750
sub esi, ecx
test esi, esi
jle 0x41b76e
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41b76e
sub esi, 1
test esi, esi
jg 0x41b761
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
add esi, 1
call fcn.0041e080
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x24], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.0041e2e0
mov ecx, edi
call fcn.0041b450
lea ecx, [esp + 8]
call fcn.0041df60
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0041e2e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.0041e0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.0041df70
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.0041df70
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.0041df70
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc

Function at 0x41b840
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x44e67e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x838]
lea edx, [esp + 0x24]
mov dword [esp + 0x82c], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41b877
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41b890
sub esi, ecx
test esi, esi
jle 0x41b8ae
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41b8ae
sub esi, 1
test esi, esi
jg 0x41b8a1
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
add esi, 1
call fcn.0041e080
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x24], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.0041e2e0
mov ecx, edi
call fcn.0041b450
lea ecx, [esp + 8]
call fcn.0041df60
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0041e2e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.0041e0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.0041df70
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.0041df70
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.0041df70
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc
Function at 0x41b980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44e6b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa34
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [ecx + 8]
cmp eax, ebx
mov edi, 1
mov dword [esp + 0xa48], edi
jne 0x41b9cc
mov esi, dword [esp + 0xa50]
push 0x4516bf
mov ecx, esi
call fcn.0041e110
jmp 0x41ba16
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xa60]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov esi, dword [esp + 0xa50]
mov ecx, esi
jne 0x41ba0c
lea eax, [esp + 0x18]
push eax
call fcn.0041e110
jmp 0x41ba16
push 0x4516bf
call fcn.0041e110
lea ecx, [esp + 0xa54]
mov dword [esp + 0xc], edi
mov byte [esp + 0xa48], bl
call fcn.0041df70
mov ecx, dword [esp + 0xa40]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa40
ret 0x10

Function at 0x41ba50
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e6e0
push eax
mov dword fs:[0], esp
push ebp
push esi
push edi
mov ebp, ecx
cmp dword [ebp + 8], 0
mov dword [esp + 0x14], 1
je 0x41bad2
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0041df60
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41bad2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.0041df70
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041df70
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.0041df70
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041df70
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret 0x18

Function at 0x41bb10
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e6f8
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 8]
test eax, eax
je 0x41bb6a
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41bb6a
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.0041df70
mov al, 1
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.0041df70
mov ecx, dword [esp]
xor al, al
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
Function at 0x41bda0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e72b
push eax
mov eax, 0x200c
mov dword fs:[0], esp
call fcn.0042fe20
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2030]
mov dword [esp + 0x201c], 1
call fcn.0041e250
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41bde8
lea ecx, [esp + 0x1010]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041bcb0
mov ecx, dword [esi + 8]
test ecx, ecx
pop esi
je 0x41be84
mov edx, dword [esp + 0x2020]
push eax
lea eax, [esp + 0x1010]
push eax
push 3
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41be84
lea ecx, [esp]
mov byte [esp + 0x2014], 1
call fcn.0041df70
lea ecx, [esp + 0x201c]
mov byte [esp + 0x2014], 0
call fcn.0041df70
lea ecx, [esp + 0x2028]
mov dword [esp + 0x2014], 0xffffffff
call fcn.0041df70
mov al, 1
mov ecx, dword [esp + 0x200c]
mov dword fs:[0], ecx
add esp, 0x2018
ret 0x18
lea ecx, [esp]
mov byte [esp + 0x2014], 1
call fcn.0041df70
lea ecx, [esp + 0x201c]
mov byte [esp + 0x2014], 0
call fcn.0041df70
lea ecx, [esp + 0x2028]
mov dword [esp + 0x2014], 0xffffffff
call fcn.0041df70
mov ecx, dword [esp + 0x200c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x2018
ret 0x18
Function at 0x4213e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f2c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push str._Task_ID_
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
call fcn.0041e110
lea eax, [esp + 0x1c]
mov ebx, 1
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00420e50
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
push str.__Type_
lea ecx, [esp + 0x20]
call fcn.0041e110
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
mov ecx, esi
call fcn.00420e70
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00424650
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
push str.__IsExec_
lea ecx, [esp + 0x20]
call fcn.0041e110
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 5
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
mov ecx, esi
call fcn.00420dd0
test al, al
lea ecx, [esp + 0x1c]
je 0x4214f4
push 0x4540f0
call fcn.0041e110
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 6
push ecx
jmp 0x421508
push 0x451990
call fcn.0041e110
lea edx, [esp + 0x1c]
mov byte [esp + 0x30], 7
push edx
lea ecx, [esp + 0x14]
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
push str.___r_n
lea ecx, [esp + 0x20]
call fcn.0041e110
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
mov ecx, esi
call fcn.004213d0
test eax, eax
jle 0x421594
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004213b0
mov ecx, eax
call fcn.0041fc20
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 9
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
mov ecx, esi
add edi, ebx
call fcn.004213d0
cmp edi, eax
jl 0x421557
push str.__Task__r_n
lea ecx, [esp + 0x20]
call fcn.0041e110
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call fcn.0041e370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0041df70
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041e080
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x30], 0
call fcn.0041df70
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x421620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
sub esp, 0x28
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x40], 0
call fcn.004201e0
push edi
mov ecx, esi
call fcn.00421330
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041fbc0
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x424260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f7d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
lea eax, [esp + 0x40]
mov ebx, 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
call fcn.0041e080
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x454388
mov byte [esp + 0x48], 2
call fcn.0041e110
lea ecx, [esp + 0x24]
call fcn.0041e000
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x45438c
mov edi, eax
call fcn.0041e110
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.0041df60
sub eax, ebx
push eax
push 2
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041e2e0
mov ecx, eax
mov byte [esp + 0x44], 5
call fcn.0041e000
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x34], 2
call fcn.0041df70
add esi, ebx
cmp edi, ebx
jl 0x424333
cmp esi, ebx
jl 0x424333
sub esi, edi
sub esi, ebx
push esi
mov esi, dword [esp + 0x40]
add edi, ebx
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.0041e2e0
jmp 0x424343
mov esi, dword [esp + 0x3c]
push 0x4516bf
mov ecx, esi
call fcn.0041e110
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
mov dword [esp + 0xc], ebx
call fcn.0041df70
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.0041df70
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret
Function at 0x424480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push 0x45438c
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.0041e110
mov ebx, 1
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.004243e0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00422080
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
push 0x454388
lea ecx, [esp + 0x1c]
call fcn.0041e110
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004243f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
push 0x454390
lea ecx, [esp + 0x1c]
call fcn.0041e110
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
mov ecx, esi
call fcn.004243e0
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00422080
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
push 0x454388
lea ecx, [esp + 0x1c]
call fcn.0041e110
mov byte [esp + 0x2c], 7
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
call fcn.0041e370
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041df70
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0041e080
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x2c], 0
call fcn.0041df70
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x424c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
push 0x454558
lea ecx, [esp + 0x10]
call fcn.0041e110
lea eax, [esp + 0x24]
push 6
push eax
mov dword [esp + 0x4c], 0
call fcn.0041d5e0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x50], 1
call fcn.004248a0
lea edi, [esi + 0xc8]
push eax
mov ecx, edi
mov byte [esp + 0x48], 2
call fcn.0041e0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.0041df70
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.0041df70
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041df70
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.0041e080
lea eax, [esp + 0x3c]
push eax
call fcn.00404b40
add esp, 0x10
push eax
mov ecx, edi
mov dword [esp + 0x48], 3
call fcn.0041e0f0
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041df70
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
push eax
push 0x85
mov ecx, esi
mov byte [esi + 0x108], 0
call dword [edx + 0x134]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x40
ret 4
Function at 0x4268a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4268f9
call fcn.0044877b
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x4268f9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4268ef
xor eax, eax
jmp 0x426a12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x426929
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x426929
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x426a0f
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x426956
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.004277f5
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x426a0f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42699f
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x42699f
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x426999
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.004277f5
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4269ff
and dword [ebp + 0xc], 0
jmp 0x4269ff
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4269ff
push 0xc
call fcn.00442aec
mov esi, eax
test esi, esi
pop ecx
je 0x4269e1
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4269e3
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4269fa
push dword [ebp - 8]
call fcn.0043d9b9
jmp 0x4269ff
call fcn.0043d990
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x426964
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x430792
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.0042fe20
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43082d
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 [0x47b548]
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 0x43082d
cmp eax, 1
je 0x43084e
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 0x43082d
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4307fa
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x430829
xor eax, eax
inc eax
jmp 0x43086d
cmp edi, eax
jae 0x430831
xor eax, eax
jmp 0x43086d
cmp eax, esi
jae 0x430838
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 [0x47b548]
jmp 0x430851
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
Function at 0x430b71
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x457a98
call fcn.004317f4
mov edi, 0x94
mov eax, edi
call fcn.0042fe20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x47b548], ecx
mov eax, dword [esi + 4]
mov dword [0x47b554], eax
mov edx, dword [esi + 8]
mov dword [0x47b558], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x47b54c], esi
cmp ecx, 2
je 0x430bd1
or esi, 0x8000
mov dword [0x47b54c], esi
shl eax, 8
add eax, edx
mov dword [0x47b550], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x430c0c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x430c0c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x430c24
cmp eax, 0x20b
je 0x430c11
mov dword [ebp - 0x1c], esi
jmp 0x430c38
cmp dword [ecx + 0x84], 0xe
jbe 0x430c0c
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x430c32
cmp dword [ecx + 0x74], 0xe
jbe 0x430c0c
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004343df
pop ecx
test eax, eax
jne 0x430c4c
push 0x1c
call fcn.00430b4d
pop ecx
call fcn.004335c1
test eax, eax
jne 0x430c5d
push 0x10
call fcn.00430b4d
pop ecx
call fcn.0043762e
mov dword [ebp - 4], esi
call fcn.004368f6
test eax, eax
jge 0x430c76
push 0x1b
call fcn.00430b28
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x47ce10], eax
call fcn.0043750c
mov dword [0x47b534], eax
call fcn.0043746a
test eax, eax
jge 0x430c9c
push 8
call fcn.00430b28
pop ecx
call fcn.00437237
test eax, eax
jge 0x430cad
push 9
call fcn.00430b28
pop ecx
push 1
call fcn.0043165b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x430cc3
push eax
call fcn.00430b28
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004371da
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x430ce4
movzx eax, word [ebp - 0x40]
jmp 0x430ce7
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0043cb6a
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x430d05
push edi
call fcn.00431788
call fcn.004317aa
jmp 0x430d37
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0043182f
ret
Function at 0x4316c5
Capabilities:
Terminate process

Disassembly:
push 8
push 0x457b18
call fcn.004317f4
push 8
call fcn.00434583
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x47b588], esi
jne 0x4316f9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x47b584], esi
mov al, byte [ebp + 0x10]
mov byte [0x47b580], al
cmp dword [ebp + 0xc], edi
jne 0x431743
cmp dword [0x47ce08], edi
je 0x431733
mov eax, dword [0x47ce04]
sub eax, 4
mov dword [0x47ce04], eax
cmp eax, dword [0x47ce08]
jb 0x431733
mov eax, dword [eax]
cmp eax, edi
je 0x431714
call eax
jmp 0x431714
push 0x4640e0
mov eax, 0x4640d8
call fcn.00431643
pop ecx
push 0x4640ec
mov eax, 0x4640e4
call fcn.00431643
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x431774
cmp dword [ebp + 0x10], edi
jne 0x431782
mov dword [0x47b588], esi
push dword [ebp + 8]
call fcn.00431601
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x431781
push 8
call fcn.004344ce
pop ecx
ret
call fcn.0043182f
ret