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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1006945
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1006922
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1006961
dec esi
je 0x100695a
dec esi
jne 0x1006966
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x65a3e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19d000]
push edi
jmp 0x65a3fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x65a401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a3f0
mov eax, 1
add ebx, ebx
jne 0x65a413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x65a424
jne 0x65a443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a443
dec eax
add ebx, ebx
jne 0x65a430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x65a408
add ebx, ebx
jne 0x65a43f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x65a495
xor ecx, ecx
sub eax, 3
jb 0x65a45b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x65a4ca
sar eax, 1
mov ebp, eax
jmp 0x65a466
add ebx, ebx
jne 0x65a466
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a434
inc ecx
add ebx, ebx
jne 0x65a474
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a434
add ebx, ebx
jne 0x65a481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x65a476
jne 0x65a492
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x65a476
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x65a4b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x65a4a6
jmp 0x65a3f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x65a4b4
add edi, ecx
jmp 0x65a3f6
pop esi
mov edi, esi
mov ecx, 0x44c8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x65a4d2
cmp byte [edi], 0x1e
jne 0x65a4d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x65a4d7
lea edi, [esi + 0x257000]
mov eax, dword [edi]
or eax, eax
je 0x65a54f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2758c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2759f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x65a504
mov ecx, edi
jns 0x65a533
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2759f4]
or eax, eax
je 0x65a549
mov dword [ebx], eax
add ebx, 4
jmp 0x65a521
call dword [esi + 0x275a04]
mov ebp, dword [esi + 0x2759f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x65a583
sub esp, 0xffffff80
jmp 0x48e595
Function at 0x401cbb
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x445ff0]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
sub ebx, ebx
sub esi, esi
sub edi, edi
cmp eax, ebx
jne 0x401d09
call ebp
push eax
pop esi
cmp esi, ebx
je 0x401cea
mov dword [0x445ff0], 1
jmp 0x401d12
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
push eax
pop edi
cmp edi, ebx
je 0x401de4
mov dword [0x445ff0], 2
jmp 0x401d98
cmp eax, 1
jne 0x401d93
cmp esi, ebx
jne 0x401d22
call ebp
push eax
pop esi
cmp esi, ebx
je 0x401de4
cmp word [esi], bx
push esi
pop eax
je 0x401d37
inc eax
inc eax
cmp word [eax], bx
jne 0x401d29
inc eax
inc eax
cmp word [eax], bx
jne 0x401d29
sbb eax, esi
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x401d88
push ebp
call fcn.00402880
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x401d88
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
or eax, eax
jne 0x401d84
push dword [esp + 0x10]
call fcn.00402752
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
push ebx
pop eax
jmp 0x401de6
cmp eax, 2
jne 0x401de4
cmp edi, ebx
jne 0x401da8
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
push eax
pop edi
cmp edi, ebx
je 0x401de4
cmp byte [edi], bl
push edi
pop eax
je 0x401db8
inc eax
cmp byte [eax], bl
jne 0x401dae
inc eax
cmp byte [eax], bl
jne 0x401dae
sbb eax, edi
inc eax
mov ebp, eax
push ebp
call fcn.00402880
push eax
pop esi
pop ecx
cmp esi, ebx
jne 0x401dce
sub esi, esi
jmp 0x401dd9
push ebp
push edi
push esi
call fcn.00402980
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
push esi
pop eax
jmp 0x401de6
sub eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x4021dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
sub ecx, ecx
mov eax, 0x445ae0
cmp edx, dword [eax]
je 0x4021ff
add eax, 8
inc ecx
cmp eax, 0x445b70
jl 0x4021f0
push esi
push ecx
pop esi
shl esi, 3
cmp edx, dword [esi + 0x445ae0]
jne 0x40232d
mov eax, dword [0x445e98]
cmp eax, 1
je 0x402307
or eax, eax
jne 0x402230
cmp dword [0x445a34], 1
je 0x402307
cmp edx, 0xfc
je 0x40232d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
or eax, eax
jne 0x402267
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402900
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4022aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402900
push eax
pop edi
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406340
push edi
call fcn.00403590
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.g3r8tv32b7gjta_n_nProgram:
push eax
call fcn.00402790
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004027a0
lea eax, [ebp - 0xa0]
push 0x406320
push eax
call fcn.004027a0
push dword [esi + 0x445ae4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004027a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004034fe
add esp, 0x2c
pop edi
jmp 0x40232d
lea eax, [ebp + 8]
lea esi, [esi + 0x445ae4]
push 0
push eax
push dword [esi]
call fcn.00402900
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40636d
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x40638f
mov eax, 0xfffffffd
jmp 0x40646f
mov ebx, dword [0x53d107]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40643d
mov ebx, dword [0x53d107]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x4063de
mov ebx, dword [0x53d107]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x4063de
mov eax, 1
jmp 0x4063e3
mov eax, 0
test eax, eax
je 0x40640f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4063f8
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x53d107]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x406465
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40646f
mov esp, ebp
pop ebp
ret 4

Function at 0x406676
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x406729
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x406c6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004ab140
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406cb1
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x5082b0
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401311
add esp, 8
cmp eax, 0
jne 0x406d07
mov eax, dword [0x53d113]
test eax, eax
je 0x406cee
push eax
mov ebx, eax
call fcn.004013ae
inc eax
push eax
call fcn.004a996a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406d01
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x406d38
push 6
call fcn.004a9970
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406d4b
mov eax, 0x5082b0
push eax
push 1
mov ebx, 0x170
call fcn.004ab180
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x406d69
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406d7a
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406d81
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004ab140
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406dc6
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x406df1
push 6
call fcn.004a9970
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x406e0d
push eax
mov ebx, eax
call fcn.004013ae
inc eax
push eax
call fcn.004a996a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406e12
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406e23
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x407181
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00406676
test eax, eax
je 0x4071c4
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4071c4
cmp word [eax], 0x5a4d
jne 0x4071c4
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4071c4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00406748
mov eax, dword [ebp + 8]
jmp 0x4071dd
mov esp, ebp
pop ebp
ret 4
Function at 0x40e89a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40e8d4
push 6
call fcn.004a9970
add esp, 4
jmp 0x40e8d9
mov esp, ebp
pop ebp
ret 4

Function at 0x40e9f8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 8
call fcn.004a996a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004a996a
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40ea7a
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 4]
push eax
push 0xf01ff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40eaa8
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
push 0x52b93e
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40ead4
push 6
call fcn.004a9970
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 2
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x14], esp
push 0
push 0
push 0
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40eb63
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40eb88
push 6
call fcn.004a9970
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x40eb90
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.004a9964
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x411819
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x411869
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x411874
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423318
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x423368
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42338d
push 6
call fcn.004a9970
add esp, 4
cmp dword [ebp - 4], 0
mov eax, 0
setg al
jmp 0x42339e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426389
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004ab140
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4263ce
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4263fc
push 6
call fcn.004a9970
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x426418
push eax
mov ebx, eax
call fcn.004013ae
inc eax
push eax
call fcn.004a996a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42641d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42642e
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42a11d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x18
call fcn.004a996a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x53d283], 0
jne 0x42a1f7
mov ebx, dword [0x53d287]
call fcn.004012f1
mov eax, 0
cmp eax, ecx
jl 0x42a17f
push 1
call fcn.004a9970
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, 0x52d162
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004023a4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42a1ab
push ebx
call fcn.004a9964
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0042a2e0
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a1cc
push ebx
call fcn.004a9964
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0x53d283], eax
push OleUIBusyA
push 0
push 0x42d851
push 1
mov ebx, 0x9dc
call fcn.004ab220
add esp, 0x10
mov dword [0x53d28b], eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 1
push 0
push dword [0x53d28b]
push dword [0x53d283]
call fcn.0042ae2c
push OleUIBusyA
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.004ab220
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42a278
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.0042d5bb
cmp dword [ebp - 8], 0
je 0x42a2c4
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42a2bb
push 1
push 0xffffffff
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.0042d648
lea eax, [ebp - 8]
push eax
call fcn.0042d7a9
mov eax, dword [ebp - 0xc]
jmp 0x42a2cc
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004a9964
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43293e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x432981
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4329ab
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4329df
push 6
call fcn.004a9970
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4329e7
mov esp, ebp
pop ebp
ret 4
Function at 0x435ac5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0
push dword [0x53d13b]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x435af8
push 6
call fcn.004a9970
add esp, 4
mov dword [0x53d183], 1
push 0
mov ebx, 0x350
call fcn.004ac690
add esp, 4
push 0
call fcn.0040edbd
push 0
call fcn.004108b6
push 1
push 1
push 0x53d14b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00431548
mov dword [ebp - 4], esp
push 1
push dword [0x53d13b]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x435b7e
push 6
call fcn.004a9970
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x458f71
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x458fbc
mov eax, dword [0x53d463]
mov dword [ebp - 4], eax
jmp 0x458fc2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x458fdc
push dword [ebp + 8]
call fcn.00459060
mov dword [ebp - 8], eax
jmp 0x459052
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x45900c
push 6
call fcn.004a9970
add esp, 4
test eax, eax
je 0x459052
push dword [ebp + 8]
call fcn.00459060
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x45904d
push 6
call fcn.004a9970
add esp, 4
jmp 0x459052
mov eax, dword [ebp - 8]
jmp 0x45905a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x468411
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x200
call fcn.0040e89a
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x200
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x46845f
push 6
call fcn.004a9970
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x5082e0]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401057
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.004ac910
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x53adc7
push dword [ebp - 0x1c]
mov ecx, 2
call section..ewrcy
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4684cb
push ebx
call fcn.004a9964
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.00449762
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4684f3
push ebx
call fcn.004a9964
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x4684fb
mov esp, ebp
pop ebp
ret 4