joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403ae0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor esi, esi
lea edi, [esi + 0xd]
nop dword [eax + eax]
mov eax, esi
mov ecx, esi
xor eax, 0x200
shr ecx, 9
shr eax, 9
xor edx, edx
dec ecx
xor eax, ecx
div edi
mov eax, 0xcccccccd
imul edx, esi
mul edx
shr edx, 3
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x40c460]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [0x40c3f8]
addsd xmm0, qword [0x40c400]
cvttsd2si eax, xmm0
mov byte [ebp + esi - 0x3a988], al
inc esi
cmp esi, 0x3a980
jb 0x402380
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00402cd3
mov esp, ebp
pop ebp
ret
Function at 0x402650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403ae0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
cmp dword [0x40e3c8], 5
jl 0x4027d0
movaps xmm5, xmmword [0x40c420]
xor ecx, ecx
movaps xmm3, xmmword [0x40c430]
movaps xmm4, xmmword [0x40c440]
movaps xmm6, xmmword [0x40c450]
movups xmm7, xmmword [0x40c410]
lea eax, [ecx + 4]
nop dword [eax + eax]
movd xmm0, ecx
movaps xmm1, xmm6
pshufd xmm2, xmm0, 0
add ecx, 8
paddd xmm2, xmm5
xorps xmm1, xmm2
movaps xmm0, xmm2
psrld xmm0, 0xe
psrld xmm1, 0xa
andps xmm0, xmm3
andps xmm1, xmm4
paddd xmm0, xmm4
paddd xmm1, xmm3
pmulld xmm1, xmm0
pmulld xmm1, xmm2
psrld xmm2, 8
andps xmm2, xmm3
vpsrlvd xmm0, xmm1, xmm2
pshufb xmm0, xmm7
movd dword [ebp + eax - 0x3a98c], xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
xorps xmm1, xmm6
psrld xmm0, 0xe
psrld xmm1, 0xa
andps xmm0, xmm3
andps xmm1, xmm4
paddd xmm0, xmm4
paddd xmm1, xmm3
pmulld xmm1, xmm0
pmulld xmm1, xmm2
psrld xmm2, 8
andps xmm2, xmm3
vpsrlvd xmm0, xmm1, xmm2
pshufb xmm0, xmm7
movd dword [ebp + eax - 0x3a988], xmm0
add eax, 8
cmp eax, 0x3a984
jb 0x402710
jmp 0x40280b
mov edx, eax
mov ecx, eax
xor edx, 0x400
shr ecx, 0xe
shr edx, 0xa
and ecx, 3
and edx, 5
add ecx, 5
add edx, 3
imul edx, ecx
mov ecx, eax
shr ecx, 8
and ecx, 3
imul edx, eax
shr edx, cl
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x4027d0
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402cd3
mov esp, ebp
pop ebp
ret
Function at 0x403504
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403543
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403543
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403543
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403543
cmp dword [ecx + 0x74], 0xe
jbe 0x403543
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402b40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ac2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5662f4]
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], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050f4fd
push 4
mov dword [ebp - 4], 0
call fcn.00407876
mov edi, eax
add esp, 4
test edi, edi
je 0x402bbc
call fcn.0050f80d
mov dword [edi], eax
call fcn.0050f5cc
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0050f4be
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402bb2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050f4e6
jmp 0x402bbe
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
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 0x412f09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x412f50
call fcn.00408ec3
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412f50
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x412f6c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00412a09
mov esi, eax
test edi, edi
je 0x412f6a
test ebx, ebx
je 0x412f6a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41334d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x511656
call fcn.004f6fdd
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x413372
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4133c4
call fcn.0040a10e
push eax
lea ecx, [ebp - 0x10]
call fcn.004085e1
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f71f4
push eax
call fcn.00407afe
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408325
mov eax, esi
call fcn.004f70b5
ret 8

Function at 0x414aa2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00414746
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x414aec
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040939e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040936f
jmp 0x414af7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004133cc
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x414afd
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00413017
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x414b3a
call fcn.00414746
mov dword [esi + 0xc], 1
jmp 0x414b3f
call fcn.00414746
cmp dword [esi], 0
je 0x414b88
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x414b60
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040939e
jmp 0x414b72
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00408731
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040936f
jmp 0x414bac
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x414bac
push dword [esi]
push dword [ebp + 8]
call fcn.004133cc
pop esi
pop ebp
ret 0xc

Function at 0x4176d0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5662f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x417705
xor eax, eax
jmp 0x417758
lea eax, [ebp - 0x210]
push eax
call fcn.004f740e
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x417736
push 0x5492e8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f9911
add esp, 0xc
test eax, eax
jne 0x417701
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f9911
add esp, 0xc
test eax, eax
jne 0x417701
lea eax, [ebp - 0x210]
push eax
call fcn.0040e3f8
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f5f9c
leave
ret

Function at 0x440f52
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004cb7c1
call fcn.0040876c
cmp dword [eax + 0x14], 0
jne 0x440f6f
mov ecx, esi
pop esi
jmp fcn.00440a57
pop esi
ret

Function at 0x444686
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0040d067
call fcn.0040876c
cmp dword [eax + 0x14], 0
jne 0x4446a3
mov ecx, esi
pop esi
jmp fcn.00444059
pop esi
ret
Function at 0x4516f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00408ec3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45172b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0045132f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x451789
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4517ad
cmp dword [edi + 0x74], 0
jne 0x4517ad
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00408ec3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045174a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x481f9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x481fb8
call fcn.00408ec3
mov esi, dword [eax + 0xc]
push dword [0x56c5cc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x481fd6
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x481fce
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x482003
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x481fd0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00481ecc
mov esi, eax
jmp 0x481ff5
Function at 0x4d6bcd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d6be5
mov edi, dword [esi + 0xc]
jmp 0x4d6c25
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d6bfe
call fcn.00415c2d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d6c13
call fcn.00415c2d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d6c25
call fcn.00415c2d
call fcn.00408ec3
cmp dword [eax + 0x3c], 0
je 0x4d6c3a
push edi
mov ecx, ebx
call fcn.004d59f7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d6ae7
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d6c58
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d6c64
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f5f9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5662f4]
jne 0x4f5fa6
repz ret
jmp fcn.004fc174
Function at 0x508744
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5662f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004feb0d
and dword [ebp - 0x14], 0
cmp dword [0x56ec7c], 0
mov dword [ebp - 0x18], eax
jne 0x5087f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50889f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x547364
push ebx
call edi
test eax, eax
je 0x50889f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x547354
push ebx
mov dword [0x56ec7c], eax
call edi
push eax
call esi
push 0x547340
push ebx
mov dword [0x56ec80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56ec84], eax
call edi
push eax
call esi
mov dword [0x56ec8c], eax
test eax, eax
je 0x5087f7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56ec88], eax
mov eax, dword [0x56ec88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x508850
cmp dword [0x56ec8c], ecx
je 0x508850
push eax
call esi
push dword [0x56ec8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x508850
test ebx, ebx
je 0x508850
call edi
test eax, eax
je 0x508847
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x508847
test byte [ebp - 8], 1
jne 0x508850
or dword [ebp + 0x10], 0x200000
jmp 0x508883
mov eax, dword [0x56ec80]
cmp eax, dword [ebp - 0x18]
je 0x508883
push eax
call esi
test eax, eax
je 0x508883
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x508883
mov eax, dword [0x56ec84]
cmp eax, dword [ebp - 0x18]
je 0x508883
push eax
call esi
test eax, eax
je 0x508883
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56ec7c]
call esi
test eax, eax
je 0x50889f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5088a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f5f9c
leave
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432ec0
Capabilities:
Encode data using xor

Disassembly:
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
add dword [eax], esp
add byte [eax], cl
add byte [edx], al
add byte [eax], al
add dword [eax], esp
add byte [eax], cl
add byte [edx], al
add byte [eax], al
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
add al, 0
add byte [eax], al
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
sub ch, byte [edx]
mov dl, 0x93
push 0x35
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc dword [eax]
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x6e045ecb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2ef65fb7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x726e4482
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x20ee0675
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x44b610
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardType]
push 0
call esi
cmp eax, 7
jne 0x44b624
push 1
call esi
mov ecx, dword [sym.imp.KERNEL32.dll_RaiseException]
mov al, 2
mov byte [0x661220], al
mov byte [0xa63704], al
mov eax, 0xd7b0
mov dword [0x661238], ecx
mov word [0xa6375c], ax
mov word [0xa6375e], ax
mov word [0x661634], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x661268], eax
call esi
and eax, 0x80000000
cmp eax, 0x80000000
je 0x44b678
call esi
cmp al, 4
ja 0x44b67e
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x661264], eax
pop esi
ret