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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x49d003
pop dword [ebp - 0xc]
mov eax, 0x1ffa7f77
add eax, 0xe04f508c
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd0173c14
sub dword [ebp - 0x1c], 0x81c4f6c9
mov dword [ebp - 0x18], 0x3ae2bf53
sub dword [ebp - 0x18], 0x8af730e
mov dword [ebp - 0x14], 0xbd68f5b4
add dword [ebp - 0x14], 0x8ee34e7a
mov dword [ebp - 0x10], 0xe733162f
sub dword [ebp - 0x10], 0xe733162f
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xff958111
add eax, 0xb60043
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x95e513e7
sub dword [ebp - 0x1c], 0x2172aa91
mov dword [ebp - 0x18], 0x92a28ec0
add dword [ebp - 0x18], 0xaec9d2b5
mov dword [ebp - 0x14], 0x92a7b5e8
sub dword [ebp - 0x14], 0x2f38497c
mov dword [ebp - 0x10], 0x3df39ae7
sub dword [ebp - 0x10], 0x3df39ae7
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xc30f627f
sub eax, 0xc2c3df33
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x64b3b
push 0
call eax
mov ecx, 0x4eb8
mov edx, eax
mov edi, 0xc1f43f97
sub edi, 0xc19c3d97
add edi, dword [ebp - 0xc]
mov esi, 0xd451ee8b
add esi, 0x88ab153c
mov ebx, dword [edi]
mov dword [ebp - 8], 0xe5c152f9
xor ebx, esi
add dword [ebp - 4], edx
mov dword [edx], ebx
add dword [ebp - 4], 0x2a37fff3
add edx, 0xa9afcd66
add edx, 0x5650329e
add edi, 4
loop 0x49d11f
add eax, 0xc36cf7e6
sub eax, 0xc36bca33
mov ebx, eax
add eax, 0xcce25a34
add eax, 0x331da5d1
mov ecx, 0xd6db1e9c
sub ecx, 0xd69b1e9c
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x408f6c
nop
mov ecx, 0x5cc57100
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x77de54c0
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401034
Capabilities:
Accept command line arguments

Disassembly:
enter 0x5c, 0
mov edi, 0x403078
sub ebx, 0
push 0
call sub.KERNEL32.dll_GetTapeStatus
push edi
push dword [edi + 0x1dc]
push eax
push edx
push dword [edi + 0x1a4]
call fcn.004015bc
pop edi
call sub.KERNEL32.dll_GetCommandLineA
add esp, 0x5c
pop ebp
ret 0x10

Function at 0x401068
Capabilities:
Resume thread

Disassembly:
enter 0x4c, 0
lea eax, [0x403108]
adc dword [eax + 0x50], 0xffffff88
push eax
mov esi, 0xfffffffe
push esi
call sub.KERNEL32.dll_ResumeThread
pop eax
push eax
push dword [eax + 0x134]
push dword [eax + 0x13c]
call fcn.00401984
pop eax
push eax
mov ecx, 0
push ecx
call sub.USER32.dll_SetActiveWindow
pop eax
add esp, 0x4c
pop ebp
ret 8

Function at 0x4010ac
Capabilities:
Accept command line arguments
Resume thread

Disassembly:
enter 0x60, 0
lea ebx, [0x40304c]
and dword [ebx + 0xa8], ebx
mov edx, 0xfffffffe
push edx
call sub.KERNEL32.dll_ResumeThread
push ebx
push esi
push ecx
call fcn.00401a24
pop ebx
call sub.KERNEL32.dll_GetCommandLineA
add esp, 0x60
pop ebp
ret 0x10

Function at 0x4011ac
Capabilities:
Resume thread

Disassembly:
enter 0x5c, 0
mov edx, 0x403050
and eax, ecx
push edx
push 0xfffffffffffffffe
call sub.KERNEL32.dll_ResumeThread
pop edx
push edx
push dword [edx + 0x16c]
push esi
push edi
push dword [edx + 0x160]
call fcn.00401220
pop edx
push edx
call sub.KERNEL32.dll_GetCurrentProcessId
pop edx
add esp, 0x5c
pop ebp
ret 8

Function at 0x401220
Capabilities:
Resume thread

Disassembly:
enter 0x34, 0
lea edi, [edx + 0x100]
cmp edi, 0xb65a
je 0x401223
add byte [ebp + 0x100ba], cl
add byte [ecx + 0xb65aff], al
add byte [ecx + esi*8 + 0x57], dh
push edi
push dword [edi + 0xe4]
push dword [edi + 0x7c]
push ebx
call fcn.004018e4
pop edi
mov ecx, 0xfffffffe
push ecx
call sub.KERNEL32.dll_ResumeThread
mov edx, 0xfffffff5
push edx
call sub.KERNEL32.dll_GetStdHandle
add esp, 0x34
pop ebp
ret 0x10

Function at 0x4012e4
Capabilities:
Accept command line arguments

Disassembly:
enter 0x58, 0
mov esi, 0x4030fc
adc edi, dword [esi + 0xe8]
call sub.KERNEL32.dll_GetCurrentProcessId
push esi
push dword [esi + 0x60]
push dword [esi + 0x1ac]
push dword [esi + 0x1b0]
push edi
call fcn.00401034
pop esi
call sub.KERNEL32.dll_GetCommandLineA
add esp, 0x58
pop ebp
ret 8

Function at 0x401578
Capabilities:
Accept command line arguments

Disassembly:
enter 0x58, 0
lea edx, [0x4031e4]
or eax, 0xdd226f45
push edx
call sub.KERNEL32.dll_GetACP
pop edx
push edx
push dword [edx + 0xc0]
push ebx
call fcn.004012e4
pop edx
push edx
call sub.KERNEL32.dll_GetCommandLineA
pop edx
add esp, 0x58
pop ebp
ret 0x10
Function at 0x40160c
Capabilities:
Accept command line arguments

Disassembly:
enter 0x34, 0
mov eax, 0x40318c
or ebx, dword [ebp - 0x28]
push eax
push edx
mov ebx, esp
push ebx
push 0x26
xor dword [esp], 0x66
mov edi, 0x385
push edi
add dword [esp], 0x5e3
push 0x51761429
sub dword [esp], 0x5135e211
mov edi, 0x1ec5c32d
mov edi, dword [edi - 0x1e85a321]
call edi
pop ebx
pop eax
lea edi, [0x403218]
mov dword [eax - 0xf0], edi
mov edi, edi
add edi, 0x10c
sub esi, esi
add esi, 0x4020f9
push 0x568
pop edx
cmp edx, 0
je 0x40169f
add edx, 0xfffffffc
mov ecx, dword [esi]
add esi, 3
inc esi
push ecx
pop dword [edi - 0x10c]
add edi, 4
sbb dword [ebp - 0x18], 0xffffff99
xor dword [edi - 0x110], 0xa81ee5e1
sub dword [edi - 0x110], 0x4eac6723
jmp 0x40166d
push eax
call sub.KERNEL32.dll_GetCommandLineA
pop eax
add esp, 0x34
pop ebp
ret 0x10

Function at 0x4016e4
Capabilities:
Resume thread

Disassembly:
enter 0x60, 0
mov ecx, 0x40316c
and eax, ebx
push ecx
push 0
call sub.USER32.dll_SetActiveWindow
pop ecx
push ecx
push eax
push eax
call fcn.004011ac
pop ecx
push ecx
mov edi, 0xfffffffe
push edi
call sub.KERNEL32.dll_ResumeThread
pop ecx
add esp, 0x60
pop ebp
ret 0xc

Function at 0x4017a8
Capabilities:
Accept command line arguments

Disassembly:
enter 0x58, 0
lea ecx, [0x403094]
adc edi, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetCommandLineA
pop ecx
push ecx
push dword [ecx + 0x1cc]
push dword [ecx + 0x28]
push edi
push esi
call fcn.0040160c
pop ecx
push ecx
call sub.KERNEL32.dll_GetSystemDefaultLCID
pop ecx
add esp, 0x58
pop ebp
ret 0xc

Function at 0x4018b4
Capabilities:
Accept command line arguments

Disassembly:
enter 0x3c, 0
mov edx, 0x4030f4
sub dword [ebp - 0x3c], ecx
push edx
push edi
push ecx
push dword [edx + 0x48]
call fcn.00401354
pop edx
push edx
call sub.KERNEL32.dll_GetCommandLineA
pop edx
push edx
call sub.KERNEL32.dll_GetSystemDefaultLCID
pop edx
add esp, 0x3c
pop ebp
ret 0xc

Function at 0x4018e4
Capabilities:
Accept command line arguments
Resume thread

Disassembly:
enter 0x5c, 0
lea esi, [0x403008]
cmp esi, 0xb706
jbe 0x4018e7
add byte [ebp + 0x40300835], cl
add byte [ecx + 0xb706fe], al
add byte [esi - 0xf], dh
push esi
push edi
push dword [esi + 0x18c]
push ecx
call fcn.00401510
pop esi
mov ecx, 0xfffffffe
push ecx
call sub.KERNEL32.dll_ResumeThread
call sub.KERNEL32.dll_GetCommandLineA
add esp, 0x5c
pop ebp
ret 0xc

Function at 0x401950
Capabilities:
Resume thread

Disassembly:
enter 0x4c, 0
lea eax, [esi - 0x94]
add dword [ebp - 0x28], edx
push eax
push 0
call sub.KERNEL32.dll_GetTapeStatus
pop eax
push eax
push edi
push ecx
call fcn.00401544
pop eax
push eax
mov esi, 0xfffffffe
push esi
call sub.KERNEL32.dll_ResumeThread
pop eax
add esp, 0x4c
pop ebp
ret 0xc

Function at 0x4019d8
Capabilities:
Accept command line arguments

Disassembly:
enter 0x5c, 0
mov eax, 0x4031d8
add byte [eax + 0x4031d8], bh
cmp eax, 0x2e23
jbe 0x4019db
push eax
call sub.KERNEL32.dll_GetCommandLineA
pop eax
push eax
push esi
push dword [eax + 0xf8]
push esi
call fcn.004017a8
pop eax
push eax
call sub.KERNEL32.dll_GetOEMCP
pop eax
add esp, 0x5c
pop ebp
ret 0xc
Function at 0x4b18b0
Capabilities:
Clear file content

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 1
push esi
push esi
push edi
push esi
pop ebx
mov dword [ebp - 8], esi
call fcn.004ae92b
push edx
pop ecx
mov dword [ebp - 0x18], eax
and eax, ecx
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp eax, 0xffffffff
je 0x4b1938
push 2
push esi
push esi
push edi
call fcn.004ae92b
mov ecx, eax
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4b1938
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub esi, ecx
sbb eax, edx
mov dword [ebp - 4], eax
js 0x4b19cf
jg 0x4b1912
test esi, esi
je 0x4b19cf
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 0x4b1944
call fcn.004a93f4
mov dword [eax], 0xc
call fcn.004a93f4
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push edi
call fcn.004b1a8e
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
pop ecx
test eax, eax
jl 0x4b196c
jg 0x4b1965
cmp esi, 0x1000
jb 0x4b196c
mov eax, 0x1000
jmp 0x4b196e
mov eax, esi
push eax
push dword [ebp - 0xc]
push edi
call fcn.004add38
add esp, 0xc
cmp eax, 0xffffffff
je 0x4b1995
cdq
sub esi, eax
mov eax, dword [ebp - 4]
sbb eax, edx
mov dword [ebp - 4], eax
js 0x4b19b0
jg 0x4b1957
test esi, esi
je 0x4b19b0
jmp 0x4b1957
call fcn.004a93c0
cmp dword [eax], 5
jne 0x4b19aa
call fcn.004a93f4
mov dword [eax], 0xd
or ebx, 0xffffffff
or dword [ebp - 8], ebx
push dword [ebp - 0x10]
push edi
call fcn.004b1a8e
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 0x4b1a35
or eax, eax
jg 0x4b1a41
jl 0x4b19d9
test esi, esi
jae 0x4b1a41
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004ae92b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4b1938
push edi
call fcn.004b14ba
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
push eax
pop ebx
mov eax, edx
push ebx
pop ecx
and ecx, eax
mov dword [ebp - 8], eax
cmp ecx, 0xffffffff
jne 0x4b1a41
call fcn.004a93f4
mov dword [eax], 0xd
call fcn.004a93c0
push eax
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
and ebx, dword [ebp - 8]
cmp ebx, 0xffffffff
je 0x4b1938
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call fcn.004ae92b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4b1938
xor eax, eax
jmp 0x4b193f

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403bf7
Capabilities:
Terminate process

Disassembly:
jmp 0x460359
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x46036a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040655f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403d7d
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a8da2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a8db3
pop esi
ret
push ebx
push edi
push esi
call fcn.004a8c89
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004047cd
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a8ddb
push ebx
push esi
push edi
call fcn.00406302
add esp, 0xc
push 0
call fcn.0040706d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4063d9
Capabilities:
Parse pe header

Disassembly:
jmp 0x44f19f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44f1de
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44f1de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44f1de
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44f1de
cmp dword [ecx + 0x74], 0xe
jbe 0x44f1de
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a1718
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401fff
mov eax, dword [0x7533e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406bc2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a175a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a18b6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406d52
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x758700]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004037e7
mov ecx, dword [esi*4 + 0x758700]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4a18af
cmp eax, dword [edi + ecx + 0x24]
jne 0x4a18af
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a18af
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004037e7
add esp, 0x14
test edx, edx
jl 0x4a18af
jg 0x4a1825
test eax, eax
jb 0x4a18af
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a18af
jl 0x4a183f
cmp dword [ebp - 0x1008], eax
ja 0x4a18af
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a185d
test ebx, ebx
je 0x4a1896
cmp ecx, edi
jae 0x4a1896
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a1877
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a1883
cmp byte [ecx + 1], 0xa
jne 0x4a1883
inc ecx
jmp 0x4a1883
movzx eax, al
movsx eax, byte [eax + 0x753f38]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a185d
cmp edx, ebx
jne 0x4a185d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a18b4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403585
leave
ret
Function at 0x4a7341
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x7533e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a738c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a7803
test al, al
jne 0x4a7386
sub edx, 2
cmp edx, edi
jne 0x4a736c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a73ae
lea eax, [edi + 2]
cmp edx, eax
je 0x4a73ae
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a6f3a
add esp, 0x10
jmp 0x4a74a8
push esi
lea ecx, [ebp - 0x255]
call fcn.004a7803
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a73f1
push dword [ebp - 0x25c]
jmp 0x4a739e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a742e
cmp word [ebp - 0x226], 0
je 0x4a744f
cmp word [ebp - 0x226], ax
jne 0x4a742e
cmp word [ebp - 0x224], 0
je 0x4a744f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a6f3a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a749b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a7408
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a7483
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a74a8
push 0x4a6922
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00406109
add esp, 0x10
jmp 0x4a7478
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403585
leave
ret
Function at 0x4b2c23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x758700]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b2c63
cmp byte [ebx], 0xa
jne 0x4b2c63
or byte [eax + edi + 0x28], 4
jmp 0x4b2c68
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b2d66
mov al, byte [edx]
cmp al, 0x1a
je 0x4b2d48
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b2c97
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b2cbc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b2cc6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4b2c79
jmp 0x4b2d66
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b2d43
cmp dword [ebp - 0xc], 0
je 0x4b2d43
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x758700]
test byte [eax + edi + 0x28], 0x48
je 0x4b2d1d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b2d08
mov byte [esi], dl
jmp 0x4b2d19
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x758700]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b2d66
cmp byte [ebp - 1], 0xa
jne 0x4b2d2c
cmp esi, ebx
jne 0x4b2d2c
mov byte [esi], 0xa
jmp 0x4b2d65
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401ad7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b2d66
mov byte [esi], 0xd
jmp 0x4b2d65
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x758700]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b2d62
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b2d66
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret