joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49633f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00486174
mov dword [ebp - 0x14], eax
cmp dword [0xaa2e30], esi
jne 0x496432
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4963bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x496512
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x496512
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x496512
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa2e30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa2e34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa2e38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa2e40], eax
test eax, eax
je 0x49642f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa2e3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x496457
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49644a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49646c
push 4
pop eax
jmp 0x496514
cmp dword [ebp - 0x14], esi
je 0x49646c
push dword [0xaa2e30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x496451
mov eax, dword [0xaa2e3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4964ca
cmp dword [0xaa2e40], edi
je 0x4964ca
push eax
call ebx
push dword [0xaa2e40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4964ca
test eax, eax
je 0x4964ca
call ecx
test eax, eax
je 0x4964bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4964bf
test byte [ebp - 8], 1
jne 0x4964ca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4964fa
mov eax, dword [0xaa2e34]
cmp eax, edi
je 0x4964f7
push eax
call ebx
test eax, eax
je 0x4964f7
call eax
mov esi, eax
test esi, esi
je 0x4964f7
mov eax, dword [0xaa2e38]
cmp eax, edi
je 0x4964f7
push eax
call ebx
test eax, eax
je 0x4964f7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa2e30]
call ebx
test eax, eax
je 0x496512
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x496514
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048561b
mov esp, ebp
pop ebp
ret
Function at 0x10001010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10075200]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x10076548]
mov eax, dword [0x10076544]
mov edx, ecx
sub edx, 0x47e39751
sub edx, 1
add edx, 0x47e39751
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0x75c9bf1e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
sub eax, 0x8bcc909a
je 0x100011f8
jmp 0x10001085
mov eax, dword [ebp - 0x2c]
sub eax, 0xf7d0958b
je 0x1000110f
jmp 0x10001098
mov eax, dword [ebp - 0x2c]
sub eax, 0xff05be76
je 0x1000119a
jmp 0x100010ab
mov eax, dword [ebp - 0x2c]
sub eax, 0x179dd97
je 0x100011ae
jmp 0x100010be
mov eax, dword [ebp - 0x2c]
sub eax, 0xcecf6f0
je 0x1000118e
jmp 0x100010d1
mov eax, dword [ebp - 0x2c]
sub eax, 0x75c9bf1e
je 0x100010e9
jmp 0x100010e4
jmp 0x10001207
mov al, byte [ebp - 0x1a]
mov cl, byte [ebp - 0x19]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x8bcc909a
mov ecx, 0xf7d0958b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001207
mov ecx, dword [ebp - 0x28]
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [0x10076548]
mov eax, dword [0x10076544]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x8bcc909a
mov ecx, 0xcecf6f0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001207
mov dword [ebp - 0x20], 0xff05be76
jmp 0x10001207
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x179dd97
jmp 0x10001207
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x79
sub byte [edi], 0x35
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x100011c3
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100168c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x20], 0xf7d0958b
jmp 0x1000106f
Function at 0x10009320
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse pe header
Resume thread

Disassembly:
jmp 0x10014868
push ebp
stc
sal ebp, 0x19
mov ebp, esp
sbb eax, 0x3a09f086
dec ax
btr eax, esi
push ebx
shl al, cl
rcl eax, 0x2d
shl ah, 0xaa
push edi
xor ax, bp
add al, bh
mov al, 0x90
push esi
lea esp, [esp - 0x124]
mov eax, dword [0x10075200]
xor eax, ebp
cmp cl, bh
mov dword [ebp - 0x10], eax
cmp ebx, ebp
mov dword [ebp - 0x12c], 0xef816dc1

Function at 0x10019c93
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10019cd2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10019cd2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10019cd2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10019cd2
cmp dword [ecx + 0x74], 0xe
jbe 0x10019cd2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001c952
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001c9ef
push ebx
push esi
call fcn.1001c91b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001c8af
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001c99c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c9ee
push edi
push eax
call fcn.1001d90d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001c9bc
call fcn.1001b3f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c9ed
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001c8af
add esp, 0x20
test eax, eax
jne 0x1001c9db
push edi
call fcn.1001b3f7
jmp 0x1001c9e3
push ebx
call fcn.1001b3f7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001cc5c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cc8
push 0x10024cc0
push str.FlsAlloc
push 0x1f
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cc90
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002314c]
call esi
jmp 0x1001cc96
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001ccda
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cd8
push 0x10024cd0
push str.FlsGetValue
push 0x21
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cd11
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002314c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001cd19
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ce0
push 0x10024cd8
push str.FlsSetValue
push 0x22
call fcn.1001cb78
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001cd53
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002314c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp eax, esi
je 0x1005f51
xor ecx, ecx
cmp cx, word [eax]
je 0x1005f51
push edi
push esi
push eax
call fcn.010056ab
mov edi, eax
cmp edi, esi
je 0x1005f4c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1005f1a
test al, 0x10
je 0x1005f1a
inc ebx
jmp 0x1005f35
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x1005f2d
mov esi, 0x10b
cmp esi, 2
jne 0x1005f35
push 3
pop esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
pop edi
jmp 0x1005f5b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2c1226ed
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x424a0b01
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x401360
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
xor edx, edx
push esi
mov dword [ebp - 0xc], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
mov dx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [edx + eax + 0x18]
jbe 0x401470
add esi, 0x10
push ebx
mov ebx, dword [0x44816c]
push edi
mov dword [ebp - 4], esi
cmp dword [esi], 0
jne 0x4013f7
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
test edi, edi
mov dword [ebp - 4], edi
jle 0x40144e
nop
nop
push 0
call ebx
nop
push 0
call ebx
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, dword [ebp - 8]
push ecx
call dword [0x448168]
mov edi, eax
nop
nop
push 0
call ebx
nop
push 0
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
mov edx, ecx
mov dword [esi - 8], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40144e
mov ecx, dword [esi - 4]
mov edi, dword [ebp - 8]
mov eax, dword [esi]
push 4
push 0x1000
add ecx, edi
push eax
push ecx
call dword [0x448168]
mov edi, eax
mov dword [ebp - 0x10], edi
nop
nop
push 0
call ebx
nop
push 0
call ebx
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov edx, dword [ebp + 8]
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
push 0
call ebx
nop
push 0
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov esi, ecx
mov dword [ecx - 8], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x40139c
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10001010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x1000109a
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0x44
push eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.notepad.exe
push 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000109a
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100010af
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403cd0
Capabilities:
Read file on windows

Disassembly:
push esi
push ebx
push esi
mov esi, ecx
mov ebx, dword [esp + 0x14]
mov ecx, esi
push 0x13
call fcn.00403db8
mov al, byte [esi + 0xd]
test al, al
jne 0x403d39
mov al, byte [esi + 0xe]
test al, al
je 0x403d03
push ebx
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00403d40
pop ecx
pop ebx
pop esi
ret 8
lea eax, [esp]
push 0
push eax
push ebx
mov edx, dword [esp + 0x1c]
push edx
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
cmp ebx, dword [esp]
je 0x403d39
mov al, byte [esi + 0xc]
test al, al
je 0x403d2e
mov byte [esi + 0xd], 1
pop ecx
pop ebx
pop esi
ret 8
push 0x6e94e8
call fcn.004403f0
pop ecx
pop ecx
pop ebx
pop esi
ret 8

Function at 0x403db8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov ebx, dword [ebp + 8]
mov al, byte [edi + 0xd]
test al, al
jne 0x403e95
mov al, byte [edi + 0xe]
test al, al
je 0x403dfd
mov dword [ebp - 8], ebx
mov edx, dword [edi + 4]
lea eax, [edx + 4]
cmp eax, dword [edi + 8]
jae 0x403ea1
mov eax, dword [edi]
mov dword [edx + eax], ebx
mov edx, dword [edi + 4]
add edx, 4
mov dword [edi + 4], edx
jmp 0x403e43
mov dword [ebp - 8], 0x16
lea edx, [ebp - 8]
lea eax, [ebp - 4]
push 0
push eax
push 4
push edx
push dword [edi + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp eax, 4
je 0x403e43
mov al, byte [edi + 0xc]
test al, al
je 0x403e38
mov byte [edi + 0xd], 1
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
push 0x6e94e8
call fcn.004403f0
pop ecx
mov edx, dword [ebp - 8]
cmp edx, ebx
je 0x403e95
mov al, byte [edi + 0xc]
test al, al
je 0x403e61
mov byte [edi + 0xd], 1
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
push ebx
push edx
push 0x6e950c
call fcn.004403f0
add esp, 0xc
push ebx
push dword [ebp - 8]
push 0x6e950c
call fcn.00440328
add esp, 0xc
int3
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.00403d80
mov edx, dword [edi + 4]
jmp 0x403ded

Function at 0x404030
Capabilities:
Read file on windows

Disassembly:
push esi
push esi
mov esi, ecx
mov ecx, esi
push 6
call fcn.00403db8
mov al, byte [esi + 0xd]
test al, al
jne 0x4040a8
mov al, byte [esi + 0xe]
test al, al
je 0x40406f
mov edx, dword [esi + 4]
lea eax, [edx + 4]
cmp eax, dword [esi + 8]
jae 0x4040ad
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + eax], ecx
mov edx, dword [esi + 4]
add edx, 4
mov dword [esi + 4], edx
pop ecx
pop esi
ret 4
lea eax, [esp]
push 0
push eax
push 4
mov edx, dword [esp + 0x18]
push edx
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp]
cmp eax, 4
je 0x4040a8
mov al, byte [esi + 0xc]
test al, al
je 0x40409d
mov byte [esi + 0xd], 1
pop ecx
pop esi
ret 4
push 0x6e94e8
call fcn.004403f0
pop ecx
pop ecx
pop esi
ret 4
mov ecx, esi
call fcn.00403d80
mov edx, dword [esi + 4]
jmp 0x404056
Function at 0x404ce4
Capabilities:
Read file on windows

Disassembly:
push esi
push esi
mov esi, ecx
mov ecx, esi
push 8
call fcn.00403db8
mov al, byte [esi + 0xd]
test al, al
jne 0x404d5c
mov al, byte [esi + 0xe]
test al, al
je 0x404d23
mov edx, dword [esi + 4]
lea eax, [edx + 4]
cmp eax, dword [esi + 8]
jae 0x404d61
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + eax], ecx
mov edx, dword [esi + 4]
add edx, 4
mov dword [esi + 4], edx
pop ecx
pop esi
ret 4
lea eax, [esp]
push 0
push eax
push 4
mov edx, dword [esp + 0x18]
push edx
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp]
cmp eax, 4
je 0x404d5c
mov al, byte [esi + 0xc]
test al, al
je 0x404d51
mov byte [esi + 0xd], 1
pop ecx
pop esi
ret 4
push 0x6e94e8
call fcn.004403f0
pop ecx
pop ecx
pop esi
ret 4
mov ecx, esi
call fcn.00403d80
mov edx, dword [esi + 4]
jmp 0x404d0a

Function at 0x404d70
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, ecx
mov ecx, ebx
push 0
call fcn.00403db8
mov al, byte [ebx + 0xd]
test al, al
jne 0x404de2
mov al, byte [ebx + 0xe]
test al, al
je 0x404da9
mov edx, dword [ebx + 4]
lea eax, [edx + 1]
cmp eax, dword [ebx + 8]
jae 0x404de7
mov eax, dword [ebx]
mov ecx, dword [esp + 0xc]
mov cl, byte [ecx]
mov byte [edx + eax], cl
inc dword [ebx + 4]
pop ecx
pop ebx
ret 4
lea eax, [esp]
push 0
push eax
push 1
mov edx, dword [esp + 0x18]
push edx
push dword [ebx + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp]
cmp eax, 1
je 0x404de2
mov al, byte [ebx + 0xc]
test al, al
je 0x404dd7
mov byte [ebx + 0xd], 1
pop ecx
pop ebx
ret 4
push 0x6e94e8
call fcn.004403f0
pop ecx
pop ecx
pop ebx
ret 4
mov ecx, ebx
call fcn.00403d80
mov edx, dword [ebx + 4]
jmp 0x404d96

Function at 0x404e6c
Capabilities:
Read file on windows

Disassembly:
push esi
push esi
mov esi, ecx
mov ecx, esi
push 5
call fcn.00403db8
mov al, byte [esi + 0xd]
test al, al
jne 0x404ee4
mov al, byte [esi + 0xe]
test al, al
je 0x404eab
mov edx, dword [esi + 4]
lea eax, [edx + 4]
cmp eax, dword [esi + 8]
jae 0x404ee9
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + eax], ecx
mov edx, dword [esi + 4]
add edx, 4
mov dword [esi + 4], edx
pop ecx
pop esi
ret 4
lea eax, [esp]
push 0
push eax
push 4
mov edx, dword [esp + 0x18]
push edx
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp]
cmp eax, 4
je 0x404ee4
mov al, byte [esi + 0xc]
test al, al
je 0x404ed9
mov byte [esi + 0xd], 1
pop ecx
pop esi
ret 4
push 0x6e94e8
call fcn.004403f0
pop ecx
pop ecx
pop esi
ret 4
mov ecx, esi
call fcn.00403d80
mov edx, dword [esi + 4]
jmp 0x404e92
Function at 0x416518
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, esp
and esp, 0xfffffff8
push esi
sub esp, 0x14
push 0x4db6a0
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [0x4db698]
test eax, eax
je 0x4165fb
mov esi, dword [0x4db69c]
mov eax, dword [0x4db6a0]
mov edx, dword [0x4db6a4]
sub eax, dword [esi + 0x28]
mov cl, byte [esi + 0x30]
sbb edx, dword [esi + 0x2c]
test cl, cl
mov dword [esp], eax
mov dword [esp + 4], edx
fild qword [esp]
fmul qword [0x4db690]
fsub qword [esi + 0x20]
je 0x416595
fld qword [0x6eac90]
fadd qword [esi + 0x18]
fstp qword [esi + 0x18]
fld qword [esi + 0x10]
fadd st(1)
fstp qword [esi + 0x10]
fcom qword [esi]
fnstsw ax
sahf
jbe 0x416588
fst qword [esi]
fcom qword [esi + 8]
fnstsw ax
sahf
jae 0x4165aa
fst qword [esi + 8]
jmp 0x4165aa
mov byte [esi + 0x30], 1
fst qword [esi + 0x10]
fld qword [0x6eac90]
fstp qword [esi + 0x18]
fst qword [esi]
fst qword [esi + 8]
fstp st(0)
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [0x4db69c], eax
je 0x4165fb
push 0x4db6a8
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [0x4db6a8]
mov edx, dword [0x4db6ac]
mov ecx, dword [0x4db69c]
sub eax, dword [0x4db6a0]
sbb edx, dword [0x4db6a4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
fild qword [esp + 8]
fmul qword [0x4db690]
fadd qword [ecx + 0x20]
fadd qword [esi + 0x20]
fstp qword [ecx + 0x20]
add esp, 0x14
pop esi
mov esp, ebx
pop ebx
ret