joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4186d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0xd9], al
je 0x41872a
push 0x46c124
push eax
push esi
push 0x405840
mov byte [esi + 0xd9], al
push eax
push 0x46c128
mov byte [0x46c146], al
mov dword [0x46c128], 0xc
mov dword [0x46c12c], eax
mov dword [0x46c130], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
push eax
mov dword [0x46c120], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 5
mov ecx, esi
call fcn.00442f68
pop esi
ret

Function at 0x418da0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4524b5
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
push eax
add ecx, 0x30
mov dword [esp + 0xc], 0
call fcn.00421710
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.00421510
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc

Function at 0x4190a0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x452507
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x34], 0
call fcn.00421710
push str..TempFile
lea ecx, [esp + 8]
call fcn.00421740
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x3c], 1
call fcn.00418bf0
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call fcn.00421510
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004216a0
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x24]
mov byte [esp + 0x34], 4
call fcn.00421710
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.00421510
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.00421510
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.00421510
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x41b650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45293b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov ebp, ecx
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x30], 0
call fcn.0040ea10
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00421500
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004219e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.00421710
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00421510
push esi
mov ecx, ebp
call fcn.0041b3c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x41b702
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00421510
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], esi
call fcn.00421510
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
mov eax, dword [ebp + 0x18]
add eax, 8
test esi, esi
jl 0x41b7c1
cmp esi, dword [eax + 8]
jge 0x41b7c1
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + esi*2]
add edi, edi
lea edx, [esp + 0xc]
add edi, edi
add ecx, edi
push edx
call fcn.00421710
push 0x458694
lea ecx, [esp + 0x1c]
call fcn.00421740
mov eax, dword [ebp + 0x18]
add eax, 8
cmp esi, dword [eax + 8]
mov byte [esp + 0x2c], 3
jge 0x41b7bc
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, edi
push ecx
mov ecx, eax
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00421510
mov eax, dword [ebp + 0x18]
add eax, 8
cmp esi, dword [eax + 8]
jge 0x41b7bc
mov eax, dword [eax + 4]
add eax, edi
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.00421ab0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00421510
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00421510
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
call fcn.0044143d
call fcn.0044143d
int3
Function at 0x41e520
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x452e80
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 0x41e557
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41e570
sub esi, ecx
test esi, esi
jle 0x41e58e
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41e58e
sub esi, 1
test esi, esi
jg 0x41e581
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
add esi, 1
call fcn.004216a0
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.004219e0
mov ecx, edi
call fcn.0041e280
lea ecx, [esp + 8]
call fcn.00421500
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.004219e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.00421710
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.00421510
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.00421510
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00421510
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc

Function at 0x41e660
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x452ea8
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 0x41e697
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41e6b0
sub esi, ecx
test esi, esi
jle 0x41e6ce
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41e6ce
sub esi, 1
test esi, esi
jg 0x41e6c1
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
add esi, 1
call fcn.004216a0
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.004219e0
mov ecx, edi
call fcn.0041e280
lea ecx, [esp + 8]
call fcn.00421500
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.004219e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.00421710
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.00421510
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.00421510
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00421510
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc
Function at 0x41e7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x452ed9
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 0x41e7ec
mov esi, dword [esp + 0xa50]
push 0x4566bf
mov ecx, esi
call fcn.00421740
jmp 0x41e836
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 0x41e82c
lea eax, [esp + 0x18]
push eax
call fcn.004217d0
jmp 0x41e836
push 0x4566bf
call fcn.00421740
lea ecx, [esp + 0xa54]
mov dword [esp + 0xc], edi
mov byte [esp + 0xa48], bl
call fcn.00421510
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 0x41e910
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452f05
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 0x41e992
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.00421500
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 0x41e992
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.00421510
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.00421510
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.00421510
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.00421510
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 0x41e9d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452f17
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 8]
test eax, eax
je 0x41ea2a
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 0x41ea2a
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.00421510
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.00421510
mov ecx, dword [esp]
xor al, al
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
Function at 0x41ec40
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452f3c
push eax
mov eax, 0x200c
mov dword fs:[0], esp
call fcn.004341e0
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2030]
mov dword [esp + 0x201c], 1
call fcn.00421950
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 0x41ec88
lea ecx, [esp + 0x1010]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0041eb50
mov ecx, dword [esi + 8]
test ecx, ecx
pop esi
je 0x41ed24
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 0x41ed24
lea ecx, [esp]
mov byte [esp + 0x2014], 1
call fcn.00421510
lea ecx, [esp + 0x201c]
mov byte [esp + 0x2014], 0
call fcn.00421510
lea ecx, [esp + 0x2028]
mov dword [esp + 0x2014], 0xffffffff
call fcn.00421510
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.00421510
lea ecx, [esp + 0x201c]
mov byte [esp + 0x2014], 0
call fcn.00421510
lea ecx, [esp + 0x2028]
mov dword [esp + 0x2014], 0xffffffff
call fcn.00421510
mov ecx, dword [esp + 0x200c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x2018
ret 0x18
Function at 0x423a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x453835
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x459214
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], ebp
call fcn.00421860
push 0x20
mov byte [esp + 0x34], 1
call fcn.00446f2c
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x30], 2
je 0x423ab7
mov ecx, eax
call fcn.00421fe0
jmp 0x423ab9
xor eax, eax
mov ecx, eax
mov byte [esp + 0x30], 1
mov dword [esi + 0x14], eax
call fcn.00422240
cmp dword [esi + 4], ebp
je 0x423afa
xor edi, edi
cmp dword [esi + 8], ebp
jle 0x423aeb
xor ebx, ebx
mov ecx, dword [esi + 4]
add ecx, ebx
call fcn.00426190
add edi, 1
add ebx, 0x10
cmp edi, dword [esi + 8]
jl 0x423ad6
mov eax, dword [esi + 4]
push eax
call fcn.00446f5c
add esp, 4
mov dword [esi + 4], ebp
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
call fcn.00423180
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x34], 6
call fcn.00421710
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00421510
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 8]
cmp eax, ebp
jle 0x423b9d
xor ebx, ebx
nop
test ebx, ebx
jl 0x423bb4
cmp ebp, eax
jge 0x423bb4
mov eax, dword [edi + 4]
add eax, ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00428560
mov edx, dword [esi + 8]
sub esp, 0x10
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 7
mov dword [esp + 0x4c], edx
call fcn.00428560
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00423fc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00426190
mov eax, dword [edi + 8]
add ebp, 1
add ebx, 0x10
cmp ebp, eax
jl 0x423b40
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
call fcn.0044143d
int3
Function at 0x425f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x453cc8
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.00423a50
push edi
mov ecx, esi
call fcn.00425ef0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004234d0
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x428380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454073
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.004216a0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4595cc
mov byte [esp + 0x48], 2
call fcn.00421740
lea ecx, [esp + 0x24]
call fcn.00421600
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4595d0
mov edi, eax
call fcn.00421740
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.00421500
sub eax, ebx
push eax
push 2
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.004219e0
mov ecx, eax
mov byte [esp + 0x44], 5
call fcn.00421600
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x34], 2
call fcn.00421510
add esi, ebx
cmp edi, ebx
jl 0x428453
cmp esi, ebx
jl 0x428453
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.004219e0
jmp 0x428463
mov esi, dword [esp + 0x3c]
push 0x4566bf
mov ecx, esi
call fcn.00421740
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
mov dword [esp + 0xc], ebx
call fcn.00421510
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.00421510
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 0x4285e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4540fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push 0x4595d0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00421740
mov eax, dword [esi]
push eax
lea eax, [esp + 0x1c]
mov ebx, 1
push eax
mov dword [esp + 0x34], ebx
call fcn.004261a0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
push 0x4595cc
lea ecx, [esp + 0x1c]
call fcn.00421740
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00428510
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
push 0x4595d4
lea ecx, [esp + 0x1c]
call fcn.00421740
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.004261a0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
push 0x4595cc
lea ecx, [esp + 0x1c]
call fcn.00421740
lea edx, [esp + 0x18]
mov byte [esp + 0x2c], 7
push edx
lea ecx, [esp + 0x10]
call fcn.00421ab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00421510
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004216a0
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x2c], 0
call fcn.00421510
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x428ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x454210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
push 0x4597a0
lea ecx, [esp + 0x10]
call fcn.00421740
lea eax, [esp + 0x24]
push 6
push eax
mov dword [esp + 0x4c], 0
call fcn.00420b50
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x50], 1
call fcn.00428ab0
lea edi, [esi + 0xc8]
push eax
mov ecx, edi
mov byte [esp + 0x48], 2
call fcn.00421710
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.00421510
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 0
call fcn.00421510
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.00421510
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.004216a0
lea eax, [esp + 0x3c]
push eax
call fcn.00404d30
add esp, 0x10
push eax
mov ecx, edi
mov dword [esp + 0x48], 3
call fcn.00421710
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xffffffff
call fcn.00421510
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 0x42abd6
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 0x42ac29
call fcn.0044cbec
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x42ac29
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x42ac1f
xor eax, eax
jmp 0x42ad42
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 0x42ac59
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 0x42ac59
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x42ad3f
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x42ac86
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0042956e
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x42ad3f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42accf
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x42accf
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x42acc9
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0042956e
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x42ad2f
and dword [ebp + 0xc], 0
jmp 0x42ad2f
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x42ad2f
push 0xc
call fcn.00446f2c
mov esi, eax
test esi, esi
pop ecx
je 0x42ad11
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 0x42ad13
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x42ad2a
push dword [ebp - 8]
call fcn.00441df9
jmp 0x42ad2f
call fcn.00441dd0
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x42ac94
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43487a
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.004341e0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x434915
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 [0x4798e8]
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 0x434915
cmp eax, 1
je 0x434936
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 0x434915
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4348e2
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x434911
xor eax, eax
inc eax
jmp 0x434955
cmp edi, eax
jae 0x434919
xor eax, eax
jmp 0x434955
cmp eax, esi
jae 0x434920
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 [0x4798e8]
jmp 0x434939
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