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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x75348
call fcn.00403940
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x75320], 0
push eax
push eax
push eax
mov word [ebp - 0x7530c], ax
lea eax, [ebp - 0x7531c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x75320]
mov dword [ebp - 0x7531c], 0x10001
push eax
mov dword [ebp - 0x75318], 0x3e80
mov dword [ebp - 0x75314], 0x3e80
mov dword [ebp - 0x75310], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x75300
lea eax, [ebp - 0x75308]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, ecx
mov bl, cl
shr eax, 8
mov dword [ebp - 0x75324], eax
mov eax, 0xff00ff01
mov esi, dword [ebp - 0x75324]
mul ecx
mov eax, 0x80808081
or esi, ecx
shr edx, 8
sub bl, dl
shr esi, 8
mul ecx
inc esi
mov eax, ecx
shr edx, 7
add dl, cl
or bl, dl
xor edx, edx
div esi
or bl, cl
movsx eax, cl
xor dl, cl
add bl, dl
mov edx, ecx
shr edx, 0xa
and dl, 0x2a
movsx edx, dl
imul edx, eax
mov eax, dword [ebp - 0x75324]
and al, cl
add bl, dl
add bl, al
mov byte [ebp + ecx - 0x75308], bl
inc ecx
cmp ecx, 0x75300
jb 0x402525
lea eax, [ebp - 0x75308]
mov dword [ebp - 0x75340], 0x75300
mov dword [ebp - 0x75344], eax
lea eax, [ebp - 0x75344]
push 0x20
push eax
push dword [ebp - 0x75320]
mov dword [ebp - 0x7533c], 0
mov dword [ebp - 0x75338], 0
mov dword [ebp - 0x75334], 0
mov dword [ebp - 0x75330], 0
mov dword [ebp - 0x7532c], 0
mov dword [ebp - 0x75328], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x75344]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x75344]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00402c4b
mov esp, ebp
pop ebp
ret
Function at 0x402640
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403940
mov eax, dword [0x406004]
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
mov edx, eax
mov ecx, eax
shr edx, 0xd
shr ecx, 8
or dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov ecx, eax
shr ecx, 0x10
xor cl, al
or dl, cl
sub dl, 0x40
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x4026c3
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.00402c4b
mov esp, ebp
pop ebp
ret
Function at 0x4027a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403940
mov eax, dword [0x406004]
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
mov cl, al
mov edx, eax
xor cl, 0x3f
shr edx, 5
or dl, cl
mov cl, al
shl cl, 2
or dl, cl
mov ecx, eax
shr ecx, 0xb
and dl, cl
movsx ecx, dl
imul ecx, ecx, 0x64
mov byte [ebp + eax - 0x3a988], cl
inc eax
cmp eax, 0x3a980
jb 0x402823
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.00402c4b
mov esp, ebp
pop ebp
ret
Function at 0x403481
Capabilities:
Parse pe header

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

Disassembly:
push 0x70
push 0x403604
call fcn.0040196d
xor ebx, ebx
push ebx
mov edi, fcn.00401a06
call edi
cmp word [eax], 0x5a4d
jne 0x4016ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4016ed
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401705
cmp eax, 0x20b
je 0x4016f2
mov dword [ebp - 0x1c], ebx
jmp 0x401719
cmp dword [ecx + 0x84], 0xe
jbe 0x4016ed
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x401713
cmp dword [ecx + 0x74], 0xe
jbe 0x4016ed
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [0x402058]
pop ecx
or dword [0x4034f8], 0xffffffff
or dword [0x4034fc], 0xffffffff
call dword [0x402054]
mov ecx, dword [0x4031b8]
mov dword [eax], ecx
call dword [section..rdata]
mov ecx, dword [0x4031b4]
mov dword [eax], ecx
mov eax, dword [0x40204c]
mov eax, dword [eax]
mov dword [0x4034f4], eax
call fcn.004018cf
call fcn.0040196a
cmp dword [0x403090], ebx
jne 0x401779
push fcn.0040196a
call dword [0x402048]
pop ecx
call fcn.00401957
push 0x403010
push 0x403008
call dword [0x402044]
push 0x401913
call fcn.004018bd
mov eax, dword [0x4031b0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4031ac]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0x402040]
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp eax, ebx
jge 0x4017cf
push 8
call dword [0x40203c]
pop ecx
push 0x403004
push section..data
call dword [0x402044]
pop ecx
pop ecx
mov eax, dword [0x402038]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x401829
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x4017fe
cmp al, 0x22
jne 0x4017f0
cmp byte [esi], 0x22
jne 0x401807
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x401811
cmp al, 0x20
jbe 0x401803
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call fcn.00401a12
test byte [ebp - 0x4c], 1
je 0x401834
movzx eax, word [ebp - 0x48]
jmp 0x401837
cmp byte [esi], 0x20
jbe 0x401807
inc esi
mov dword [ebp - 0x34], esi
jmp 0x401829
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004013d9
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x401854
push esi
call dword [0x402034]
call dword [0x402030]
jmp 0x40188a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004019a8
ret
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43196e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x43197d
pop dword [ebp - 0x4c]
mov eax, 0x5bbd3547
add eax, 0xa485e436
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3d810
push 0
mov eax, 0xc956a085
add eax, 0x36ecdfab
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x4fd769b7
add ecx, 0xb028e978
mov edx, eax
mov edi, 0x44c600
add edi, dword [ebp - 0x4c]
mov esi, 0xdde25b66
sub dword [ebp - 0x20], eax
mov ebx, dword [edi]
xor ebx, esi
xor dword [ebp - 0x14], ebx
mov dword [edx], ebx
xor dword [ebp - 0x1c], 0xa4a45def
add edx, 4
add edi, 4
loop 0x4319d0
add eax, 0x7f4efcf5
sub eax, 0x7f4dbd66
xor ebx, ebx
add ebx, eax
add eax, 0xa1e78b03
sub eax, 0xa1e78afe
mov ecx, 0xfb28b56e
sub ecx, 0xfae8b56e
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x40186a
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffe04
mov eax, dword [0x40a310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00401844
mov edi, eax
pop ecx
mov dword [ebp - 0x1fc], edi
xor ebx, ebx
cmp edi, ebx
je 0x401a0a
push 3
call fcn.00403627
pop ecx
cmp eax, 1
je 0x4019b6
push 3
call fcn.00403627
test eax, eax
pop ecx
jne 0x4018c8
cmp dword [section..data], 1
je 0x4019b6
cmp esi, 0xfc
je 0x401a0a
push str.Runtime_Error__n_nProgram:
push 0x314
mov edi, 0x40ab80
push edi
call fcn.004035c4
add esp, 0xc
or eax, eax
jne 0x4019ac
push 0x104
mov esi, 0x40abb2
push esi
push ebx
mov word [0x40adba], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, 0x2fb
test eax, eax
jne 0x401934
push str._program_name_unknown_
push ebx
push esi
call fcn.004035c4
sub esp, 0xfffffff4
test eax, eax
je 0x401934
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402ecc
push esi
call fcn.004035a9
pop ecx
inc eax
cmp eax, 0x3c
jbe 0x40196b
push esi
call fcn.004035a9
lea eax, [eax*2 + 0x40ab3c]
mov ecx, eax
sub ecx, esi
push 3
sar ecx, 1
push 0x407b5c
sub ebx, ecx
push ebx
push eax
call fcn.004034dc
add esp, 0x14
test eax, eax
jne 0x401928
push 0x407b54
mov esi, 0x314
push esi
push edi
call fcn.00403467
sub esp, 0xfffffff4
or eax, eax
jne 0x401928
push dword [ebp - 0x1fc]
push esi
push edi
call fcn.00403467
add esp, 0xc
test eax, eax
jne 0x401928
push 0x12010
push 0x407b08
push edi
call fcn.004032fb
add esp, 0xc
jmp 0x401a0a
push ebx
push ebx
push ebx
push ebx
push ebx
jmp 0x40192f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x401a0a
cmp esi, 0xffffffff
je 0x401a0a
xor eax, eax
mov cl, byte [edi + eax*2]
mov byte [ebp + eax - 0x1f8], cl
cmp word [edi + eax*2], bx
je 0x4019e3
inc eax
cmp eax, 0x1f4
jb 0x4019cb
push ebx
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 5], bl
call fcn.00403270
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
call fcn.00403666
leave
ret
Function at 0x401f2c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x401f48
xor eax, eax
jmp 0x401fbf
cmp word [esi], bx
je 0x401f5d
add eax, 2
cmp word [eax], bx
jne 0x401f4d
sub eax, 0xfffffffe
cmp word [eax], bx
jne 0x401f4d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x401fb5
push eax
call fcn.00403ee4
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x401fb5
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push ebx
push ebx
call edi
or eax, eax
jne 0x401fa9
push dword [ebp - 4]
call fcn.00403e4b
pop ecx
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 4]
jmp 0x401fbe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402ecc
Capabilities:
Terminate process

Disassembly:
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
mov edi, edi
call fcn.00402da3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5a4d
mov edi, edi
mov ecx, dword [ebp + 8]
cmp word [ecx], ax
je 0x403136
pop ebp
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403132
mov ecx, 0x10b
xor edx, edx
cmp word [eax + 0x18], cx
pop ebp
sete dl
mov eax, edx
ret
Function at 0x4032fb
Capabilities:
Link many functions at runtime

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, dword [0x40a310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push ebx
mov dword [ebp - 0x1c], eax
call fcn.00402256
and dword [ebp - 0x14], 0
cmp dword [0x40b43c], 0
mov dword [ebp - 0x18], eax
jne 0x4033ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
or ebx, ebx
je 0x403456
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
or eax, eax
je 0x403456
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b43c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b440], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b444], eax
call edi
push eax
call esi
mov dword [0x40b44c], eax
or eax, eax
je 0x4033ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b448], eax
mov eax, dword [0x40b448]
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403407
cmp dword [0x40b44c], ecx
je 0x403407
push eax
call edi
push dword [0x40b44c]
mov esi, eax
call edi
mov ebx, eax
test esi, esi
je 0x403407
test ebx, ebx
je 0x403407
call esi
or eax, eax
je 0x4033fe
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0xc
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4033fe
test byte [ebp - 8], 1
jne 0x403407
or dword [ebp + 0x10], 0x200000
jmp 0x40343a
mov eax, dword [0x40b440]
cmp eax, dword [ebp - 0x18]
je 0x40343a
push eax
call edi
test eax, eax
je 0x40343a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40343a
mov eax, dword [0x40b444]
cmp eax, dword [ebp - 0x18]
je 0x40343a
push eax
call edi
or eax, eax
je 0x40343a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b43c]
call edi
test eax, eax
je 0x403456
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403458
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
call fcn.00403666
leave
ret
Function at 0x403666
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a310]
jne 0x403670
repz ret
jmp 0x4048d6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40b578], eax
mov dword [0x40b574], ecx
mov dword [0x40b570], edx
mov dword [0x40b56c], ebx
mov dword [0x40b568], esi
mov dword [0x40b564], edi
mov word [0x40b590], ss
mov word [0x40b584], cs
mov word [0x40b560], ds
mov word [0x40b55c], es
mov word [0x40b558], fs
mov word [0x40b554], gs
pushfd
pop dword [0x40b588]
mov eax, dword [ebp]
mov dword [0x40b57c], eax
mov eax, dword [ebp + 4]
mov dword [0x40b580], eax
lea eax, [ebp + 8]
mov dword [0x40b58c], eax
mov edi, dword [ebp - 0x320]
mov dword [0x40b4c8], 0x10001
mov eax, dword [0x40b580]
mov dword [0x40b47c], eax
mov dword [0x40b470], 0xc0000409
mov dword [0x40b474], 1
mov eax, dword [0x40a310]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40a314]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40b4c0], eax
push 1
call fcn.00404811
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x408080
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40b4c0], 0
jne 0x4049c8
push 1
call fcn.00404811
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x4048d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a310]
jne 0x403670
repz ret
jmp 0x4048d6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40b578], eax
mov dword [0x40b574], ecx
mov dword [0x40b570], edx
mov dword [0x40b56c], ebx
mov dword [0x40b568], esi
mov dword [0x40b564], edi
mov word [0x40b590], ss
mov word [0x40b584], cs
mov word [0x40b560], ds
mov word [0x40b55c], es
mov word [0x40b558], fs
mov word [0x40b554], gs
pushfd
pop dword [0x40b588]
mov eax, dword [ebp]
mov dword [0x40b57c], eax
mov eax, dword [ebp + 4]
mov dword [0x40b580], eax
lea eax, [ebp + 8]
mov dword [0x40b58c], eax
mov edi, dword [ebp - 0x320]
mov dword [0x40b4c8], 0x10001
mov eax, dword [0x40b580]
mov dword [0x40b47c], eax
mov dword [0x40b470], 0xc0000409
mov dword [0x40b474], 1
mov eax, dword [0x40a310]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40a314]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40b4c0], eax
push 1
call fcn.00404811
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x408080
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40b4c0], 0
jne 0x4049c8
push 1
call fcn.00404811
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x402698
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026a6
call dword [0x441014]
or eax, eax
je 0x4026a7
ret
mov al, 1
jmp fcn.00402724

Function at 0x4026b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026be
call dword [0x441018]
or eax, eax
jne 0x4026bf
ret
mov al, 2
jmp fcn.00402724

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402700
test edx, edx
je 0x4026ea
push eax
mov eax, ecx
call dword [0x44101c]
pop ecx
or eax, eax
je 0x4026f9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402724
mov dword [eax], edx
mov eax, ecx
call dword [0x441018]
or eax, eax
jne 0x4026e3
ret
mov al, 1
jmp fcn.00402724
test edx, edx
je 0x402714
push eax
mov eax, edx
call dword [0x441014]
pop ecx
or eax, eax
je 0x4026f9
mov dword [ecx], eax
ret

Function at 0x402724
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x442004]
test ecx, ecx
je 0x402734
pop edx
call ecx
dec eax
mov al, byte [eax + 0x40274d]
jns 0x402748
call fcn.00405c24
mov eax, dword [eax + 4]
jmp fcn.00403888

Function at 0x402868
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402897
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403978
jmp 0x4028b5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004027f0
mov edi, eax
test ebx, ebx
je 0x4028b5
cmp dword [esi], 0
je 0x4028b5
dec ebx
jmp 0x40289e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c04
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402be4
xor eax, eax
push ebp
push 0x402bdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c20
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402be4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e84
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402e9e
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402e9e
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402e8a
mov al, 0xa
jmp fcn.00402724
ret

Function at 0x402ed0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x442018], 0
je 0x4028db
call dword [0x442018]
mov eax, 0xd2
jmp fcn.00403888
push eax
push ecx
mov eax, dword [eax]
call fcn.00402ea0
pop ecx
pop eax
je 0x402edf
jmp ebx
pop ecx
jmp 0x4028cc