joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fadc
Capabilities:
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x42a5ca
call fcn.00429b95
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40fb0a
push 0x24000021
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
call fcn.00429c01
ret 4
and dword [ebp - 4], 0
mov esi, 0x10000
push esi
call sub.mfc90u.dll_new__
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 2
call sub.mfc90u.dll_new__
or dword [ebp - 4], 0xffffffff
pop ecx
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov esi, 0x8000
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp dword [ebp - 0x14], 0
jne 0x40fb6b
push edi
call sub.mfc90u.dll_delete__
push ebx
call sub.mfc90u.dll_delete__
pop ecx
pop ecx
push 0x24000021
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x40fb02
push ebx
push esi
push edi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x14]
sub esi, ebx
sar esi, 1
and dword [ebp + 8], 0
mov dword [ebp - 0x1c], eax
lea eax, [edi + esi*2]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x1c], 0
jbe 0x40fbc0
call fcn.0040ff53
mov edx, dword [ebp - 0x14]
and al, 0xf
movzx cx, al
mov eax, dword [ebp - 0x18]
add cx, 0x41
mov word [edx + eax*2], cx
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jb 0x40fb9e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
inc dword [ebp + 8]
cmp dword [ebp + 8], 1
mov eax, ebx
mov ebx, edi
mov dword [ebp - 0x18], eax
mov edi, eax
lea eax, [eax + esi*2]
mov dword [ebp - 0x14], eax
jb 0x40fb94
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov esi, eax
call sub.mfc90u.dll_delete__
push ebx
call sub.mfc90u.dll_delete__
pop ecx
pop ecx
mov eax, esi
jmp 0x40fb02

Function at 0x40fcfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push edi
xor edi, edi
push 0
mov eax, esi
mov dword [esi + 0x30], edi
call fcn.004101c4
test eax, eax
je 0x40fd3b
lea eax, [edi + 1]
mov dword [esi + 0x30], eax
push 0xff
mov eax, esi
call fcn.004101c4
test eax, eax
je 0x40fd3b
inc edi
inc edi
cmp edi, 6
jb 0x40fcff
mov dword [esi + 0x30], 6
mov eax, esi
pop edi
jmp fcn.00410050
xor eax, eax
pop edi
ret
Function at 0x410018
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41002a
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [esi + 0x18], 0
push dword [esp + 0xc]
push dword [esp + 8]
push dword [esp + 0x10]
push 6
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x18], eax
mov eax, ecx
ret 0xc

Function at 0x410050
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push edi
test eax, eax
jl 0x4101ab
jg 0x41007b
test ecx, ecx
jbe 0x4101ab
mov ebx, 0x20000
mov edx, dword [ebp - 0x10]
sub ecx, edx
sbb eax, dword [ebp - 0xc]
test eax, eax
jg 0x4100e8
jl 0x410092
cmp ecx, ebx
jae 0x4100e8
mov eax, dword [esi + 0x10]
sub eax, edx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00410018
test eax, eax
je 0x4101b3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor edi, edi
sub eax, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
js 0x41010c
jg 0x4100c2
test eax, eax
jbe 0x41010c
call fcn.0040ff53
mov ecx, dword [esi + 0x18]
mov byte [edi + ecx], al
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
inc edi
sub ecx, dword [ebp - 0x10]
sbb eax, dword [ebp - 0xc]
xor edx, edx
cmp edx, eax
jl 0x4100c2
jg 0x41010c
cmp edi, ecx
jb 0x4100c2
jmp 0x41010c
push ebx
push dword [ebp - 0xc]
push edx
call fcn.00410018
test eax, eax
je 0x4101b3
xor edi, edi
call fcn.0040ff53
mov ecx, dword [esi + 0x18]
mov byte [edi + ecx], al
inc edi
cmp edi, ebx
jb 0x4100fc
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x4101b3
cmp dword [esi + 0x28], 0
je 0x41018a
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x14]
imul edx, ebx
mov eax, dword [esi + 0x10]
add edx, dword [esi + 0x30]
push ecx
push eax
push 0
push edx
call fcn.00429d90
xor ecx, ecx
add eax, edi
adc edx, ecx
add eax, dword [ebp - 0x10]
push ecx
adc edx, dword [ebp - 0xc]
push 0x64
push edx
push eax
call fcn.00429d90
mov ecx, dword [esi + 4]
push dword [esi + 0x14]
imul ecx, ebx
push dword [esi + 0x10]
mov edi, eax
push 0
mov eax, edx
push ecx
mov dword [ebp - 4], eax
call fcn.00429d90
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call fcn.00429ce0
push eax
call dword [esi + 0x28]
pop ecx
test eax, eax
je 0x4101b7
mov ebx, 0x20000
add dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
adc dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], eax
jl 0x410080
jg 0x4101ab
cmp dword [ebp - 0x10], ecx
jb 0x410080
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x4101ae
push 0x24000023
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4101b3
Function at 0x41005f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push edi
test eax, eax
jl 0x4101ab
jg 0x41007b
test ecx, ecx
jbe 0x4101ab
mov ebx, 0x20000
mov edx, dword [ebp - 0x10]
sub ecx, edx
sbb eax, dword [ebp - 0xc]
test eax, eax
jg 0x4100e8
jl 0x410092
cmp ecx, ebx
jae 0x4100e8
mov eax, dword [esi + 0x10]
sub eax, edx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00410018
test eax, eax
je 0x4101b3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor edi, edi
sub eax, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
js 0x41010c
jg 0x4100c2
test eax, eax
jbe 0x41010c
call fcn.0040ff53
mov ecx, dword [esi + 0x18]
mov byte [edi + ecx], al
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
inc edi
sub ecx, dword [ebp - 0x10]
sbb eax, dword [ebp - 0xc]
xor edx, edx
cmp edx, eax
jl 0x4100c2
jg 0x41010c
cmp edi, ecx
jb 0x4100c2
jmp 0x41010c
push ebx
push dword [ebp - 0xc]
push edx
call fcn.00410018
test eax, eax
je 0x4101b3
xor edi, edi
call fcn.0040ff53
mov ecx, dword [esi + 0x18]
mov byte [edi + ecx], al
inc edi
cmp edi, ebx
jb 0x4100fc
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x4101b3
cmp dword [esi + 0x28], 0
je 0x41018a
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x14]
imul edx, ebx
mov eax, dword [esi + 0x10]
add edx, dword [esi + 0x30]
push ecx
push eax
push 0
push edx
call fcn.00429d90
xor ecx, ecx
add eax, edi
adc edx, ecx
add eax, dword [ebp - 0x10]
push ecx
adc edx, dword [ebp - 0xc]
push 0x64
push edx
push eax
call fcn.00429d90
mov ecx, dword [esi + 4]
push dword [esi + 0x14]
imul ecx, ebx
push dword [esi + 0x10]
mov edi, eax
push 0
mov eax, edx
push ecx
mov dword [ebp - 4], eax
call fcn.00429d90
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call fcn.00429ce0
push eax
call dword [esi + 0x28]
pop ecx
test eax, eax
je 0x4101b7
mov ebx, 0x20000
add dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
adc dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], eax
jl 0x410080
jg 0x4101ab
cmp dword [ebp - 0x10], ecx
jb 0x410080
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x4101ae
push 0x24000023
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4101b3
Function at 0x424fee
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, eax
lea eax, [edi + 0x1e4]
test eax, eax
je 0x425000
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x754]
mov dword [edi + 0x75c], eax
mov eax, dword [0x4420b4]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x760], eax
mov eax, dword [0x4420b4]
mov eax, dword [eax + 0x1234]
mov dword [edi + 0x750], eax
test ecx, ecx
jne 0x425037
mov dword [eax], 1
jmp 0x425042
cmp ecx, 1
jne 0x425042
mov dword [eax], 3
mov eax, dword [edi + 0x750]
push 0x2002c
mov dword [eax], 5
call sub.mfc90u.dll_new
pop ecx
test eax, eax
je 0x425066
mov esi, eax
call fcn.0040ab7e
jmp 0x425068
xor eax, eax
mov dword [edi + 0x850], eax
lea eax, [esp + 8]
push eax
push 0
push edi
push 0x4250da
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0x3039
push esi
mov ecx, edi
mov dword [edi + 0x8a8], eax
call fcn.00424f28
push 0
push 0x19
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x579
lea esi, [edi + 0x50c]
push esi
call fcn.0040da21
push 0x61ad
add edi, 0x560
push edi
call fcn.0040da21
mov eax, esi
call fcn.0040da0b
mov eax, edi
call fcn.0040da0b
pop edi
pop esi
pop ecx
ret

Function at 0x42918e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441028]
jne 0x429198
repz ret
jmp fcn.004296be
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x403508
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x403517
pop dword [ebp - 0x34]
mov eax, 0x4267a39e
add eax, 0xbdd89179
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x92039863
add dword [ebp - 0x44], 0xbc4eace8
mov dword [ebp - 0x40], 0x8432e67c
add dword [ebp - 0x40], 0xae0065c9
mov dword [ebp - 0x3c], 0x2737b07f
sub dword [ebp - 0x3c], 0xdaeb6c51
mov dword [ebp - 0x38], 0xcbf630b7
add dword [ebp - 0x38], 0x3409cf49
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7821b58e
add eax, 0x881f1abe
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xb5736639
sub dword [ebp - 0x44], 0x4100fce3
mov dword [ebp - 0x40], 0x68cec0c8
sub dword [ebp - 0x40], 0x27625f53
mov dword [ebp - 0x3c], 0x596d64f3
add dword [ebp - 0x3c], 0xa020779
mov dword [ebp - 0x38], 0x9dab3041
add dword [ebp - 0x38], 0x6254cfbf
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5ec
push 0
call eax
mov ecx, 0xb580b1b8
sub ecx, 0xb5806659
mov ebx, eax
mov edi, 0xc00a9328
add edi, 0x40371cd8
add edi, dword [ebp - 0x34]
mov edx, 0xcac6e872
sub edx, 0xcb1d4d8d
mov dword [ebp - 0x20], 0xfc7dc808
mov esi, dword [edi]
add dword [ebp - 0x18], 0xbe3afbb4
sub esi, edx
add dword [ebp - 0x18], esi
mov dword [ebx], esi
xor dword [ebp - 0x1c], 0x3d457589
add ebx, 4
add edi, 0x5946dd12
add edi, 0xa6b922f2
loop 0x403634
add eax, 0xf565aefa
add eax, 0xa9b7155
mov ebx, eax
add eax, 5
mov ecx, 0x2727321e
sub ecx, 0x26e7321e
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edi
inc esi
add ebx, 0xdc7508d3
call fcn.0040895e
xor dword [eax], edi
inc eax
push esi
pop esi
sub esi, 1
cmp eax, ecx
jne fcn.00408933
mov esi, esi
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x415d90
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x415f17
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x95
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x30
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd6
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x88
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb3
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x23
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x76
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x13
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x9a
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x66
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x6c
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xc7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x87
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb2
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xb6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x46
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb5
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc0
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xce
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7a
inc edi
cmp edi, ebx
jb 0x415db0
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4035f8
Capabilities:
Terminate process

Disassembly:
jmp 0x453949
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45395a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405925
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 0x403724
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7d2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7e3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6b9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c80b
push ebx
push esi
push edi
call fcn.00405709
add esp, 0xc
push 0
call fcn.00406285
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4057d6
Capabilities:
Parse pe header

Disassembly:
jmp 0x4426ff
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44273e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44273e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44273e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44273e
cmp dword [ecx + 0x74], 0xe
jbe 0x44273e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4065c8
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
jmp 0x417410
sub esp, 0x3c
mov eax, dword [0x4d1034]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x4175b3
nop dword [eax]
mov edx, dword [ecx]
xorps xmm0, xmm0
add edx, edi
mov dword [esp + 0x40], 0
mov eax, edx
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x30], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417481
sub eax, esi
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.004054b6
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
test edi, edi
je 0x417561
cmp dword [esp + 0x54], 3
jbe 0x417561
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x30]
mov edi, edx
mov ebp, edx
xor edi, 0x14d
cmp dword [esp + 0x44], 0x10
cmovae eax, ebx
shr ebp, 2
xor esi, esi
mov dword [esp + 0x1c], eax
test ebp, ebp
je 0x417509
mov ebx, eax
nop dword [eax]
imul ecx, dword [ebx + esi*4], 0x5bd1e991
inc esi
imul edi, edi, 0x5bd1e991
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
xor edi, ecx
cmp esi, ebp
jl 0x4174e0
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
and edx, 3
lea esi, [eax + ebp*4]
xor ecx, ecx
sub edx, 1
je 0x417530
sub edx, 1
je 0x417527
sub edx, 1
jne 0x41753d
movsx ecx, byte [esi + 2]
shl ecx, 0x10
movsx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor edi, eax
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x417559
cmp ecx, dword [esp + 0x54]
je 0x4175cc
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, 0x10
jb 0x4175a4
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x417596
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417621
push ecx
push ebx
call fcn.00401a32
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, dword [esp + 0x28]
jb 0x417460
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403067
add esp, 0x3c
ret
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x4175b3
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x417615
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417621
push ecx
push ebx
call fcn.00401a32
add esp, 8
jmp 0x4175b3
call fcn.004047cd
int3
Function at 0x4147a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4146e0
sub esp, 0x6c
mov eax, dword [0x4d1034]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00401343
mov ebx, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x18], ebx
call fcn.004026cb
add esp, 4
mov edi, 0x4b814e
cmp byte [esp + 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x4c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x5c], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x6c], xmm0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x74], eax
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jne 0x414756
mov edi, dword [ebx + 8]
lea eax, [esp + 0x20]
push eax
call fcn.004026cb
mov ecx, edi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414768
sub ecx, edx
push 1
lea ebx, [ecx + 1]
push ebx
call fcn.0040335f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x414872
test ebx, ebx
je 0x414798
push ebx
push edi
push ebp
call fcn.00405709
add esp, 0xc
lea eax, [esp + 0x4c]
mov dword [esi + 8], ebp
push eax
push 0
push str.false
call fcn.0040317f
mov dword [esi + 0x10], eax
lea eax, [esp + 0x58]
push eax
push 0
push str.true
call fcn.0040317f
add esp, 0x18
mov dword [esi + 0x14], eax
cmp byte [esp + 0x84], 0
je 0x414845
lea eax, [esp + 0x4c]
mov byte [esp + 0x10], 0x2e
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x24]
movlpd qword [esp + 0x28], xmm0
push eax
call fcn.00403c8d
movzx eax, word [esp + 0x28]
xorps xmm0, xmm0
mov word [esi + 0xc], ax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x28], 0x2c
push eax
push 1
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
movlpd qword [esp + 0x3c], xmm0
push eax
call fcn.00403c8d
movzx eax, word [esp + 0x3c]
add esp, 0x28
jmp 0x414859
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
movzx eax, word [eax]
mov word [esi + 0xc], ax
mov eax, dword [ecx + 0x34]
movzx eax, word [eax]
mov ecx, dword [esp + 0x78]
pop edi
mov word [esi + 0xe], ax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403067
add esp, 0x6c
ret 8
call fcn.004010aa
int3
Function at 0x4964b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401db1
mov eax, dword [0x4d1034]
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.00405e89
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4964f9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x496655
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405fe7
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 + 0x4d4bb0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0040326a
mov ecx, dword [esi*4 + 0x4d4bb0]
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 0x49664e
cmp eax, dword [edi + ecx + 0x24]
jne 0x49664e
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 0x49664e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040326a
add esp, 0x14
test edx, edx
jl 0x49664e
jg 0x4965c4
test eax, eax
jb 0x49664e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49664e
jl 0x4965de
cmp dword [ebp - 0x1008], eax
ja 0x49664e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4965fc
test ebx, ebx
je 0x496635
cmp ecx, edi
jae 0x496635
mov al, byte [ecx]
cmp al, 0xd
jne 0x496616
lea eax, [edi - 1]
cmp ecx, eax
jae 0x496622
cmp byte [ecx + 1], 0xa
jne 0x496622
inc ecx
jmp 0x496622
movzx eax, al
movsx eax, byte [eax + 0x4d1bb8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4965fc
cmp edx, ebx
jne 0x4965fc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x496653
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403067
leave
ret