joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x47bb0839
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x324e2423
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402db9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x437e14]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402e22
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.0040197a
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.00402e9d
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x402e3a
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004025b3
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x402dea
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004078db
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004025b3
jmp 0x402e24

Function at 0x402e9d
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
push str.Dont_afraid
push 0x438fa8
call fcn.0040131a
push eax
call fcn.00401807
mov edi, dword [esp + 0x20]
add esp, 0xc
lea eax, [edi + 0x10]
mov esi, dword [eax]
mov ebx, esi
xor ebx, dword [esp + 0x18]
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0xc], eax
jb 0x402ed8
mov edi, dword [edi]
mov dword [esp + 0x14], edi
push edi
shr esi, 2
push esi
push str._x_and__p
call fcn.0040466a
add esp, 0xc
test esi, esi
je 0x402f31
push ebp
mov ebp, edi
mov edi, esi
push 4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00409d20
imul ecx, dword [esp + 0x28], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x1c], eax
sub edi, 1
jne 0x402ef3
mov edi, dword [esp + 0x18]
pop ebp
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [eax]
and eax, 3
sub eax, 1
je 0x402f5d
sub eax, 1
je 0x402f53
sub eax, 1
jne 0x402f6b
movsx ecx, byte [edi + esi*4 + 2]
shl ecx, 0x10
movsx eax, byte [edi + esi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [edi + esi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop ecx
ret
Function at 0x404634
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x437e14]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40461a
jmp 0xe9ac2e2c
call fcn.00402f8a
sub eax, eax
je 0x404625
call 0x7480ae94
inc edx
add al, ch
cmp eax, dword [eax]
add byte [eax], al
push str.So__lets_start_the_party
call fcn.0040466a
call fcn.00404515
push 0x75
push str.Solution_a_lot_of_many_problems__d
call fcn.00404687
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004019d3
call fcn.00401fbc
push str.duYayx8383
push 0x438fa8
call fcn.0040131a
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406025
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x406046
jl 0x40603d
test edi, edi
jne 0x406046
xor eax, eax
xor edx, edx
jmp 0x406107
cmp dword [ebx + 0x38], 0
je 0x40605b
push eax
push edi
push dword [ebp + 8]
call fcn.0040610d
jmp 0x406107
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4060a2
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4060a2
cmp eax, edi
jb 0x40607c
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409d20
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4060a8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4060fc
mov ecx, ebx
call fcn.004058c5
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4060e7
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041140c
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4060fc
jmp 0x4060ba
test edx, edx
je 0x4060fc
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041140c
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4084e9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408528
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408528
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408528
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408528
cmp dword [ecx + 0x74], 0xe
jbe 0x408528
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x416e16
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b118
push 0x42b110
push str.FlsAlloc
push 0x1e
call fcn.00416c83
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416e4a
push dword [ebp + 8]
mov ecx, esi
call dword [0x427134]
call esi
jmp 0x416e50
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x416e94
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b128
push 0x42b120
push str.FlsGetValue
push 0x20
call fcn.00416c83
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416ecb
push dword [ebp + 8]
mov ecx, esi
call dword [0x427134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41a736
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a3d8

Function at 0x41a741
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a567

Function at 0x41ab3b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408650
mov eax, dword [0x437e14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004183ab
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ab7d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41acd9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426210
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x439ad8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041bd0b
mov ecx, dword [esi*4 + 0x439ad8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41acd2
cmp eax, dword [edi + ecx + 0x24]
jne 0x41acd2
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41acd2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041bd0b
add esp, 0x14
test edx, edx
jl 0x41acd2
jg 0x41ac48
test eax, eax
jb 0x41acd2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41acd2
jl 0x41ac62
cmp dword [ebp - 0x1008], eax
ja 0x41acd2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ac80
test ebx, ebx
je 0x41acb9
cmp ecx, edi
jae 0x41acb9
mov al, byte [ecx]
cmp al, 0xd
jne 0x41ac9a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41aca6
cmp byte [ecx + 1], 0xa
jne 0x41aca6
inc ecx
jmp 0x41aca6
movzx eax, al
movsx eax, byte [eax + 0x4380c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ac80
cmp edx, ebx
jne 0x41ac80
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41acd7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004078db
leave
ret
Function at 0x41b1a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x439ad8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b1e9
cmp byte [ebx], 0xa
jne 0x41b1e9
or byte [eax + edi + 0x28], 4
jmp 0x41b1ee
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b2ec
mov al, byte [edx]
cmp al, 0x1a
je 0x41b2ce
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41b21d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41b242
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41b24c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41b1ff
jmp 0x41b2ec
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b2c9
cmp dword [ebp - 0xc], 0
je 0x41b2c9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x439ad8]
test byte [eax + edi + 0x28], 0x48
je 0x41b2a3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b28e
mov byte [esi], dl
jmp 0x41b29f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x439ad8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b2ec
cmp byte [ebp - 1], 0xa
jne 0x41b2b2
cmp esi, ebx
jne 0x41b2b2
mov byte [esi], 0xa
jmp 0x41b2eb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041bd29
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b2ec
mov byte [esi], 0xd
jmp 0x41b2eb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x439ad8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b2e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b2ec
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b2f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x439ad8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b338
cmp word [esi], dx
jne 0x41b338
or byte [edi + eax + 0x28], 4
jmp 0x41b33d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41b490
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41b470
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b37f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b3b5
cmp eax, edx
jae 0x41b3c1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41b357
jmp 0x41b490
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b46c
cmp dword [ebp - 0x14], 0
je 0x41b46c
mov eax, dword [ebx*4 + 0x439ad8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b444
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b40d
mov word [esi], cx
jmp 0x41b440
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x439ad8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x439ad8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x439ad8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b490
pop ebx
cmp word [ebp - 4], bx
jne 0x41b455
cmp esi, dword [ebp + 0xc]
jne 0x41b455
mov word [esi], bx
jmp 0x41b48d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041bd29
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b490
push 0xd
jmp 0x41b489
mov ecx, dword [ebx*4 + 0x439ad8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b487
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b490
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f09d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41f13a
push ebx
push esi
call fcn.0041f066
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041dceb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f0e7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f139
push edi
push eax
call fcn.00417449
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f107
call fcn.0041694b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f138
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041dceb
add esp, 0x20
test eax, eax
jne 0x41f126
push edi
call fcn.0041694b
jmp 0x41f12e
push ebx
call fcn.0041694b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x426010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42603d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42603d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x434b70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b457b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a638f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434bf2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a3d6d
mov eax, dword [eax]
push 0x5b4210
push eax
call fcn.00496514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a661a
test bl, bl
je 0x434bf2
push 0x5b4210
lea ecx, [esp + 0xc]
call fcn.004a69f6
push 0x5b7da0
lea ecx, [esp + 0xc]
call fcn.004a69f6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x434c2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a661a
jmp 0x434cf9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x434cb2
lea edx, [esp + 0x7c]
push 0x5b7d9c
push edx
call fcn.00496514
add esp, 8
test eax, eax
je 0x434cb2
lea eax, [esp + 0x7c]
push 0x5b7d98
push eax
call fcn.00496514
add esp, 8
test eax, eax
je 0x434cb2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434c42
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a661a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x435510
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x435572
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x435580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b45fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5c03b4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4356b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4355e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a661a
xor eax, eax
jmp 0x43572f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a67a3
push esi
lea ecx, [esp + 0xc]
call fcn.004a6a32
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43570d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00435510
test eax, eax
jne 0x43570d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00435510
test eax, eax
jne 0x43570d
lea eax, [esp + 0x14]
push 0x5b7db4
push eax
call fcn.004976c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4356ec
lea ecx, [esp + 0x14]
push 0x5b7db0
push ecx
call fcn.00497640
mov esi, eax
add esp, 8
test esi, esi
jne 0x4356ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4356ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a6753
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4355fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a661a
xor eax, eax
jmp 0x43572f
mov byte [esi], 0
push 0x5b7dac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a661a
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43b26a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b4d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004a7c3f
xor ebp, ebp
mov dword [esi], 0x4d70c8
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.00480bd0
call fcn.0042a410
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004a552e
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0042a410
mov dword [ebx], 0x4d4d9c
mov dword [edi], 0x4d6fec
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.0042a410
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x4d6ff4
mov dword [esi + 0xac], ebp
call fcn.004b0512
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004ad3b1
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b4de5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4d6ff4
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.004ad408
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x4d4d98
call fcn.0042a610
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.004ad408
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4d4d98
call fcn.0042a610
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004a5561
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x4d4d98
call fcn.0042a610
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004ae840
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret