joyce8/EMBER2024-capa huggingface dataset:
Function at 0x21044b17
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [0x2107bdbc], 0
je 0x21044b3e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
jmp 0x21044b65
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0x200
lea eax, [ebp - 0x400]
push eax
call fcn.210033dc
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.21044b6b
mov esp, ebp
pop ebp
ret 8

Function at 0x21044b6b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
cmp dword [0x2107bdbc], 0
je 0x21044b96
push str.MyDeleteKeyW
push 0x2971
call fcn.2100de6e
add esp, 8
xor eax, eax
jmp 0x21044cc0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x21044bdd
cmp dword [ebp - 0x418], 2
je 0x21044bdf
jmp 0x21044be9
jmp 0x21044bfa
mov eax, 1
jmp 0x21044cc0
push str.RegOpenKeyExW
call fcn.2100dfb1
xor eax, eax
jmp 0x21044cc0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x21044c79
mov dword [ebp - 0xc], 0x200
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x414]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x21044c4a
cmp dword [ebp - 0x41c], 0x103
je 0x21044c62
jmp 0x21044c6b
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.21044b6b
test eax, eax
jne 0x21044c60
jmp 0x21044cbe
jmp 0x21044c77
mov dword [ebp - 4], 0
jmp 0x21044c77
push str.RegEnumKeyExW
call fcn.2100dfb1
jmp 0x21044cbc
jmp 0x21044c01
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x21044c9e
jmp 0x21044cba
mov dword [ebp - 8], 1
cmp dword [ebp - 0x10], 0
je 0x21044cb5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x21044cc0
jmp 0x21044ca5
jmp 0x21044ca5
jmp 0x21044ca5
mov esp, ebp
pop ebp
ret 8
Function at 0x21044d11
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push 0
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x21044d3a
xor eax, eax
jmp 0x21044d8d
mov edx, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.21058728
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x21044d72
push str.MyExpandEnvironmentStrings
call fcn.2100df3d
xor eax, eax
jmp 0x21044d8d
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x21044ec5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x21044ee2
mov eax, 1
jmp 0x21044f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
je 0x21044f05
cmp dword [ebp - 8], 0x35
je 0x21044f05
cmp dword [ebp - 8], 0x3b
je 0x21044f05
jmp 0x21044f07
jmp 0x21044f0e
mov eax, 1
jmp 0x21044f10
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x21045882
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x210458b0
push 0x21077194
call fcn.2100dfb1
xor eax, eax
jmp 0x21045915
cmp dword [ebp + 0x10], 0
je 0x21045910
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x210458c6
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x210458cc
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x210458fc
push str.WriteFile
call fcn.2100dfb1
xor eax, eax
jmp 0x21045915
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
jmp 0x210458b0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x2104702b
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x14], 0xbb8
mov eax, dword [ebp + 8]
push eax
call fcn.21049f35
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x21047064
cmp dword [ebp + 0x1c], 0
jne 0x2104705d
push str.MyCreateProcess__tcsdup
call fcn.2100df3d
xor eax, eax
jmp 0x210471af
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.210493f0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov dx, word [ebp + 0xc]
mov word [ebp - 0x28], dx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x21047191
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x2104717a
mov edx, dword [ebp - 0x5c]
push edx
call fcn.21049f60
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp + 0x14], 0
je 0x21047101
cmp dword [ebp + 0x18], 0xffffffff
je 0x21047101
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 0x14], 0
je 0x21047169
push 0
push 0
push 0
call fcn.2104754b
test eax, eax
jne 0x21047118
jmp 0x21047169
push 0xff
mov edx, dword [ebp + 0x18]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
je 0x2104713f
mov dword [ebp + 0x14], 0
cmp dword [ebp + 0x14], 0
je 0x21047167
cmp dword [ebp + 0x18], 0xffffffff
je 0x21047167
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x60]
jb 0x2104715e
jmp 0x21047169
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x68]
mov dword [ebp + 0x18], edx
jmp 0x21047101
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x210471af
cmp dword [ebp + 0x10], 0
jne 0x21047182
jmp 0x21047191
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2104708a
cmp dword [ebp + 0x1c], 0
jne 0x210471a1
push str.CreateProcess
call fcn.2100dfb1
mov edx, dword [ebp - 0x5c]
push edx
call fcn.21049f60
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x210478c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 4]
call fcn.210037e3
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x210478fc
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
je 0x21047935
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 4]
call fcn.21003822
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x2105b050
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x2105b088
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.21058e92
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.21058e6a
jmp 0x2105b094
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x107a0a70
Capabilities:
Check http status code

Disassembly:
jmp edi
pushal
pop edi
or eax, esi
lahf
out dx, al
fisttp word [eax + 0x1b]
adc eax, 0x140488f9
btr ax, bp
rol al, cl
test al, 0xc8
mov eax, dword [ebp]
clc
add ebp, 4
xor eax, ebx
cmp sp, 0x47eb
test ah, 0xc2
lea eax, [eax + 0x3be75772]
cmp eax, edi
neg eax
cmp edi, ebx
xor eax, 0x7c567e2c
neg eax
stc
rol eax, 3
clc
xor ebx, eax
clc
cmp ch, 0xfb
add edi, eax
jmp 0x106f6441
mov dword [esp + 4], 0xdea01c1d
call fcn.107e9f52
mov esi, 0x286e1a4d
jge 0x107a0a94
sbb dword [edx + 0x480142c], edx
sbb al, 0x13
mul dword [edi + 0x31697789]
mov ecx, 0xe88b1e70
jns 0x107a0a13
sbb eax, 0x8cf07ed8
vpunpcklbw xmm3, xmm7, xmmword [edx]
cmc
sbb dh, ch
invalid

Function at 0x10b1c746
Capabilities:
Encode data using xor

Disassembly:
call fcn.106b8435
xchg edx, eax
idiv byte ss:[eax]
wait
inc esp
loop 0x10b1c764
std
xchg esp, eax
pshufw mm5, mm3, 2
ret
mov ecx, 0xd9d8a1f3
adc eax, 0xedd8a791
sbb byte [eax], al
cdq
fcomp dword [eax + 0x2035461]
in eax, 0xb0
pop ds
jle 0x10b1c779
and al, 0x49
in al, 0xdf
fcom dword [ebp + 7]
lodsd eax, dword [esi]
fcmovnu st(0), st(0)
sar dword [edx + eax*8], cl
mov eax, dword [edx]
and bh, ch
push eax
jno 0x10b1c78d
sbb ecx, dword [esi]
mov edi, 0xf2eed8a2
pop edx
xchg edx, eax
add dh, dl
popal
sar dword [ebx], cl
daa
sbb eax, 0x273db1f5
fstp qword [eax + 0x20]
add esp, dword [edi]
aam 0xba
sbb byte [eax - 3], 0xf3
xor dword [0x8fb31148], esi
pop ds
push 0x94bf25e7
sbb dl, byte [ebp - 0x126dda49]
sub dl, byte [eax - 0x6954d908]
invalid
Function at 0x10005320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001fa04
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10030028]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x10030028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x10027fd0
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x1388
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call dword [0x100211ec]
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call dword [0x100211e8]
mov byte [esp + 0x30], 1
cmp dword [esp + 0x20], 0x10
movzx eax, word [esi + 8]
mov ecx, dword [esp + 0xc]
jae 0x100053a2
lea ecx, [esp + 0xc]
push 1
push eax
push ecx
call dword [0x10030ac4]
lea ecx, [esp + 8]
mov dword [esi], eax
mov byte [esp + 0x30], 0
call dword [0x100211e4]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10010eee
add esp, 0x30
ret

Function at 0x10005a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1001fdab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10030028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi], 1
mov dword [esi + 4], eax
mov dword [esi + 8], 0x760
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x34]
push eax
call fcn.10005990
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x1000a740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001f519
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10030028]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call dword [0x10021240]
mov dword [esp + 0x28], 0
mov eax, dword [0x10030bdc]
mov ecx, dword [0x1002127c]
mov dword [esp + 0xc], eax
call dword [0x1002128c]
mov ecx, dword [esp + 0x30]
push eax
call dword [0x10021250]
mov esi, eax
test esi, esi
jne 0x1000a7f4
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x1000a7f4
lea ecx, [esp + 0xc]
push ecx
call dword [0x10021258]
add esp, 4
cmp eax, 0xffffffff
jne 0x1000a7d8
push 0x10028c4c
lea ecx, [esp + 0x18]
call dword [0x10021380]
push 0x1002aa2c
lea edx, [esp + 0x18]
push edx
call fcn.1001e76c
mov ecx, dword [esp + 0xc]
mov esi, ecx
mov dword [0x10030bdc], ecx
mov edi, ecx
call dword [0x10021288]
mov ecx, edi
call dword [0x10021280]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call dword [0x100211c4]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x10012310
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ea1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax], 0x10029928
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx], 0x10029920
mov edx, dword [ebp - 0x58]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x58]
mov word [edx + 0x1c], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x24
call fcn.1000dda0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
mov dword [ebp - 0x50], ecx
lea edx, [ebp - 0x47]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x46]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x50]
call fcn.1000e5c0
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x44], 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x48
call fcn.10011a00
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x50], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x64
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [0x10021044]
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x7c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10012450
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001eaf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
mov dword [eax], 0x10029920
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x7c], 1
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x98]
add eax, 0x64
lea esi, [ebp - 0x14]
call fcn.10003c30
lea eax, [ebp - 0x14]
call fcn.10003a10
mov eax, dword [ebp - 0x98]
add eax, 0x64
push eax
call dword [0x10021050]
mov ecx, dword [ebp - 0x98]
add ecx, 0x48
call fcn.100119e0
mov ecx, dword [ebp - 0x98]
add ecx, 0x30
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x78]
call fcn.1000e100
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x98]
add edx, 0x24
mov dword [ebp - 0x94], edx
mov ecx, dword [ebp - 0x94]
call fcn.1000e630
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 4]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.10010ee8
add esp, 4
mov edx, dword [ebp - 0x94]
mov dword [edx + 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [eax], 0x10029928
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100174d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001ec39
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
mov eax, dword [0x10030028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
mov eax, dword [0x100211a0]
mov edx, dword [eax]
mov dword [ebp], edx
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [ebx], eax
call dword [0x100211d8]
mov ecx, dword [esp + 8]
push 0
push ecx
mov dword [esp + 0x40], 0
mov ecx, esi
mov dword [esp + 0x14], 1
call dword [0x100211b8]
mov edx, dword [0x100211a0]
mov dword [ebp], eax
cmp eax, dword [edx]
je 0x10017666
push eax
push 0x10022aa4
mov ecx, esi
call dword [0x10021190]
mov ecx, dword [0x100211a0]
mov dword [ebx], eax
cmp eax, dword [ecx]
je 0x100175e3
lea ecx, [eax - 1]
cmp ecx, dword [esi + 0x14]
mov dword [esp + 8], ecx
jbe 0x10017580
call dword [0x10021368]
mov ecx, dword [esp + 8]
cmp dword [esi + 0x18], 8
jb 0x1001758b
mov eax, dword [esi + 4]
jmp 0x1001758e
lea eax, [esi + 4]
cmp word [eax + ecx*2], 0x22
jne 0x10017598
add dword [ebx], 0xffffffff
mov ebp, dword [ebp]
mov edx, dword [ebx]
sub edx, ebp
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [0x10021198]
mov dword [esp + 0x38], 1
push eax
mov ecx, edi
call dword [0x1002121c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call dword [0x10021220]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x34
ret 4
mov eax, dword [esi + 0x14]
lea ecx, [eax - 1]
cmp ecx, eax
mov dword [esp + 8], ecx
jbe 0x100175fb
call dword [0x10021368]
mov ecx, dword [esp + 8]
cmp dword [esi + 0x18], 8
jb 0x10017606
mov eax, dword [esi + 4]
jmp 0x10017609
lea eax, [esi + 4]
cmp word [eax + ecx*2], 0x22
jne 0x1001763f
mov eax, dword [esi + 0x14]
add eax, 0xffffffff
mov dword [ebx], eax
mov ebp, dword [ebp]
mov eax, dword [esi + 0x14]
sub eax, ebp
sub eax, 1
push eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [0x10021198]
mov dword [esp + 0x38], 2
jmp 0x100175b6
mov edx, dword [0x100211a0]
mov eax, dword [edx]
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [0x10021198]
mov dword [esp + 0x38], 3
jmp 0x100175b6
call fcn.10014b80
test al, al
je 0x10017696
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x1001767e
mov eax, dword [eax + 4]
jmp 0x10017681
add eax, 4
push eax
push 0x10022aa8
push 0xd
push 0x10022ae8
call fcn.10014d70
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x34
ret 4
Function at 0x10018d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [0x10021368]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, dword [edi + 0xbc]
cmp esi, dword [edi + 0xc0]
lea ebp, [edi + 0xb8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ebp
jbe 0x10018da6
call ebx
cmp esi, dword [ebp + 8]
jb 0x10018daa
call ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10018dd0
mov ecx, dword [esi + 0x2c]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x10018de4
mov ebp, 0xf
jmp 0x10018f13
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x28]
xor ebx, ebx
cmp eax, ebx
je 0x10018dd0
mov ecx, dword [esi + 0x2c]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10018dd0
cmp dword [esi + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
jne 0x10018efb
push ebx
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push edi
lea eax, [esp + 0x3c]
call fcn.100188c0
test eax, eax
je 0x10018f0f
cmp dword [esp + 0x14], 1
je 0x10018de4
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
push ecx
call fcn.10018590
test eax, eax
je 0x10018f0f
cmp dword [esp + 0x14], 1
je 0x10018de0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 0x74]
push edx
mov ebx, esi
call fcn.10016df0
mov ebp, eax
test ebp, ebp
jne 0x10018eb4
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x148], 1
jne 0x10018f13
push 0x5dc
call dword [0x10021088]
jmp 0x10018f13
mov edi, dword [esp + 0x24]
test edi, edi
jle 0x10018ef1
mov ebx, dword [esp + 0x34]
sub edi, 1
mov dword [esp + 0x24], edi
mov eax, 0x64
lea edi, [esp + 0x18]
call fcn.100164e0
sub eax, 1
je 0x10018f13
sub eax, 1
je 0x10018f08
mov ecx, dword [esp + 0x1c]
mov eax, ebx
push eax
mov ebx, esi
call fcn.10016df0
mov ebp, eax
test ebp, ebp
jne 0x10018eb0
jmp 0x10018e92
cmp dword [esi + 0x78], 1
jne 0x10018e92
xor ebp, ebp
jmp 0x10018e92
mov eax, esi
mov ecx, edi
call fcn.10018b30
mov ebp, eax
jmp 0x10018f13
mov ebp, 0x16
jmp 0x10018f13
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
push esi
push ebx
lea edx, [esp + 0x30]
push edx
call fcn.1000b510
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x401e80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401f8b
push ebx
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401f81
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x14]
push 0x10
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401f81
mov byte [esp + 0x1b], 0
mov esi, str.Standard_Jet_DB
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401f14
test cl, cl
je 0x401f10
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401f14
add eax, 2
add esi, 2
test cl, cl
jne 0x401eec
xor eax, eax
jmp 0x401f19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401f6c
mov esi, str.Jet_System_DB
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401f4e
test cl, cl
je 0x401f4a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401f4e
add eax, 2
add esi, 2
test cl, cl
jne 0x401f26
xor eax, eax
jmp 0x401f53
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401f6c
push edi
mov esi, 2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret
push edi
mov esi, 3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret