joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0xb97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 4
jne 0x41825a
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 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18110]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x18114]
mov ebp, dword [esi + 0x1811c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x418302
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401f09
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret

Function at 0x401f20
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
push 0x1f4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push edi
call sub.MSVCRT.dll_strcpy
cmp byte [edi], 0x22
pop ecx
pop ecx
jne 0x401f44
inc edi
xor eax, eax
cmp byte [eax + edi], 0x22
jne 0x401f50
and byte [eax + edi], 0
inc eax
cmp eax, 0x1f3
jl 0x401f46
push edi
xor esi, esi
call sub.MSVCRT.dll_strlen
sub eax, 4
test eax, eax
pop ecx
jle 0x401fe4
mov cl, byte [esi + edi]
cmp cl, 0x2e
jne 0x401fd5
mov al, byte [esi + edi + 1]
cmp al, 0x65
je 0x401f7c
cmp al, 0x45
jne 0x401fa0
mov al, byte [esi + edi + 2]
cmp al, 0x78
je 0x401f88
cmp al, 0x58
jne 0x401fa0
mov al, byte [esi + edi + 3]
cmp al, 0x65
je 0x401f94
cmp al, 0x45
jne 0x401fa0
mov al, byte [esi + edi + 4]
cmp al, 0x20
je 0x401fe4
test al, al
je 0x401fe4
cmp cl, 0x2e
jne 0x401fd5
mov al, byte [esi + edi + 1]
cmp al, 0x73
je 0x401fb1
cmp al, 0x53
jne 0x401fd5
mov al, byte [esi + edi + 2]
cmp al, 0x63
je 0x401fbd
cmp al, 0x43
jne 0x401fd5
mov al, byte [esi + edi + 3]
cmp al, 0x72
je 0x401fc9
cmp al, 0x52
jne 0x401fd5
mov al, byte [esi + edi + 4]
cmp al, 0x20
je 0x401fe4
or al, al
je 0x401fe4
inc esi
push edi
call sub.MSVCRT.dll_strlen
sub eax, 4
pop ecx
cmp esi, eax
jl 0x401f68
push edi
call sub.MSVCRT.dll_strlen
sub eax, 4
pop ecx
cmp esi, eax
jl 0x40200b
push edi
push dword [esp + 0x10]
call sub.MSVCRT.dll_strcpy
push edi
push dword [esp + 0x1c]
call sub.MSVCRT.dll_strcpy
sub esp, 0xfffffff0
jmp 0x402042
push ebx
mov ebx, dword [esp + 0x10]
push edi
push ebx
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
add esi, 3
lea eax, [esi + ebx]
mov byte [eax + 1], 0
js 0x402035
lea ecx, [esi + 1]
mov edx, edi
sub edx, ebx
mov bl, byte [edx + eax]
mov byte [eax], bl
dec eax
dec ecx
jne 0x40202c
push edi
push dword [esp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
pop ebx
dec edi
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
ret

Function at 0x41e51b
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov esi, ecx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
or eax, eax
jne 0x41e54b
mov ecx, esi
call fcn.0041e504
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
pop esi
leave
ret 0xc
Function at 0x41e69b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
lea ecx, [ebp - 0x10]
mov ebx, 0x20019
push esi
xor esi, esi
push edi
push ebx
push 0x403204
push 0x80000002
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
call fcn.0041e51b
mov edi, eax
cmp edi, esi
jne 0x41e6ed
push ebx
push 0x403210
lea ecx, [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0041e51b
mov edi, eax
cmp edi, esi
je 0x41e714
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, edi
jmp 0x41e82b
push ebx
lea ecx, [ebp - 4]
push 0x40321c
push dword [ebp - 0xc]
call fcn.0041e51b
mov edi, eax
cmp edi, esi
jne 0x41e809
xor eax, eax
lea edi, [ebp - 0x814]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x800
mov ecx, 0x200
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x814]
push eax
push esi
push dword [ebp - 4]
call ebx
mov edi, eax
cmp edi, esi
jne 0x41e809
inc dword [ebp - 0x14]
xor eax, eax
lea esi, [ebp - 0x814]
push 9
mov edi, 0x40322c
pop ecx
repe cmpsb byte [esi], byte es:[edi]
je 0x41e7a0
mov ecx, 0x200
push 0x800
lea edi, [ebp - 0x814]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
je 0x41e760
jmp 0x41e809
lea ecx, [ebp - 8]
push 0x2001f
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 4]
call fcn.0041e51b
mov ebx, eax
test ebx, ebx
je 0x41e7e1
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, ebx
jmp 0x41e82b
mov esi, dword [ebp + 8]
push 4
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x403238
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 8]
mov edi, eax
call fcn.0041e504
lea ecx, [ebp - 8]
call fcn.0041e504
lea ecx, [ebp - 4]
call fcn.0041e504
lea ecx, [ebp - 0xc]
call fcn.0041e504
lea ecx, [ebp - 0x10]
call fcn.0041e504
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
adc eax, 0x568324ec
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
adc dl, dl
test dword [esi], ebp
je 0x4058c7
pop ecx
invalid
mov eax, dword [ebp + 8]
inc edx
push edx
push eax
call 0x2f404a60
insd dword es:[edi], dx

Function at 0x405e50
Capabilities:
Encode data using xor

Disassembly:
dec ecx
nop
nop
nop
nop
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
push edi
jge 0x405edd
push cs
add dword [eax], eax
add byte [eax], al
push ebp
cmp dword [eax], 0xffffff8b
or byte ss:[esi - 0x7d], ah
js 0x405e9f
mov ebx, 0x839e0632
add al, 2
jmp 0x405e66
clc
mov dword [ebp + 0x4e], eax
lea eax, [ebx*4 + 0x8700e4]
push eax
inc esi
adc eax, 0x9240c15c
xchg edx, eax
leave
mov eax, dword [ebp + 0x11]
lea esi, [eax + eax*2 + 1]
push esi
mov dword [ebp - 4], esi
call dword [0x6640c1bd]
add esp, 0x18
je 0x405ef7
mov cl, byte [ecx + 0x106e8d07]
push ecx
push eax
mov ebp, esp
out dx, al
push edx
push eax
dec eax
xor al, 0x65
add byte [eax], al
jb 0x405f13
loopne 0x405e4b
inc edx
sub esi, edx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_realloc]
jo 0x405ece
add byte [eax], al
add byte [edi - 0x3c], al
or byte [ebx], bh
invalid
add byte [eax], al
inc edi
les ecx, [eax]
cmp ebx, ecx
mov dword [edi], eax
jle 0x405e80
push ss
dec ebx
jmp dword [edx + 0x4d3e0447]
inc edi
add al, 0x3e
dec ebp
or al, 0x41
mov edx, dword [eax - 4]
cmp dword [edx + 0x16108902], 0x30
mov dl, byte [edi + 0x46]
test dl, dl
push ss
xor byte [edx - 0x2d7bb9a9], cl
sbb esi, dword [eax]
jne 0x405eeb
mov edx, dword [ebp + 0xc]
add eax, 4
cwde
mov dword [ebp + 0xa], edx
xchg ecx, eax
loope 0x405e91
push ebp
or al, 0x83
rol byte [eax + ebx*4], 0x89
push ebp
or dl, byte [ecx + 0x81d8ee1]
mov dword [edi + ecx*4], 0
sbb eax, 0x8f04c708
add byte [eax], al
add byte [eax], al
mov al, 0x38
pop edi
xor eax, ebx
pop esi
popfd
cli
aam 0x5d
ret
Function at 0x404190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x4d73b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4041cf
mov ecx, dword [ebp - 8]
push ecx
call fcn.00403f80
add esp, 4
mov edx, dword [ebp - 8]
add edx, 0x10c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4041a4
cmp dword [ebp - 4], 5
jle 0x4041e9
push str.too_many_scrolling_textures
call fcn.0041ac80
add esp, 4
push 0
call fcn.004385b9
mov esp, ebp
pop ebp
ret

Function at 0x429090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str....._res_data.dat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
je 0x4290d5
cmp dword [ebp - 4], 0
jne 0x429102
push 0
lea eax, [ebp - 0xc]
push eax
push 0x160
mov ecx, dword [0x4eec64]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x42910e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x429120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0
push 0x80
push 4
push 0
push 0
push DirectSoundCreate
push str....._res_data.dat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
je 0x429165
cmp dword [ebp - 4], 0
jne 0x42919d
push 0
lea eax, [ebp - 8]
push eax
push 0x160
mov ecx, dword [0x4eec64]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0
jne 0x42918c
call fcn.00428e90
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4291ae
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00428e90
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4329e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 1
mov eax, dword [0x50bc70]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045d2b0
add esp, 0xc
cmp dword [0x504210], 0
jle 0x432b71
mov eax, dword [0x504210]
sub eax, 1
mov dword [0x504210], eax
cmp dword [0x504210], 0
jne 0x432b71
cmp dword [0x504214], 0
je 0x432b6a
rdtsc
mov dword [0x504220], edx
mov dword [0x504224], eax
mov ecx, dword [0x504224]
sub ecx, dword [0x50421c]
mov dword [ebp - 0x104], ecx
mov edx, dword [0x504220]
cmp edx, dword [0x504218]
jge 0x432a79
mov eax, dword [0x504220]
sub eax, dword [0x504218]
sub eax, 1
mov dword [ebp - 0x108], eax
jmp 0x432a8b
mov ecx, dword [0x504220]
sub ecx, dword [0x504218]
mov dword [ebp - 0x108], ecx
xor edx, edx
test edx, edx
jne 0x432a43
mov eax, dword [ebp - 0x104]
sub eax, dword [0x4c28a4]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [0x4c28a0]
jge 0x432ac8
mov edx, dword [ebp - 0x108]
sub edx, dword [0x4c28a0]
sub edx, 1
mov dword [ebp - 0x108], edx
jmp 0x432ada
mov eax, dword [ebp - 0x108]
sub eax, dword [0x4c28a0]
mov dword [ebp - 0x108], eax
xor ecx, ecx
test ecx, ecx
jne 0x432a91
push 0x10b
push str.D:ij_pccodelibcommon_skelwinwin.c
push str._s__d_
push 0x100
lea edx, [ebp - 0x208]
push edx
call fcn.00438f5c
add esp, 0x14
fild dword [ebp - 0x108]
fmul qword [0x4c28a8]
fmul qword [0x4c28a8]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], 0
fild qword [ebp - 0x210]
faddp st(1)
sub esp, 8
fstp qword [esp]
push str._24.0f_Elapsed_Clocks
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call fcn.00438f5c
add esp, 0x14
push 0x40
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004385b9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4375f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x100
push 3
push 0
push 0
push DirectSoundCreate
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43761f
xor eax, eax
jmp 0x43769c
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call fcn.00438fad
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437647
xor eax, eax
jmp 0x43769c
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00437430
add esp, 0x10
test eax, eax
je 0x437690
mov eax, dword [ebp - 4]
jmp 0x43769c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43aaa5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4f3d58
cmp edx, dword [eax]
je 0x43aac7
add eax, 8
inc ecx
cmp eax, 0x4f3de8
jl 0x43aab8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4f3d58]
jne 0x43abf5
mov eax, dword [0x504284]
cmp eax, 1
je 0x43abcf
test eax, eax
jne 0x43aaf8
cmp dword [0x4f3744], 1
je 0x43abcf
cmp edx, 0xfc
je 0x43abf5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ab2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043e2b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0043d9b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43ab72
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043d9b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c2c84
push edi
call fcn.0043f360
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043e2b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043e2c0
lea eax, [ebp - 0xa0]
push 0x4c2c64
push eax
call fcn.0043e2c0
push dword [esi + 0x4f3d5c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043e2c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043f2cf
add esp, 0x2c
pop edi
jmp 0x43abf5
lea eax, [ebp + 8]
lea esi, [esi + 0x4f3d5c]
push 0
push eax
push dword [esi]
call fcn.0043d9b0
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 0x473a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
mov edi, dword [esp + 0x14]
sub esp, 0x14
movzx esi, byte [edi + 3]
test esi, 4
je 0x473a93
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x54], edx
mov edx, dword [edi + 0x20]
mov dword [edi + 0x58], ecx
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x60], edx
mov edx, dword [edi + 0x2c]
mov dword [edi + 0x64], ecx
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x34]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x38]
mov dword [edi + 0x70], ecx
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x78], edx
mov edx, dword [edi + 0x44]
mov dword [edi + 0x7c], ecx
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x80], eax
mov dword [edi + 0x88], ecx
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x84], edx
mov dword [edi + 0x8c], eax
mov ebx, dword [edi + 0x98]
test ebx, ebx
je 0x473ae9
lea esi, [esi]
movzx ebp, byte [ebx + 3]
or ebp, esi
test ebp, 4
je 0x473ad2
lea eax, [ebx + 0x10]
lea edx, [ebx + 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [ebx + 4]
add eax, 0x50
mov dword [esp + 8], eax
call fcn.004593d0
mov al, byte [ebx + 3]
and al, 0xfb
mov byte [ebx + 3], al
mov eax, dword [ebx + 0x98]
mov edx, ebp
call fcn.00473b00
mov ebx, dword [ebx + 0x9c]
test ebx, ebx
jne 0x473aa0
add esp, 0x14
mov eax, esi
mov dl, al
and dl, 0xfa
mov byte [edi + 3], dl
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x4a9d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test edx, edx
je 0x4a9e3b
mov ecx, 0xffffffff
xor ecx, dword [esp + 0x1c]
cmp ebp, 8
jb 0x4a9e0a
lea esi, [esi]
movzx eax, byte [edx]
movzx ebx, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
movzx esi, byte [edx + 2]
xor ecx, dword [eax*4 + 0x4f8c60]
movzx eax, byte [edx + 3]
xor ebx, ecx
shr ecx, 8
movzx ebx, bl
movzx edi, byte [edx + 4]
xor ecx, dword [ebx*4 + 0x4f8c60]
movzx ebx, byte [edx + 5]
xor esi, ecx
shr ecx, 8
add ebp, 0xfffffff8
mov dword [esp + 4], edx
mov edx, esi
movzx edx, dl
xor ecx, dword [edx*4 + 0x4f8c60]
mov edx, ecx
shr edx, 8
xor ecx, eax
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4f8c60]
mov eax, edx
shr eax, 8
xor edx, edi
movzx edx, dl
xor eax, dword [edx*4 + 0x4f8c60]
mov edx, eax
shr edx, 8
xor eax, ebx
movzx eax, al
xor edx, dword [eax*4 + 0x4f8c60]
mov eax, edx
shr eax, 8
mov ecx, dword [esp + 4]
movzx ebx, byte [ecx + 6]
movzx esi, byte [ecx + 7]
xor edx, ebx
movzx edx, dl
xor eax, dword [edx*4 + 0x4f8c60]
lea edx, [ecx + 8]
mov ecx, eax
shr ecx, 8
xor eax, esi
movzx eax, al
xor ecx, dword [eax*4 + 0x4f8c60]
cmp ebp, 8
jae 0x4a9d50
test ebp, ebp
je 0x4a9e2c
mov esi, esi
movzx eax, byte [edx]
inc edx
mov ebx, ecx
shr ebx, 8
xor ecx, eax
movzx ecx, cl
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x4f8c60]
dec ebp
jne 0x4a9e10
mov eax, 0xffffffff
add esp, 8
xor eax, ecx
pop ebx
pop ebp
pop esi
pop edi
ret
add esp, 8
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x10002ff9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x102a0600]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
mov esi, edx
push 0x44
mov dword [ebp - 0x6c], esi
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
pop edi
push edi
push 0
push eax
call fcn.10086ae0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 0x28], 1
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], edi
push eax
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10003080
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x68]
call esi
xor eax, eax
jmp 0x100030ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push edi
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push 0x400
push esi
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x58]
mov ecx, str._null_
test ebx, ebx
mov eax, ecx
cmovne eax, ebx
push esi
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
cmovne ecx, eax
push ecx
push str.cimg::system___:_Command__s__module_name__s__failed_with_error__lu:__s
call fcn.10002fa9
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084465
leave
ret
Function at 0x1000492a
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
push ebx
push esi
mov esi, 0x1024d282
push edi
cmovne esi, eax
mov edi, ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004945
sub ecx, edx
lea ebx, [ecx + 1]
test ebx, ebx
je 0x10004970
push ebx
call fcn.100849d8
push ebx
push esi
push eax
mov dword [ebp - 4], eax
call fcn.10086560
mov esi, dword [ebp - 4]
add esp, 0x10
xor ebx, ebx
jmp 0x10004974
xor ebx, ebx
mov esi, ebx
cmp dword [edi + 0x18], ebx
je 0x10004985
cmp dword [edi + 0x1c], ebx
je 0x10004985
mov ecx, edi
call fcn.10004a48
call fcn.100040a5
mov ecx, dword [ebp + 8]
cmp eax, ecx
cmovb ecx, eax
mov dword [edi + 0x18], ecx
call fcn.100040e2
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
push 3
cmovb ecx, eax
mov word [edi + 0xbc], 0x100
cmp dword [ebp + 0x14], 4
pop eax
cmovb eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov al, byte [ebp + 0x18]
mov byte [edi + 0x30], al
mov eax, 0x80000000
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], eax
mov al, byte [ebp + 0x1c]
mov dword [edi + 0x1c], ecx
mov ecx, edi
mov byte [edi + 0x60], al
mov dword [edi + 0x34], esi
call fcn.1000404e
cmp byte [edi + 0x30], 0
je 0x100049ea
mov ecx, edi
call fcn.10004896
push 8
call fcn.100849d8
pop ecx
mov esi, eax
push ebx
push ebx
push ebx
mov dword [esi], edi
mov eax, dword [edi + 0x34]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x100044de
push ebx
push ebx
mov dword [edi + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [edi + 0xc4]
mov dword [edi + 0xc0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18