joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f670
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f6a3
push esi
call fcn.00442770
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f69c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f729
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f712
mov eax, dword [esi + 8]
test eax, eax
je 0x43f6c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f70e
cmp eax, 2
je 0x43f712
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f6ba
cmp eax, 3
je 0x43f6ed
cmp eax, 1
jne 0x43f6ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f6ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f6ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f750
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f738
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f750
add esp, 4
pop esi
ret

Function at 0x4675ef
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x467627
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004656a6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046567e
jmp 0x467633
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x468ce1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x468d23
call fcn.0046e9cb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x468d23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x468d1a
xor eax, eax
jmp 0x468d2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468d31
pop edi
pop esi
pop ebx
ret 4

Function at 0x46eefb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46ef29
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46ef47
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046ee61
jmp 0x46ef47
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46ef47
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046ee61
test edi, edi
mov eax, edi
jne 0x46ef31
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4034f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43fa68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.004322cb
push eax
lea ecx, [esp + 0x30]
call fcn.00438a7f
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.004322cb
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00438935
mov eax, dword [esi + 0xc0]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x403626
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xbc]
call fcn.0043840e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0xcc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00438d27
test edi, edi
je 0x4035d2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xc0]
push edi
push eax
call fcn.0043854f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xc0]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xbc]
sub ecx, edi
test edx, edx
je 0x403647
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00438af1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x404530
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.00404840
test eax, eax
je 0x4045a5
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x456d7c], eax
jne 0x40455d
or eax, 0xffffffff
ret
push 0
push 0x2c
push 0x456d50
push 0
call eax
test eax, eax
je 0x404572
or eax, 0xffffffff
ret
mov dword [0x456d48], 0
mov dword [0x456d4c], 0
mov dword [0x456d40], 0
mov dword [0x456d44], 0
call fcn.00404710
mov eax, 1
ret
push 0x456d3c
push 0xf003f
push 0
push str.PerfStatsStartStat
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4045c9
or eax, 0xffffffff
ret
mov eax, dword [0x456d3c]
push 0x456d38
push 0x456d30
push 0x456d34
push 0
push str.KERNELCPUUsage
push eax
mov dword [0x456d38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x456d3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret

Function at 0x404610
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.00404840
test eax, eax
jne 0x404675
push 0x456d3c
push 0xf003f
push eax
push str.PerfStatsStopStat
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40463c
or eax, 0xffffffff
ret
mov eax, dword [0x456d3c]
push 0x456d38
push 0x456d30
push 0x456d34
push 0
push str.KERNELCPUUsage
push eax
mov dword [0x456d38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [0x456d3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret
Function at 0x4051c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43fbcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x4548a0]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x38]
mov ebx, 2
push 0x456d28
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00435f74
test esi, esi
je 0x405302
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x3c]
push esi
push eax
mov ecx, edi
call fcn.004305c3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00435f24
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00435deb
mov ecx, dword [edi + 0x1c]
push esi
push 3
push 0x110a
push ecx
call ebp
test eax, eax
jne 0x4052ab
lea edx, [esp + 0x1c]
push 3
push edx
lea ecx, [esp + 0x1c]
call fcn.0042f12d
lea ecx, [esp + 0x18]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x38], 4
call fcn.0042f1a9
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.00435f24
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00435deb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.00435deb
push 0x4532c4
lea ecx, [esp + 0x18]
call fcn.004360df
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0043601a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.00435f24
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.00435deb
mov edx, dword [edi + 0x1c]
push esi
push 3
push 0x110a
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x405224
pop ebp
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.0042eedd
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 7
call fcn.0042f12d
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041fc95
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete byte [esp + 0x38]
call fcn.00435deb
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00435deb
mov al, byte [esp + 0x38]
test al, al
je 0x40536d
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
call fcn.004361ee
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00435b60
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00435deb
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00435deb
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4063e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
mov dword [0x456d94], 0
mov dword [0x456d98], 0
push esi
mov esi, dword [esp + 0x168]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x101
push 0x160
push eax
push 0
push esi
call edi
test eax, eax
je 0x406435
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [0x456da0], ecx
mov dword [0x456d98], edx
push 0x103
lea eax, [esp + 0xc]
push 0x160
push eax
push 0
push esi
call edi
pop edi
pop esi
test eax, eax
je 0x406463
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [0x456d9c], ecx
mov dword [0x456d94], edx
add esp, 0x160
ret

Function at 0x4064a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43fe20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004179d3
mov esi, dword [esp + 0x38]
lea ecx, [esp + 8]
push esi
mov dword [esp + 0x34], 0
call fcn.00435e59
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x30], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jne 0x406502
cmp byte [esi + 1], 0x3a
jne 0x406502
cmp byte [esi + 2], 0x5c
jne 0x406502
push 0x4532c0
jmp 0x406507
push str..
lea ecx, [esp + 0xc]
call fcn.004360df
mov eax, dword [esp + 8]
push 0
push eax
lea ecx, [esp + 0x14]
call fcn.00417a96
test eax, eax
je 0x406551
lea ecx, [esp + 0xc]
call fcn.00417cb6
mov edx, dword [esp + 0xc]
push 0x10
lea ecx, [esp + 0x10]
mov esi, eax
call dword [edx + 0x38]
test eax, eax
je 0x40654d
lea ecx, [esp + 0xc]
call fcn.00417c7d
test eax, eax
je 0x406585
test esi, esi
jne 0x406524
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00435deb
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00417a10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00435deb
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00417a10
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x406920
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x43fe9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xf0]
push edi
mov ebp, ecx
push esi
call fcn.004063e0
add esp, 4
lea ecx, [esp + 0x10]
push esi
call fcn.00435e59
lea eax, [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xf0], 0
call fcn.0042f12d
mov eax, dword [eax]
push 0x4532c4
push eax
call fcn.0041fc95
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.00435deb
test bl, bl
je 0x4069ac
mov ecx, dword [esp + 0x10]
push 0
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
dec eax
push eax
call fcn.004361ee
mov ebx, dword [esp + 0xf0]
mov eax, dword [ebp + 0x23c]
cmp ebx, eax
jne 0x406aa9
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push edx
push 0x4532d4
push eax
call fcn.0041f5b7
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x7c]
push 0
push 0
push 0
push 0
push 0
push 0x64
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x406a1e
mov edi, 0x456d28
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x406a5a
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov esi, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jbe 0x406a5a
movsx ecx, byte [esp + esi + 0x18]
push ecx
call fcn.0041fd44
mov byte [esp + esi + 0x1c], al
add esp, 4
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x406a35
mov edx, dword [esp + 0x10]
movsx eax, byte [edx]
push eax
call fcn.0041fb5a
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x88]
push str._s___c:_
push edx
call fcn.0041f5b7
add esp, 0x14
call fcn.00406470
mov eax, dword [0x456d9c]
mov ecx, dword [0x456da0]
push 0xffff0002
push ebx
push 0
push 0
push 0
push eax
push ecx
lea eax, [esp + 0x98]
jmp 0x406ad5
call fcn.00406470
mov ecx, dword [esp + 0x10]
mov esi, dword [0x456d9c]
mov edi, dword [0x456da0]
push ecx
call fcn.004067f0
add esp, 4
push 0xffff0002
push ebx
push 0
push 0
push 0
push esi
push edi
push eax
push 0x23
lea ecx, [ebp + 0xcc]
call fcn.0043074c
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0xe8], 0xffffffff
call fcn.00435deb
mov ecx, dword [esp + 0xe0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret 8
Function at 0x406b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43feff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x4548a0]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x38]
mov ebx, 2
push 0x456d28
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00435f74
test esi, esi
je 0x406c7c
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, dword [edi + 0x23c]
je 0x406c7b
lea eax, [esp + 0x3c]
push esi
push eax
lea ecx, [edi + 0xcc]
call fcn.004305c3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00435f24
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00435deb
mov ecx, dword [edi + 0xe8]
push esi
push 3
push 0x110a
push ecx
call ebp
cmp eax, dword [edi + 0x23c]
jne 0x406c22
lea edx, [esp + 0x1c]
push 3
push edx
lea ecx, [esp + 0x1c]
call fcn.0042f12d
lea ecx, [esp + 0x18]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x38], 4
call fcn.0042f1a9
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.00435f24
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00435deb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.00435deb
push 0x4532c4
lea ecx, [esp + 0x18]
call fcn.004360df
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0043601a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.00435f24
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.00435deb
mov edx, dword [edi + 0xe8]
push esi
push 3
push 0x110a
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x406b84
pop ebp
push 1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.0042eedd
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 7
call fcn.0042f12d
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041fc95
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete byte [esp + 0x38]
call fcn.00435deb
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00435deb
mov al, byte [esp + 0x38]
test al, al
je 0x406ce7
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
call fcn.004361ee
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00435b60
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00435deb
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00435deb
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x408640
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
imul ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x408670
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
mov eax, esi
push edi
cdq
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.00420020
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
imul eax, esi
lea edx, [esp + 0x20]
push 0
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 8
ret
Function at 0x409100
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x9ccc
call fcn.0041fa50
mov edx, dword [esp + 0x9cd0]
push ebx
push esi
push edi
mov al, byte [edx + 8]
xor ebx, ebx
mov cl, al
lea esi, [esp + 0xc]
and cl, 1
lea edi, [esp + 0x98]
or cl, 0xfa
mov dword [esp + 0xc], ebx
shl cl, 4
mov byte [esp + 0x15], cl
mov ecx, 8
mov byte [esp + 0x10], 0x42
mov byte [esp + 0x11], 0x80
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x16], 0xec
mov byte [esp + 0x18], al
lea eax, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
push ebx
push eax
lea ecx, [esp + 0x4ec0]
push 0x4e20
push ecx
mov ecx, dword [edx]
lea eax, [esp + 0xa8]
push 0x4e20
push eax
push 0x7c088
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [esp + 0x11]
test eax, eax
mov eax, dword [esp + 0x10]
setne bl
and edx, 0xff
and eax, 0xff
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x40]
push 0x4534b0
push ecx
call fcn.0041f5b7
add esp, 0x14
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 0x9ccc
ret
Function at 0x4091e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov edi, 0x453aa4
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0xd4]
mov eax, ecx
mov esi, edi
mov edi, ebx
mov dword [esp + 0x10], str.0___
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x14], str.1___
and ecx, 3
mov dword [esp + 0x18], str.2___
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], str.3___
mov dword [esp + 0x20], str.4___
mov dword [esp + 0x24], str.5___
mov dword [esp + 0x28], str.6___
mov dword [esp + 0x2c], str.7___
mov dword [esp + 0x30], str.8___
mov dword [esp + 0x34], str.9___
mov dword [esp + 0x38], str.10__
mov dword [esp + 0x3c], str.11__
mov dword [esp + 0x40], str.12__
mov dword [esp + 0x44], str.13__
mov dword [esp + 0x48], str.190_
mov dword [esp + 0x4c], str.191_
mov dword [esp + 0x50], str.192_
mov dword [esp + 0x54], str.193_
mov dword [esp + 0x58], str.194_
mov dword [esp + 0x5c], str.195_
mov dword [esp + 0x60], str.196_
mov dword [esp + 0x64], str.197_
mov dword [esp + 0x68], str.198_
mov dword [esp + 0x6c], str.199_Ultra_DMA_CRC
mov dword [esp + 0x70], str.200_
mov dword [esp + 0x74], str.201_
mov dword [esp + 0x78], str.202_
mov dword [esp + 0x7c], str.203_ECC
mov dword [esp + 0x80], str.204_
mov dword [esp + 0x84], str.205_
mov dword [esp + 0x88], str.206_
mov dword [esp + 0x8c], str.207_
mov dword [esp + 0x90], str.208_
mov dword [esp + 0x94], str.209_
mov dword [esp + 0x98], str.220_
mov dword [esp + 0x9c], str.221_
mov dword [esp + 0xa0], str.222_
mov dword [esp + 0xa4], str.223_
mov dword [esp + 0xa8], str.224_
mov dword [esp + 0xac], str.225_
mov dword [esp + 0xb0], str.226_
mov dword [esp + 0xb4], str.227_
mov dword [esp + 0xb8], str.228_
mov dword [esp + 0xbc], str.230_GMR
mov dword [esp + 0xc0], str.231_
mov dword [esp + 0xc4], str.240_
mov dword [esp + 0xc8], str.250_
mov dword [esp + 0xcc], 0x4534c0
xor edi, edi
mov esi, dword [esp + edi*4 + 0x10]
push esi
call fcn.004201e9
mov edx, eax
add esp, 4
cmp edx, ebp
jne 0x409410
lea edi, [esi + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or edi, 0xffffffff
jmp 0x409411
inc edi
cmp edx, 0xffffffff
je 0x40941b
cmp edi, 0xffffffff
jne 0x4093d8
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc0
ret