joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10129f23
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101bc8c8], 0x95b
mov dword [0x101bc8cc], 0x1bb5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10129f9d
lea eax, [ebp - 0x20]
mov dword [0x101bc8cc], 0x245c
mov dword [0x101bc8c8], 0x1d3
mov dword [ebp - 0x30], eax
call fcn.10129dd3
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1012a1b1
xor ecx, ecx
mov dword [0x101bc8c8], 0x1f16
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1012a061
jmp 0x10129fc9
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1017677e]
mov dh, byte [eax + 0x1017674f]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10129f50
jmp 0x10129f9d
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1012a360
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov dword [0x101bc8cc], 0xe7a
mov dword [0x101bc8c8], 0xfffff063
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1012a061
mov eax, dword [ebp - 0x3c]
add eax, 0x25a5
mov dword [0x101bc8cc], 0xfffffc2f
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1012aa6b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0xffffe8cf
mov dword [ebp - 0x10], eax
mov eax, dword [0x101bc8cc]
add eax, 0xa14
mov dword [0x101bc8cc], eax
mov dword [0x101bc8d0], 0
mov dword [0x101bc8d4], 0
mov dword [0x101bc8e0], 0
mov dword [0x101bc8c8], 0xffffe8cf
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
jne 0x1012aaf6
mov dword [0x101bc8c8], 0x3fc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add esi, 1
add ecx, 0x4a0
mov ebx, edx
add ebx, 1
mov dword [0x101bc8cc], 0x1e2f
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101bc8d0], edx
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x30]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x101bc8d4], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x101bc8d8], cl
mov edi, dword [ebp - 0x38]
mov dword [0x101bc8c8], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101bc8d8]
mov edx, dword [0x101bc8d4]
mov byte [edi + edx], cl
mov dword [0x101bc8c8], 0x1311
mov edx, dword [0x101bc8d0]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101bc8d4]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101bc8e0], ecx
mov dword [0x101bc8c8], 0x2336
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
xor cl, byte [edx + esi]
mov dword [0x101bc8c8], 0x92c
mov dword [0x101bc8cc], 0x2266
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], cl
mov ecx, dword [0x101bc8cc]
add ecx, 0xffffdcd1
mov dword [0x101bc8cc], ecx
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x40], ebx
je 0x1012aae4
mov eax, dword [0x101bc8d4]
mov ecx, dword [0x101bc8c8]
mov edx, dword [0x101bc8d0]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
jmp 0x1012aaf6
Function at 0x1012ac24
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x101bc8c8]
add edx, 0xffffddcf
mov dword [0x101bc8cc], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1012a46e
lea ecx, [0x101296ee]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], 0x144000
mov edx, dword [0x101bc8b4]
mov dword [esp + 0x20], edx
mov edx, dword [0x101bc8b8]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101bc8bc]
mov dword [esp + 0x28], edx
mov edx, dword [0x101bc8c0]
mov dword [esp + 0x50], edx
mov edx, dword [0x101bc8c4]
mov dword [esp + 0x78], edx
mov dword [0x101bc8c8], 0xdb2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1012ad2d
lea eax, [esp + 0x20]
mov dword [0x101bc8cc], 0x1825
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10129f23
mov ecx, dword [0x101bc8cc]
add ecx, 0xffffe516
mov dword [0x101bc8cc], ecx
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101bc8c8]
add ecx, 0xffffe484
mov dword [0x101bc8c8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1012ad1b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1012ad1b
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [0x101bc8c8], 0xfffff27b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
mov dword [0x101bc8cc], 0x2092
call fcn.10129542
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1012acb8
jmp 0x1012ad13
Function at 0x4021f8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push OleUIBusyA
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402240
mov eax, 0x4812b8
push eax
push 1
mov ebx, 0x194
call fcn.0045e070
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x402265
jmp 0x4023ed
push dword [ebp + 8]
call fcn.0040183d
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x4812c0]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.0040126b
push eax
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4022b9
push 0x129
push 0x402d7e4
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x4812c0]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.0040126b
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4023be
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040126b
push eax
call fcn.00402115
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x40235c
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402352
push 0x222
push 0x402d7e4
push 6
call fcn.0045d43e
add esp, 0xc
jmp 0x4023be
cmp word [ebp - 0x14], 0x5c
jne 0x4023a5
cmp dword [ebp - 0x18], 0
jle 0x4023a2
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4023a2
push 0x2c3
push 0x402d7e4
push 6
call fcn.0045d43e
add esp, 0xc
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.004023f3
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x4022e2
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4023ed
push 0x374
push 0x402d7e4
push 6
call fcn.0045d43e
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x40470c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40474f
push 0x19
push 0x4020941
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404766
mov eax, 0x4812b8
jmp 0x404815
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x4812c0]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040126b
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.0045dac0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4047b4
push ebx
call fcn.0045d438
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040482d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4047f6
push 0x136
push 0x4020941
push 6
call fcn.0045d43e
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x404810
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0045d432
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404815
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404826
push ebx
call fcn.0045d438
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x404cea
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404d31
push 0x19
push 0x401fe6e
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404d6c
push 0x46
push 0x401fe6e
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404da3
push 0x6a
push 0x401fe6e
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404dcf
push 0xa7
push 0x401fe6e
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x404e06
push 0xc2
push 0x401fe6e
push 6
call fcn.0045d43e
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x404e0e
mov esp, ebp
pop ebp
ret 8
Function at 0x404eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x404f02
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x404efa
push 0x4f
push 0x401fdd3
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x404f3b
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x404f38
push 0x7d
push 0x401fdd3
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404f4f
mov eax, 0
jmp 0x404fb7
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x404f80
push 0x10b
push 0x401fdd3
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x404faf
push 0x12f
push 0x401fdd3
push 6
call fcn.0045d43e
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x404fb7
mov esp, ebp
pop ebp
ret 8

Function at 0x40b0fa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0045e1f0
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.0040b179
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40b16e
push 0x60
push 0x402cce5
push 6
call fcn.0045d43e
add esp, 0xc
jmp 0x40b173
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40b3f2
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x2c
call fcn.0045d432
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b5aa
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b5dc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b60e
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b640
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b672
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b6a4
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b776
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b7a8
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b7da
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b80c
mov ebx, dword [ebp - 4]
add ebx, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x40b83e
lea eax, [ebp - 4]
push eax
call fcn.0040b558
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040b574
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push 0
push dword [0x485619]
push dword [0x485615]
push 0
xor eax, eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b543
push 0x239
push 0x402cbb2
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [0x485625], eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0045d438
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4140ee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x414133
push 0x59
push 0x402668f
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045e5f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414196
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045eb70
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x4141c4
push 0xfb
push 0x402668f
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045e5f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414227
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045eb70
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x414255
push 0x19d
push 0x402668f
push 6
call fcn.0045d43e
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0045e5f0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4142b8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0045eb70
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4142c0
mov esp, ebp
pop ebp
ret
Function at 0x460eb0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x460f19
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0045d850
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x460f40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x460f81.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x460f81.2
jmp dword [eax*4 + 0x46100c]
mov word [esp + 0x48], di
jmp 0x460fba
mov word [esp + 0x48], 2
jmp 0x460fba
mov word [esp + 0x48], 3
jmp 0x460fba
mov word [esp + 0x48], 4
jmp 0x460fba
mov word [esp + 0x48], 7
jmp 0x460fba
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x461004
cmp dword [esp + 0x70], edi
je 0x460ff0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x461030
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4610c2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4610b4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4610ac
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x461075
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x461370
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x461383
xor eax, eax
pop ebp
add esp, 0x18
ret
push ebp
call fcn.00463890
add esp, 4
test eax, eax
jne 0x461395
pop ebp
add esp, 0x18
ret
mov eax, dword [ebp]
push ebx
mov ebx, 1
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x46140f
mov eax, dword [esp + 0x2c]
mov ebp, dword [ebp + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov edi, ebx
jle 0x461565
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x3c]
mov eax, dword [esi]
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push ebp
call ebx
test eax, eax
je 0x4613fb
mov eax, dword [esp + 0x2c]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x4613cb
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
cmp eax, 2
jne 0x461452
mov eax, dword [esp + 0x2c]
mov ebp, dword [ebp + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x461565
lea esi, [esp + 0x3c]
lea edi, [eax - 1]
mov eax, dword [esi]
mov edx, dword [ebp]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x24]
add esi, 0xc
dec edi
jne 0x46142e
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
cmp eax, 3
jne 0x461565
mov edi, dword [esp + 0x2c]
mov edx, dword [ebp + 4]
xor ecx, ecx
cmp edi, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
jle 0x4614a2
lea edx, [esp + 0x3c]
lea esi, [edi - 1]
mov eax, dword [edx]
mov eax, dword [eax + 4]
test eax, eax
jle 0x461486
cmp ecx, eax
jg 0x461486
mov ecx, eax
add edx, 0xc
dec esi
jne 0x461477
test ecx, ecx
jle 0x4614a2
push ecx
call fcn.004715ce
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, 1
cmp edi, ebx
mov dword [esp + 0x20], ebx
jle 0x461558
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
test ebx, ebx
jle 0x461525
mov edi, dword [esp + 0x14]
mov ecx, ebx
lea esi, [eax + 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 1
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x130]
mov esi, dword [esp + 0x14]
lea edx, [ebp + 0xc]
push edx
lea edx, [ebp + 0x2c]
push ecx
push edx
push ebx
push esi
push eax
call fcn.00463110
mov ecx, dword [esp + 0x34]
add esp, 0x18
lea eax, [esp + 0x24]
push 0
push eax
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x461543
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0xc
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4614b6
jmp 0x461558
mov edx, dword [esp + 0x14]
push edx
call fcn.004715f7
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
push eax
call fcn.004715f7
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret