joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40488c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x407bc0]
push esi
push edi
xor edi, edi
test ecx, ecx
jne 0x4048bf
cmp byte [0x407bc4], cl
jne 0x4048bf
push edi
push edi
call fcn.00404015
mov ecx, eax
mov dword [0x407bc0], ecx
test ecx, ecx
jne 0x4048bf
mov byte [0x407bc4], 1
mov esi, dword [ebp + 8]
mov eax, esi
sar eax, 4
push edi
inc eax
movzx eax, ax
push eax
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x404914
push eax
push dword [0x407bc0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
je 0x404914
and esi, 0x8000000f
jns 0x4048fc
dec esi
or esi, 0xfffffff0
add esi, 1
je 0x40490c
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub esi, 1
jne 0x4048fe
lea eax, [ecx + 2]
cmp word [ecx], di
jne 0x404919
mov eax, 0x401220
pop edi
pop esi
pop ebp
ret 4

Function at 0x404a17
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x406014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ebx, [ebp - 0x104]
push edi
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x120], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov edi, esi
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x404a60
sub edi, ecx
sar edi, 1
imul edi, dword [ebp - 0x118]
inc edi
cmp edi, 0x100
jle 0x404aa9
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x404aa7
push 2
push 0x2720
call fcn.0040488c
push eax
call fcn.004033f7
push 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
push edx
push edx
push edi
push ebx
push 0xffffffffffffffff
push esi
push edx
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x11c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
push dword [ebp - 0x11c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
add esp, 0xc
cmp edi, 0x100
jle 0x404ae9
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [esi + 2]
xor edx, edx
mov cx, word [esi]
add esi, 2
cmp cx, dx
jne 0x404aee
mov ecx, dword [ebp - 4]
sub esi, eax
sar esi, 1
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00402813
leave
ret 8
Function at 0x404b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
inc ebx
test esi, esi
je 0x404b28
cmp esi, ebx
jne 0x404bc2
xor eax, eax
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp dword [esi*4 + 0x407bc8], eax
jne 0x404b5c
test esi, esi
jne 0x404b41
push ebx
jmp 0x404b43
push 2
call edi
pop ecx
push eax
call fcn.00404962
mov dword [esi*4 + 0x407bd0], eax
xor eax, eax
mov dword [esi*4 + 0x407bc8], ebx
cmp dword [esi*4 + 0x407bd0], eax
je 0x404b71
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__cputws]
pop ecx
jmp 0x404bc1
lea eax, [ebp + 0xc]
push eax
call fcn.004049b4
test eax, eax
je 0x404bac
mov ecx, dword [ebp + 8]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x404b86
sub ecx, edx
lea eax, [ebp - 4]
push esi
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x404bc1
test esi, esi
jne 0x404bb3
push ebx
jmp 0x404bb5
push 2
call edi
pop ecx
push dword [ebp + 8]
push eax
call fcn.00404a17
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x404c5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040488c
Function at 0x4094f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436744
call fcn.0041f8f2
push 4
mov dword [ebp - 4], 0
call fcn.00420245
push eax
pop edi
add esp, 4
test edi, edi
je 0x40956c
call fcn.0041ef82
mov dword [edi], eax
call fcn.0041ed41
push 0
lea ecx, [ebp - 0x10]
push eax
pop ebx
call fcn.0041ec76
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409562
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ec9e
jmp 0x40956e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
push esi
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d660
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [esi]
push edi
push eax
pop edi
test edi, edi
je 0x40d680
push ebx
lea ebx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d670
sub eax, ebx
sar eax, 1
pop ebx
mov ecx, dword [edx - 0xc]
lea eax, [eax + ecx + 1]
or eax, eax
jns 0x40d695
push 0x80070057
call fcn.00404a10
pushal
popal
push 1
pop ecx
sub ecx, dword [edx - 4]
mov edx, dword [edx - 8]
sub edx, eax
or ecx, edx
jge 0x40d6ad
mov ecx, esi
call fcn.00404720
mov eax, dword [esi]
push edi
push eax
call dword [0x4331e0]
push eax
pop edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40d6d0
push ecx
push eax
call fcn.0041ff00
add esp, 8
test eax, eax
js 0x40d68b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40d68b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
sub edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret

Function at 0x40d750
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432867
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
sub eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x4369ac
mov dword [ebx + 0x60], 0x43692c
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x436784
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.00408010
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.0040f170
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40d7db
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push 0
mov ecx, esi
call fcn.00407ed0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], 0x4369a8
call fcn.0040edf0
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], 0x43696c
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0x468954]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4
Function at 0x40edf0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436930
call fcn.0041f8f2
push 4
mov dword [ebp - 4], 0
call fcn.00420245
mov edi, eax
add esp, 4
test edi, edi
je 0x40ee6c
call fcn.0041ef82
mov dword [edi], eax
call fcn.0041ed41
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ec76
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40ee62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ec9e
jmp 0x40ee6e
sub edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4250fc
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
cmp dword [0x46c2d0], 0
je 0x425123
push 0x46c2d0
call fcn.0042ea50
pop ecx
test eax, eax
je 0x425123
push dword [ebp + 8]
call dword [0x46c2d0]
pop ecx
call fcn.0042e994
push 0x43325c
push 0x433240
call fcn.004250d8
pop ecx
pop ecx
test eax, eax
jne 0x425191
push esi
push edi
push 0x425c7c
call fcn.00421f3d
mov eax, 0x433204
mov esi, 0x43323c
pop ecx
push eax
pop edi
cmp eax, esi
jae 0x425169
mov eax, dword [edi]
or eax, eax
je 0x425162
call eax
add edi, 4
cmp edi, esi
jb 0x42515a
cmp dword [0x46c2d4], 0
pop edi
pop esi
je 0x42518f
push 0x46c2d4
call fcn.0042ea50
pop ecx
or eax, eax
je 0x42518f
push 0
push 2
push 0
call dword [0x46c2d4]
sub eax, eax
pop ebp
ret

Function at 0x428473
Capabilities:
Read file on windows

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
push esi
mov esi, dword [ebp + 8]
or esi, esi
jne 0x428495
call fcn.00423e0e
mov dword [eax], 0x16
call fcn.00426836
jmp 0x42858f
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x42858f
test al, 0x40
jne 0x42858f
test al, 2
je 0x4284b7
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x42858f
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
jne 0x4284cd
push esi
call fcn.004285bb
pop ecx
jmp 0x4284d2
mov eax, dword [esi + 8]
mov dword [esi], eax
push dword [esi + 0x18]
push dword [esi + 8]
push esi
call fcn.00428595
pop ecx
push eax
call fcn.0043062c
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
je 0x42857e
cmp eax, 0xffffffff
je 0x42857e
test byte [esi + 0xc], 0x82
jne 0x428553
push esi
call fcn.00428595
pop ecx
cmp eax, 0xffffffff
je 0x42853e
push esi
call fcn.00428595
pop ecx
cmp eax, 0xfffffffe
je 0x42853e
push edi
push esi
call fcn.00428595
sar eax, 5
push esi
lea edi, [eax*4 + 0x46c1c0]
call fcn.00428595
and eax, 0x1f
pop ecx
shl eax, 6
add eax, dword [edi]
pop ecx
pop edi
jmp 0x428543
mov eax, 0x43a668
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x428553
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x428571
mov eax, dword [esi + 0xc]
test al, 8
je 0x428571
test eax, 0x400
jne 0x428571
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
dec dword [esi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x428592
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
and dword [esi + 4], 0
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x429959
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.004298dd
mov edi, eax
sub esi, esi
mov dword [ebp + 8], edi
cmp edi, esi
jne 0x429992
mov eax, ebx
call fcn.00429645
xor eax, eax
jmp 0x429b33
mov dword [ebp - 0x1c], esi
sub eax, eax
cmp dword [eax + 0x43aae8], edi
je 0x429a34
inc dword [ebp - 0x1c]
add eax, 0x30
cmp eax, 0xf0
jb 0x429997
cmp edi, 0xfde8
je 0x429b30
cmp edi, 0xfde9
je 0x429b30
movzx eax, di
push eax
call dword [0x4331c8]
test eax, eax
je 0x429b30
lea eax, [ebp - 0x18]
push eax
push edi
call dword [0x433160]
test eax, eax
je 0x429b24
push 0x101
lea eax, [ebx + 0x1c]
push esi
push eax
call fcn.00421da0
xor edx, edx
inc edx
add esp, 0xc
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], esi
cmp dword [ebp - 0x18], edx
jbe 0x429b0d
cmp byte [ebp - 0x12], 0
je 0x429aee
lea esi, [ebp - 0x11]
mov cl, byte [esi]
test cl, cl
je 0x429aee
movzx eax, byte [esi - 1]
movzx ecx, cl
jmp 0x429add
push 0x101
lea eax, [ebx + 0x1c]
push esi
push eax
call fcn.00421da0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
imul ecx, ecx, 0x30
mov dword [ebp - 0x20], esi
lea esi, [ecx + 0x43aaf8]
mov dword [ebp - 0x1c], esi
jmp 0x429a85
mov al, byte [esi + 1]
test al, al
je 0x429a8a
movzx edi, byte [esi]
movzx eax, al
jmp 0x429a7b
mov eax, dword [ebp - 0x20]
mov al, byte [eax + 0x43aae4]
or byte [ebx + edi + 0x1d], al
movzx eax, byte [esi + 1]
inc edi
cmp edi, eax
jbe 0x429a69
mov edi, dword [ebp + 8]
add esi, 2
cmp byte [esi], 0
jne 0x429a5a
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x20]
add esi, 8
cmp dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], esi
jb 0x429a85
push edi
pop eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], 1
call fcn.00429616
push 6
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
lea ecx, [ecx + 0x43aaec]
pop edx
mov si, word [ecx]
mov word [eax], si
add ecx, 2
add eax, 2
dec edx
jne 0x429abc
push ebx
pop esi
call fcn.004296a9
jmp 0x42998b
or byte [ebx + eax + 0x1d], 4
inc eax
cmp eax, ecx
jbe 0x429ad7
add esi, 2
cmp byte [esi - 1], 0
jne 0x429a1e
lea eax, [ebx + 0x1e]
mov ecx, 0xfe
or byte [eax], 8
inc eax
dec ecx
jne 0x429af6
mov eax, dword [ebx + 4]
call fcn.00429616
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], edx
jmp 0x429b10
mov dword [ebx + 8], esi
xor eax, eax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
lea edi, [ebx + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x429acb
cmp dword [0x468700], esi
jne 0x429984
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fd66
leave
ret
Function at 0x42ac24
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
mov ecx, dword [ebp + 8]
or ecx, ecx
je 0x42ac4b
push 0xffffffffffffffe0
sub edx, edx
pop eax
div ecx
cmp eax, dword [ebp + 0xc]
jae 0x42ac4b
call fcn.00423e0e
mov dword [eax], 0xc
sub eax, eax
pop ebp
ret
imul ecx, dword [ebp + 0xc]
push esi
mov esi, ecx
test esi, esi
jne 0x42ac57
inc esi
xor eax, eax
cmp esi, 0xffffffe0
ja 0x42ac71
push esi
push 8
push dword [0x4683bc]
call dword [0x4330a8]
or eax, eax
jne 0x42aca3
cmp dword [0x4686f4], 0
je 0x42ac96
push esi
call fcn.004282d9
pop ecx
test eax, eax
jne 0x42ac57
mov eax, dword [ebp + 0x10]
or eax, eax
je 0x42ac92
mov dword [eax], 0xc
sub eax, eax
jmp 0x42aca3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42aca3
mov dword [ecx], 0xc
pop esi
pop ebp
ret
Function at 0x42e228
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
jne 0x42e345
and dword [ebp - 0x8c], 0
push 0x80
lea ebx, [ebp - 0x84]
mov ecx, ebx
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.00431b51
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x42e2e2
call dword [0x433050]
cmp eax, 0x7a
jne 0x42e303
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.00431b51
add esp, 0x14
mov dword [ebp - 0x90], eax
test eax, eax
je 0x42e303
inc esi
push esi
push eax
call fcn.00423d32
push eax
pop ebx
pop ecx
pop ecx
test ebx, ebx
je 0x42e303
push dword [ebp - 0x90]
mov dword [ebp - 0x8c], esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.00431b51
push eax
pop esi
add esp, 0x14
test esi, esi
je 0x42e2fc
push 1
push esi
call fcn.00423d32
mov dword [edi], eax
sub edi, edi
pop ecx
pop ecx
cmp eax, edi
jne 0x42e315
cmp dword [ebp - 0x8c], edi
je 0x42e303
push ebx
call fcn.0042020b
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fd66
leave
ret
lea ecx, [esi - 1]
push ecx
push ebx
push esi
push eax
call fcn.0042c1b6
add esp, 0x10
or eax, eax
jne 0x42e33b
cmp dword [ebp - 0x8c], edi
je 0x42e337
push ebx
call fcn.0042020b
pop ecx
xor eax, eax
jmp 0x42e306
push edi
push edi
push edi
push edi
push edi
call fcn.004267e4
cmp dword [ebp + 0xc], 2
jne 0x42e393
mov esi, dword [0x433118]
xor eax, eax
push eax
push eax
push dword [ebp + 0x14]
mov dword [edi], eax
push dword [ebp + 0x10]
call esi
mov ebx, eax
or ebx, ebx
je 0x42e383
push 2
push ebx
call fcn.00423d32
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
je 0x42e383
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x42e337
push dword [edi]
call fcn.0042020b
and dword [edi], 0
pop ecx
jmp 0x42e303
cmp dword [ebp + 0xc], 0
jne 0x42e303
and dword [ebp - 0x88], 0
push 2
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20000000
push eax
push dword [ebp + 0x10]
call dword [0x433118]
or eax, eax
je 0x42e303
mov al, byte [ebp - 0x88]
mov byte [edi], al
jmp 0x42e337

Function at 0x42e9c0
Capabilities:
Parse pe header

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x42e9d6
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42e9d2
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
push edx
pop eax
pop ebp
ret
Function at 0x42ea00
Capabilities:
Enumerate pe sections

Disassembly:
push eax
pop eax
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
or esi, esi
je 0x42ea3d
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x42ea35
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x42ea3f
inc edx
add eax, 0x28
cmp edx, esi
jb 0x42ea25
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42f231
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
sub ebx, ebx
cmp esi, ebx
je 0x42f259
cmp dword [ebp + 0x10], ebx
je 0x42f259
cmp byte [esi], bl
jne 0x42f25f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42f259
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop esi
pop ebx
leave
ret
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.00420f0b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], ebx
jne 0x42f290
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42f27f
movzx ecx, byte [esi]
mov word [eax], cx
cmp byte [ebp - 4], bl
je 0x42f28b
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
xor eax, eax
inc eax
jmp 0x42f25b
lea eax, [ebp - 0x10]
push eax
movzx eax, byte [esi]
push eax
call fcn.0042f361
pop ecx
pop ecx
or eax, eax
je 0x42f320
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
cmp ecx, 1
jle 0x42f2d6
cmp dword [ebp + 0x10], ecx
jl 0x42f2d6
xor edx, edx
cmp dword [ebp + 8], ebx
setne dl
push edx
push dword [ebp + 8]
push ecx
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42f2e6
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0xac]
jb 0x42f301
cmp byte [esi + 1], bl
je 0x42f301
mov eax, dword [eax + 0xac]
cmp byte [ebp - 4], bl
je 0x42f25b
mov ecx, dword [ebp - 8]
and dword [ecx + 0x70], 0xfffffffd
jmp 0x42f25b
call fcn.00423e0e
mov dword [eax], 0x2a
cmp byte [ebp - 4], bl
je 0x42f318
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
or eax, 0xffffffff
jmp 0x42f25b
xor eax, eax
cmp dword [ebp + 8], ebx
setne al
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push 1
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
jne 0x42f27f
jmp 0x42f301

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10009465
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x10015837
call fcn.10015520
lea eax, [ebp - 0xd]
push eax
call fcn.10012e2c
mov dword [0x10019020], eax
cmp eax, 0xffffffff
jne 0x100094fa
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
push 0x10001270
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x100094b8
mov dword [0x10019020], esi
jmp 0x100094e7
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
push 0x10019020
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x100012e8
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
not eax
and dword [0x10019020], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x100094fa
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_RegCloseKey]
call fcn.100154e9
ret