joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10136cc0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1019a624]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x1a
jbe 0x10136d56
call fcn.100018ed
mov dword [eax], 0xf
xor eax, eax
je 0x10136cf0
mov dword [ebp - 0x14], 1
jmp 0x10136cf7
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x10136d26
push str.__Invalid_Drive_Index___0_
push 0x1015c970
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push 2
call fcn.1000240a
add esp, 0x18
cmp eax, 1
jne 0x10136d26
int3
cmp dword [ebp - 0x18], 0
jne 0x10136d56
call fcn.10003d78
mov dword [eax], 0xd
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push str.is_valid_drive
push str.__Invalid_Drive_Index___0_
call fcn.100066c2
add esp, 0x14
xor eax, eax
jmp 0x10136daf
cmp dword [ebp + 8], 0
jne 0x10136d63
mov eax, 1
jmp 0x10136daf
mov eax, dword [ebp + 8]
add eax, 0x40
mov word [ebp - 0x10], ax
mov cx, word [ebp - 0x10]
mov word [ebp - 0xc], cx
mov edx, 0x3a
mov word [ebp - 0xa], dx
mov eax, 0x5c
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], cx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10136da6
cmp dword [ebp - 0x1c], 1
jne 0x10136daa
xor eax, eax
jmp 0x10136daf
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003314
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7f5b5d21
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a326691
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10033b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10033b3f
pop dword [ebp - 0x2c]
mov eax, 0x97d4dfa5
add eax, 0x782e5b9a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xea68e5db
add dword [ebp - 0x3c], 0x63e95f70
mov dword [ebp - 0x38], 0xd0d45015
add dword [ebp - 0x38], 0x615efc30
mov dword [ebp - 0x34], 0x3739dd80
add dword [ebp - 0x34], 0x151266ae
mov dword [ebp - 0x30], 0xa6b0cbab
sub dword [ebp - 0x30], 0xa6b0cbab
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xac921ffc
add eax, 0x6371c080
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x213310a1
sub dword [ebp - 0x3c], 0xacc0a74b
mov dword [ebp - 0x38], 0x9759e976
add dword [ebp - 0x38], 0xaa1277ff
mov dword [ebp - 0x34], 0xdf889dd0
sub dword [ebp - 0x34], 0x7c193164
mov dword [ebp - 0x30], 0x10c6501e
add dword [ebp - 0x30], 0xef39afe2
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ee7f
push 0
call eax
mov ecx, 0xffef7393
add ecx, 0x10d990
mov edx, eax
mov ebx, 0x10071200
add ebx, dword [ebp - 0x2c]
mov edi, 0x7ed79103
add edi, 0x39ebf2e4
sub dword [ebp - 0x10], ebx
mov esi, dword [ebx]
mov dword [ebp - 0x18], 0x9ed9a986
xor esi, edi
add dword [ebp - 0x10], eax
mov dword [edx], esi
xor dword [ebp - 0xc], 0xd0a23a89
add edx, 0x4bcdd703
add edx, 0xb4322901
add ebx, 0x851b91c2
add ebx, 0x7ae46e42
loop 0x10033c56
add eax, 0xc9eddd11
sub eax, 0xc9ecb5b2
xor ebx, ebx
add ebx, eax
add eax, 0x446ee66b
sub eax, 0x446ee666
mov ecx, 0x482c47e0
add ecx, 0xc7d3b820
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x100259e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100259f0
pop dword [ebp - 0x2c]
mov eax, 0x1ed894ca
sub eax, 0xed63ada
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7a2f5ff6
add dword [ebp - 0x3c], 0xd422e555
mov dword [ebp - 0x38], 0x8deebbc6
add dword [ebp - 0x38], 0xa444907f
mov dword [ebp - 0x34], 0x89eb551
add dword [ebp - 0x34], 0x43ad8edd
mov dword [ebp - 0x30], 0xd30af450
sub dword [ebp - 0x30], 0xd30af450
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x8d35e843
add eax, 0x82cd68d5
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x1a9252cb
add dword [ebp - 0x3c], 0x59e0168b
mov dword [ebp - 0x38], 0xb06c709f
add dword [ebp - 0x38], 0x90fff0d6
mov dword [ebp - 0x34], 0x504a3818
add dword [ebp - 0x34], 0x13253454
mov dword [ebp - 0x30], 0x3fa0b325
add dword [ebp - 0x30], 0xc05f4cdb
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xb58eaf08
add eax, 0x5a74a25c
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b94d
push 0
call eax
mov ecx, 0x5e4f530e
sub ecx, 0x5e4f0936
mov edi, eax
mov edx, 0xeb5a40b7
add edx, 0x24ae4349
add edx, dword [ebp - 0x2c]
mov esi, 0x88214597
add dword [ebp - 0x18], 0xede72b0b
mov ebx, dword [edx]
add dword [ebp - 8], eax
xor ebx, esi
xor dword [ebp - 0x1c], edi
mov dword [edi], ebx
add edi, 4
add edx, 4
loop 0x10025b0c
add eax, 0x3fd057ac
sub eax, 0x3fcf3d79
xor ebx, ebx
add ebx, eax
add eax, 0x8a959ffa
sub eax, 0x8a959ff5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401430
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push eax
push ecx
push esi
push ebp
call fcn.0046148b
mov cl, byte [0x4750a0]
mov edi, eax
add esp, 0x10
imul edi, esi
test cl, cl
je 0x4014b3
xor esi, esi
push ebx
mov ecx, esi
xor ecx, 0x67
mov dl, cl
mov bl, cl
and dl, 0xfe
and bl, 1
shl dl, 3
or dl, bl
mov bl, cl
shl dl, 2
and bl, 8
or dl, bl
mov ebx, ecx
sar ebx, 1
add dl, dl
and bl, 0x60
or dl, bl
mov ebx, ecx
sar ebx, 2
and bl, 5
sar ecx, 4
or dl, bl
and cl, 2
or dl, cl
mov byte [esi + 0x47aea0], dl
inc esi
cmp esi, 0x100
jb 0x401461
mov byte [0x4750a0], 0
pop ebx
xor ecx, ecx
test edi, edi
jbe 0x4014cd
xor edx, edx
mov dl, byte [ecx + ebp]
inc ecx
cmp ecx, edi
mov dl, byte [edx + 0x47aea0]
mov byte [ecx + ebp - 1], dl
jb 0x4014b9
pop edi
pop esi
pop ebp
ret

Function at 0x4014e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [esp + 0x10]
imul edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
jbe 0x40153e
push ebx
xor eax, eax
mov al, byte [esi + ebp]
mov dl, al
mov bl, al
and dl, 2
and bl, 5
shl dl, 2
or dl, bl
mov bl, al
add dl, dl
and bl, 0xe0
or dl, bl
mov ebx, eax
sar ebx, 1
add dl, dl
and bl, 8
or dl, bl
mov ebx, eax
sar ebx, 6
and bl, 2
sar eax, 3
or dl, bl
and al, 1
or dl, al
xor dl, 0x67
mov byte [esi + ebp], dl
inc esi
cmp esi, edi
jb 0x4014f9
pop ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push edx
push ecx
push ebp
call fcn.00461573
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x402ce0
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
dec esi
test esi, esi
jle 0x402d06
cmp byte [esi + edx], 0x2e
je 0x402d06
dec esi
test esi, esi
jg 0x402cfb
cmp esi, 3
jle 0x402d28
cmp byte [esi + edx - 3], 0x5b
jne 0x402d28
mov al, byte [esi + edx - 2]
cmp al, 0x30
jl 0x402d28
cmp al, 0x39
jg 0x402d28
cmp byte [esi + edx - 1], 0x5d
jne 0x402d28
sub esi, 3
test esi, esi
mov ebx, esi
jle 0x402d43
mov al, byte [edx + ebx - 1]
cmp al, 0x2f
je 0x402d43
cmp al, 0x5c
je 0x402d43
cmp al, 0x3a
je 0x402d43
dec ebx
test ebx, ebx
jg 0x402d2e
mov ebp, dword [esp + 0x18]
push 0x104
push ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [esp + 0x14]
push 3
push 0x47547c
lea edi, [ebx + eax]
push edi
call fcn.0046e100
add esp, 0xc
test eax, eax
je 0x402e34
push 3
push 0x475478
push edi
call fcn.0046e100
add esp, 0xc
test eax, eax
je 0x402e34
push 4
push str.360_
push edi
call fcn.0046e100
add esp, 0xc
test eax, eax
jne 0x402dc2
mov ecx, dword [esp + 0x1c]
sub esi, ebx
add edi, 4
sub esi, 4
push edi
push esi
push ebp
push str._s360x180
push ecx
call fcn.0046120f
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 5
push 0x4752a8
push edi
call fcn.0046e100
add esp, 0xc
test eax, eax
jne 0x402de0
sub esi, ebx
add edi, 5
sub esi, 5
jmp 0x402e3c
push 9
push str.360x180
push edi
call fcn.0046e100
add esp, 0xc
sub esi, ebx
test eax, eax
jne 0x402e18
mov eax, dword [esp + 0x1c]
add edi, 9
sub esi, 9
push edi
push esi
push ebp
push str._s360x180
push eax
call fcn.0046120f
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ebp
push str._s360x180
push ecx
call fcn.0046120f
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
sub esi, ebx
add edi, 3
sub esi, 3
mov edx, dword [esp + 0x1c]
push edi
push esi
push ebp
push str._s360x180
push edx
call fcn.0046120f
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x402e60
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
sub esp, 0x420
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [esp + 0x10]
push 0x4751fc
push edx
lea eax, [esp + 0x11c]
push str._s_s.lnk
push eax
call fcn.0046120f
add esp, 0x10
lea ecx, [esp]
mov dword [esp], 0
push ecx
push 0x46f428
push 1
push 0
push 0x46f418
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402f90
mov eax, dword [esp]
mov ecx, dword [esp + 0x424]
mov dword [esp + 4], 0
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x50]
mov eax, dword [esp]
mov ecx, dword [esp + 0x428]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x472520
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x402f7b
lea edx, [esp + 0x218]
push 0x104
push edx
lea eax, [esp + 0x11c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea edx, [esp + 0x218]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
add esp, 0x420
ret 8
or eax, 0xffffffff
add esp, 0x420
ret 8
Function at 0x4036d0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x118]
push ebx
push ebp
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x10]
push edi
push ecx
xor esi, esi
push 0x475610
push 0x475048
mov byte [eax], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], esi
call fcn.0046232f
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, esi
je 0x4038f8
push 0x475540
push 0x47afb0
call fcn.00462171
mov edi, eax
add esp, 8
cmp edi, esi
je 0x4038f8
mov edx, dword [esp + 0x14]
push esi
push edx
push edi
call fcn.004620c5
add esp, 0xc
test eax, eax
push edi
jne 0x4038f0
push 1
lea eax, [esp + 0x20]
push 4
push eax
mov dword [esp + 0x28], esi
call fcn.0046148b
add esp, 0x10
cmp eax, 1
jne 0x4038ef
mov eax, dword [esp + 0x18]
cmp eax, 1
jl 0x4038ef
cmp eax, 0x3e8
jg 0x4038ef
lea ecx, [eax*4]
push ecx
call fcn.00460f61
mov edx, dword [esp + 0x1c]
push edi
mov ebp, eax
push edx
push 4
push ebp
call fcn.0046148b
mov ecx, dword [esp + 0x2c]
add esp, 0x14
cmp eax, ecx
je 0x4037af
mov bl, 1
jmp 0x403854
mov edx, dword [esp + 0x14]
mov eax, ecx
shl eax, 5
add eax, ecx
xor bl, bl
test ecx, ecx
lea eax, [edx + eax*8 + 4]
mov dword [esp + 0x14], eax
jle 0x403850
push edi
push 1
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0046148b
add esp, 0x10
cmp eax, 1
jne 0x40384b
xor eax, eax
mov cl, byte [esp + eax + 0x20]
xor cl, 0x55
mov byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0x104
jl 0x4037e8
test bl, bl
jne 0x403832
lea edx, [esp + 0x20]
push str..360
push edx
call fcn.00461e40
add esp, 8
test eax, eax
je 0x403832
mov edx, dword [esp + 0x128]
lea ecx, [esp + 0x20]
lea eax, [esp + 0x20]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403826
mov bl, 1
mov edx, dword [ebp + esi*4]
mov eax, dword [esp + 0x14]
add eax, edx
inc esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x4037cc
jmp 0x403850
mov byte [esp + 0x13], 1
mov bl, byte [esp + 0x13]
push 2
push 0
push edi
call fcn.004620c5
add esp, 0xc
test eax, eax
je 0x403890
mov byte [esp + 0x13], 1
mov bl, byte [esp + 0x13]
push edi
call fcn.00461f17
push ebp
call fcn.00461a52
add esp, 8
neg bl
sbb ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x114
ret 4
test bl, bl
jne 0x40386e
push edi
call fcn.00461f6d
mov ecx, dword [esp + 0x18]
add esp, 4
cmp eax, ecx
jge 0x4038c9
mov ecx, dword [esp + 0x1c]
call fcn.00405d50
push 0
push 0x4751fc
push str.HATALI_DOSYA_BOYUTU__nDosyan
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004623d5
jle 0x40386e
mov ecx, dword [esp + 0x1c]
call fcn.00405d50
push 0
push 0x4751fc
push str.HATALI_DOSYA_BOYUTU__nDosya_olmas
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004623d5
push edi
call fcn.00461f17
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x114
ret 4
Function at 0x403910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x110
push ebx
push ebp
lea eax, [esp + 8]
push edi
push eax
xor edi, edi
push 0x475610
push 0x475048
xor bl, bl
mov dword [esp + 0x18], edi
call fcn.0046232f
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, edi
jne 0x40394e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 8
push 0x475540
push 0x47afb0
call fcn.00462171
mov ebp, eax
add esp, 8
cmp ebp, edi
jne 0x403974
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 8
mov ecx, dword [esp + 0xc]
push edi
push ecx
push ebp
call fcn.004620c5
add esp, 0xc
test eax, eax
push ebp
je 0x40399e
call fcn.00461f17
add esp, 4
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x110
ret 8
push 1
lea edx, [esp + 0x18]
push 4
push edx
mov dword [esp + 0x20], edi
call fcn.0046148b
add esp, 0x10
cmp eax, 1
je 0x4039cf
push ebp
call fcn.00461f17
add esp, 4
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x110
ret 8
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.00460f61
mov edx, dword [esp + 0x14]
push ebp
push edx
push 4
push eax
mov dword [esp + 0x28], eax
call fcn.0046148b
mov ecx, dword [esp + 0x24]
add esp, 0x14
cmp eax, ecx
je 0x4039ff
mov bl, 1
mov edx, dword [esp + 0xc]
mov eax, ecx
shl eax, 5
add eax, ecx
cmp ecx, edi
push esi
lea eax, [edx + eax*8 + 4]
mov dword [esp + 0x10], eax
jle 0x403aa4
push ebp
push 1
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.0046148b
add esp, 0x10
cmp eax, 1
jne 0x403aa2
xor eax, eax
mov cl, byte [esp + eax + 0x1c]
xor cl, 0x55
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x104
jl 0x403a37
mov eax, dword [esp + 0x124]
lea esi, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403a79
test cl, cl
je 0x403a75
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403a79
add eax, 2
add esi, 2
test cl, cl
jne 0x403a55
xor eax, eax
jmp 0x403a7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403aa4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x14]
add edx, ecx
inc edi
cmp edi, eax
mov dword [esp + 0x10], edx
jl 0x403a1b
jmp 0x403aa4
mov bl, 1
mov edx, dword [esp + 0x10]
push 0
push edx
push ebp
call fcn.004620c5
add esp, 0xc
test eax, eax
je 0x403aba
mov bl, 1
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + edi*4]
add eax, ecx
mov ecx, dword [esp + 0x128]
test bl, bl
mov dword [ecx], eax
je 0x403add
push ebp
call fcn.00461f17
add esp, 4
push esi
call fcn.00461a52
add esp, 4
neg bl
sbb ebx, ebx
pop esi
not ebx
and ebx, ebp
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x110
ret 8
Function at 0x4055f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push eax
call esi
test eax, eax
je 0x40562d
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, eax
or ecx, edx
jne 0x405635
lea edx, [esp + 4]
push edx
call esi
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, eax
or ecx, edx
je 0x405613
pop esi
add esp, 8
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
xor edx, edx
pop esi
add esp, 8
ret
Function at 0x41585a
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp edi, ebp
mov ebx, ecx
jne 0x415874
mov eax, 0x80070057
jmp 0x4159f1
cmp dword [ebx + 0x104], 0xffffffff
je 0x415884
mov ecx, ebx
call fcn.004159f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0x10000080
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 4
push ebp
mov ecx, eax
push ebp
push 0xc0000000
and ecx, 3
push dword [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x114], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0x104], eax
je 0x415939
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebx + 0x110], eax
sbb esi, esi
neg esi
mov dword [esp + 0x14], esi
je 0x4158ed
mov eax, 0x1000
jmp 0x4158f6
add eax, 0xfff
and ax, 0xf000
push ebp
push eax
push ebp
push 4
push ebp
mov dword [ebx + 0x110], eax
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [ebx + 0x108], eax
je 0x415939
push dword [ebx + 0x110]
push ebp
push ebp
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebp
mov dword [ebx + 0x10c], edx
jne 0x415969
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x41594b
call esi
mov esi, eax
jmp 0x41595b
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov ecx, ebx
call fcn.004159f8
mov eax, esi
jmp 0x4159f1
cmp esi, ebp
jne 0x4159c0
push 8
mov edi, str.D3DX_r_n
pop ecx
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x415998
cmp dword [edx + 8], ebp
jne 0x415998
cmp dword [edx + 0x14], 0x10
jne 0x415998
mov eax, dword [edx + 0x18]
cmp eax, 0x28
jb 0x415998
cmp eax, dword [ebx + 0x110]
jbe 0x4159b8
mov ecx, dword [ebx + 0x110]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x14], 1
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x4159ef
mov eax, dword [str.D3DX_r_n]
mov dword [edx], eax
mov eax, dword [0x4721e4]
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebp
mov dword [edx + 0x10], ebp
mov dword [edx + 0x14], 0x10
mov dword [edx + 0x18], 0x28
mov dword [edx + 0x1c], ebp
mov dword [edx + 0x20], ebp
mov dword [edx + 0x24], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41aa1b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0041583f
test eax, eax
jne 0x41aaac
lea eax, [ebp - 0x100]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, 0x47250c
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + edx - 0x100], 0x5c
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
lea edi, [ebp + edx - 0xff]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x100]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0041585a
test eax, eax
jl 0x41aaae
mov ecx, ebx
call fcn.00415853
cmp eax, 0x100000
jbe 0x41aaac
mov ecx, ebx
call fcn.00415a53
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.0041585a
test eax, eax
jl 0x41aaae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebp
ret

Function at 0x41f300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
ret