joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6090
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
pop esi
push esi
call fcn.004aa520
push esi
call fcn.004a76dd
push esi
call fcn.004aa66e
push esi
call fcn.004ad4da
push esi
call fcn.004ad4f4
push esi
call fcn.004a953b
add esp, 0x18
pop esi
jmp 0x4a6cb0
push esi
push edi
push 0x401714
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x402644
push edi
call esi
xor eax, dword [0x5bb3f0]
push 0x402650
push edi
mov dword [0x5c1ca0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402658
push edi
mov dword [0x5c1ca4], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402664
push edi
mov dword [0x5c1ca8], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402670
push edi
mov dword [0x5c1cac], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x40268c
push edi
mov dword [0x5c1cb0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4026a0
push edi
mov dword [0x5c1cb4], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4026b8
push edi
mov dword [0x5c1cb8], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4026d0
push edi
mov dword [0x5c1cbc], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4026e4
push edi
mov dword [0x5c1cc0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402704
push edi
mov dword [0x5c1cc4], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x40271c
push edi
mov dword [0x5c1cc8], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402734
push edi
mov dword [0x5c1ccc], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402748
push edi
mov dword [0x5c1cd0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x40275c
push edi
mov dword [0x5c1cd4], eax
call esi
xor eax, dword [0x5bb3f0]
mov dword [0x5c1cd8], eax
push 0x402778
push edi
call esi
xor eax, dword [0x5bb3f0]
push 0x402798
push edi
mov dword [0x5c1cdc], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4027b4
push edi
mov dword [0x5c1ce0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4027d4
push edi
mov dword [0x5c1ce4], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x4027e8
push edi
mov dword [0x5c1ce8], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402804
push edi
mov dword [0x5c1cec], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402818
push edi
mov dword [0x5c1cf4], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402828
push edi
mov dword [0x5c1cf0], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402838
push edi
mov dword [0x5c1cf8], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402848
push edi
mov dword [0x5c1cfc], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402858
push edi
mov dword [0x5c1d00], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402874
push edi
mov dword [0x5c1d04], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402888
push edi
mov dword [0x5c1d08], eax
call esi
xor eax, dword [0x5bb3f0]
push 0x402898
push edi
mov dword [0x5c1d0c], eax
call esi
xor eax, dword [0x5bb3f0]
pop edi
mov dword [0x5c1d10], eax
pop esi
ret
Function at 0x4a62b8
Capabilities:
Write file on windows

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x1fc
mov eax, dword [0x5bb3f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004a6294
mov edi, eax
pop ecx
test edi, edi
je 0x4a645a
push ebx
push 3
call fcn.004a6a5e
pop ecx
cmp eax, 1
je 0x4a6402
push 3
call fcn.004a6a5e
pop ecx
or eax, eax
jne 0x4a630c
cmp dword [0x5bc510], 1
je 0x4a6402
cmp esi, 0xfc
je 0x4a6459
push 0x402584
push 0x314
push 0x5bc518
call fcn.004ab66e
add esp, 0xc
sub ebx, ebx
test eax, eax
jne 0x4a6468
push 0x104
push 0x5bc54a
push ebx
mov word [0x5bc752], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x2fb
test eax, eax
jne 0x4a6374
push 0x4025b8
push esi
push 0x5bc54a
call fcn.004ab66e
add esp, 0xc
test eax, eax
jne 0x4a6468
push 0x5bc54a
call fcn.004ad807
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4a63ba
push 0x5bc54a
call fcn.004ad807
lea ecx, [eax*2 + 0x5bc4d4]
push ecx
pop eax
sub eax, 0x5bc54a
push 3
sar eax, 1
push 0x4025e8
sub esi, eax
push esi
push ecx
call fcn.004ad820
add esp, 0x14
or eax, eax
jne 0x4a6468
push 0x4025f0
push 0x314
mov esi, 0x5bc518
push esi
call fcn.004ad79b
add esp, 0xc
or eax, eax
jne 0x4a6468
push edi
push 0x314
push esi
call fcn.004ad79b
add esp, 0xc
or eax, eax
jne 0x4a6468
push 0x12010
push 0x4025f8
push esi
call fcn.004ad8de
add esp, 0xc
jmp 0x4a6459
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
pop esi
or esi, esi
je 0x4a6459
cmp esi, 0xffffffff
je 0x4a6459
sub ebx, ebx
mov ecx, ebx
mov al, byte [edi + ecx*2]
mov byte [ebp + ecx - 0x1f8], al
cmp word [edi + ecx*2], bx
je 0x4a6432
inc ecx
cmp ecx, 0x1f4
jb 0x4a6419
push ebx
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 5], bl
call fcn.004ad710
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a2c2f
leave
ret
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004a7725
int3

Function at 0x4a6b78
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
or edi, edi
je 0x4a6bd0
push ebx
sub ebx, ebx
push esi
push edi
pop esi
cmp word [edi], bx
je 0x4a6ba4
add esi, 2
cmp word [esi], bx
jne 0x4a6b94
add esi, 2
cmp word [esi], bx
jne 0x4a6b94
sub esi, edi
add esi, 2
push esi
call fcn.004aa577
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4a6bc5
push esi
push edi
push eax
call fcn.004a2c40
mov ebx, dword [ebp - 4]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x4a7250
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
xor edx, edx
add eax, ecx
push edi
or ebx, ebx
je 0x4a728c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4a7284
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4a728e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4a7274
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a7360
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4a7374
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0x4a738f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x4ad8de
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bb3f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
push eax
pop esi
mov dword [ebp - 0x18], esi
call fcn.004a6c72
mov dword [ebp - 0x14], eax
cmp dword [0x5bd338], edi
jne 0x4ad9cf
push 0x800
push edi
push 0x402d48
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
or esi, esi
jne 0x4ad95c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4adaaf
push 0x402d48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
or esi, esi
je 0x4adaaf
push 0x402d60
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
or eax, eax
je 0x4adaaf
push eax
call ebx
push 0x402d6c
push esi
mov dword [0x5bd338], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d7c
push esi
mov dword [0x5bd33c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d90
push esi
mov dword [0x5bd340], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bd348], eax
test eax, eax
je 0x4ad9cc
push 0x402dac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bd344], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ad9f4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ad9e7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4ada09
push 4
pop eax
jmp 0x4adab1
cmp dword [ebp - 0x14], edi
je 0x4ada09
push dword [0x5bd338]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4ad9ee
mov eax, dword [0x5bd344]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4ada67
cmp dword [0x5bd348], esi
je 0x4ada67
push eax
call ebx
push dword [0x5bd348]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
or ecx, ecx
je 0x4ada67
or eax, eax
je 0x4ada67
call ecx
or eax, eax
je 0x4ada5c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
or eax, eax
je 0x4ada5c
test byte [ebp - 8], 1
jne 0x4ada67
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4ada97
mov eax, dword [0x5bd33c]
cmp eax, esi
je 0x4ada94
push eax
call ebx
or eax, eax
je 0x4ada94
call eax
push eax
pop edi
test edi, edi
je 0x4ada94
mov eax, dword [0x5bd340]
cmp eax, esi
je 0x4ada94
push eax
call ebx
test eax, eax
je 0x4ada94
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5bd338]
call ebx
test eax, eax
je 0x4adaaf
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4adab1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2c2f
leave
ret
Function at 0x4afc40
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub esi, esi
push 1
push esi
push esi
push edi
push esi
pop ebx
mov dword [ebp - 8], esi
call fcn.004accbb
mov ecx, edx
mov dword [ebp - 0x18], eax
and eax, ecx
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp eax, 0xffffffff
je 0x4afcc8
push 2
push esi
push esi
push edi
call fcn.004accbb
push eax
pop ecx
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4afcc8
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub esi, ecx
sbb eax, edx
mov dword [ebp - 4], eax
js 0x4afd5f
jg 0x4afca2
or esi, esi
je 0x4afd5f
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
or eax, eax
jne 0x4afcd4
call fcn.004a7784
mov dword [eax], 0xc
call fcn.004a7784
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push edi
call fcn.004afe1e
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
pop ecx
or eax, eax
jl 0x4afcfc
jg 0x4afcf5
cmp esi, 0x1000
jb 0x4afcfc
mov eax, 0x1000
jmp 0x4afcfe
mov eax, esi
push eax
push dword [ebp - 0xc]
push edi
call fcn.004ac0c8
add esp, 0xc
cmp eax, 0xffffffff
je 0x4afd25
cdq
sub esi, eax
mov eax, dword [ebp - 4]
sbb eax, edx
mov dword [ebp - 4], eax
js 0x4afd40
jg 0x4afce7
or esi, esi
je 0x4afd40
jmp 0x4afce7
call fcn.004a7750
cmp dword [eax], 5
jne 0x4afd3a
call fcn.004a7784
mov dword [eax], 0xd
or ebx, 0xffffffff
or dword [ebp - 8], ebx
push dword [ebp - 0x10]
push edi
call fcn.004afe1e
pop ecx
pop ecx
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4afdc5
or eax, eax
jg 0x4afdd1
jl 0x4afd69
or esi, esi
jae 0x4afdd1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004accbb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4afcc8
push edi
call fcn.004af84a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov ebx, eax
mov eax, edx
push ebx
pop ecx
and ecx, eax
mov dword [ebp - 8], eax
cmp ecx, 0xffffffff
jne 0x4afdd1
call fcn.004a7784
mov dword [eax], 0xd
call fcn.004a7750
push eax
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
and ebx, dword [ebp - 8]
cmp ebx, 0xffffffff
je 0x4afcc8
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call fcn.004accbb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4afcc8
sub eax, eax
jmp 0x4afccf
Function at 0x100b9f06
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x101527c3
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x101527c3
mov eax, 0x5a4d
cmp esi, 0xa982ed87
test di, 0x5baa
push ebp
sal dh, 0xa5
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x114
test ch, 0x92
cmc
push esi
cmp ebp, 0x3ab6b424
jmp 0x1014732d
test edx, edx
jmp 0x100b6dbb

Function at 0x101353cf
Capabilities:
Encode data using xor

Disassembly:
wait
in eax, dx
retf 0xdecc
dec eax
lea esp, [esp + 0x10]
ja fcn.101395ca
dec eax
mov eax, esp
mov ecx, 0x128
call fcn.100b873f
insd dword es:[edi], dx
insb byte es:[edi], dx
jne 0x10135438
js 0x1013536d
mov bl, 0x34
push ebx
push es
cmp esi, dword [ebp + 0x44]
xor byte [0x3d2c143d], ch
invalid
add byte [edx], 0xf2
mov bh, 0x8e
mov dword [0x802514c6], eax
enter 0xffffffffffffe903, 0x3f
int3

Function at 0x1015dd28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movsx eax, bx
dec esp
mov edx, dword [esp + 8]
dec eax
mov dword [esp + 8], eax
dec eax
dec dword [esp + 8]
inc esp
movzx ebx, al
push dword [esp + 0x10]
popfd
dec edx
mov ebp, dword [esp + ebx*4 - 0x2ac]
inc esp
xchg ebx, ebx
dec esp
mov esp, dword [esp + ebx - 0x91]
inc ebp
movzx ebp, bl
inc ecx
mov edx, ebp
dec esp
mov ebp, dword [esp + ebx - 0x89]
dec eax
lea eax, [eax*2 - 0x576f2c68]
dec eax
mov dword [esp + ebx - 0xb1], ebx
dec esp
mov ebx, dword [esp + ebx - 0x81]
dec eax
mov dword [esp + ebx*8 - 0x568], 0x698d4419
dec esp
mov ecx, dword [esp + ebx*2 - 0x12a]
inc esp
movsx esi, bx
dec esp
mov esi, dword [esp + ebx - 0x71]
inc esp
mov edi, eax
dec eax
mov eax, dword [esp + ebx*2 - 0x11a]
jmp 0x10157f45
Function at 0x4063e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046c4
call fcn.00407041
push 4
mov dword [esp + 0x18], 0
call fcn.00407ee6
mov edi, eax
add esp, 4
test edi, edi
je 0x406454
push ebx
call fcn.00406f19
mov dword [edi], eax
call fcn.00406cd8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407002
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406448
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040702a
pop ebx
jmp 0x406456
xor edi, edi
mov dword [esi + 0x38], 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
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 ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408951
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d520]
jne 0x40895b
repz ret
jmp fcn.0040d0ac
Function at 0x411cf2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d520]
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.0040b051
and dword [ebp - 0x14], 0
cmp dword [0x432a94], 0
mov dword [ebp - 0x18], eax
jne 0x411da5
push 0x403934
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e4d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403928
push ebx
call edi
test eax, eax
je 0x411e4d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403918
push ebx
mov dword [0x432a94], eax
call edi
push eax
call esi
push 0x403904
push ebx
mov dword [0x432a98], eax
call edi
push eax
call esi
push 0x4038e8
push ebx
mov dword [0x432a9c], eax
call edi
push eax
call esi
mov dword [0x432aa4], eax
test eax, eax
je 0x411da5
push 0x4038d0
push ebx
call edi
push eax
call esi
mov dword [0x432aa0], eax
mov eax, dword [0x432aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411dfe
cmp dword [0x432aa4], ecx
je 0x411dfe
push eax
call esi
push dword [0x432aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411dfe
test ebx, ebx
je 0x411dfe
call edi
test eax, eax
je 0x411df5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411df5
test byte [ebp - 8], 1
jne 0x411dfe
or dword [ebp + 0x10], 0x200000
jmp 0x411e31
mov eax, dword [0x432a98]
cmp eax, dword [ebp - 0x18]
je 0x411e31
push eax
call esi
test eax, eax
je 0x411e31
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e31
mov eax, dword [0x432a9c]
cmp eax, dword [ebp - 0x18]
je 0x411e31
push eax
call esi
test eax, eax
je 0x411e31
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432a94]
call esi
test eax, eax
je 0x411e4d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e4f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408951
leave
ret
Function at 0x429260
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b7820], 0x37
jne 0x429300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404174
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x4041b0
push 0x404248
push 0x4042c8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b7824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x437884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x429550
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b7820]
sub esp, 0x434
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x437884]
cmp eax, ebx
jbe 0x429738
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x429586
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b7820], 0x1c
jne 0x42959d
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4295da
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b67a4], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b67a4], eax
mov edx, dword [0x7b67a4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7b7820], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x429674
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7b7820], 0x979
mov dword [0x7b67a8], 0xff6b3619
mov dword [0x7b67ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4296b8
push 0
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7b7820]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x4296da
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x4295d8
cmp eax, 0x8d4
jne 0x4296f1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7b7820], 0x17
jne 0x429727
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0x404100
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x429580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret
Function at 0xbebaa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xba3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00c00b10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xbebb6f
mov eax, 0xb9eae0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xbebae5
sub eax, edx
sar eax, 1
je 0xbebb6f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00b99234]
push 0xb9eae0
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00bfe73a
push 0xb9eb14
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00bfec8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xbebb6f
push eax
push 1
push 0x200
push esi
call fcn.00bfef7e
mov eax, dword [esp + 0x14]
push eax
call fcn.00bff012
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret

Function at 0xbebb90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xba3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00c00b10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xbebc95
mov eax, 0xb9eafc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xbebbd5
sub eax, edx
sar eax, 1
je 0xbebc95
cmp dword [0xba4fbc], 3
jne 0xbebc1c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.00b99214]
push 0xb9eb1c
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00bfe73a
add esp, 0xc
jmp 0xbebc2c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.00b99234]
push 0xb9eafc
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.00bfe73a
push 0xb9eb20
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00bfec8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xbebc95
push eax
push 1
push 0x200
push esi
call fcn.00bfef7e
mov edx, dword [esp + 0x14]
push edx
call fcn.00bff012
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret