joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018c9e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, 0x8000
push edi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x1018c9fe
mov dword [esp + 0x14], eax
mov esi, eax
push esi
call fcn.10061128
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
mov ebp, dword [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], ebx
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jne 0x1018ca3d
xor ebx, ebx
jmp 0x1018ca5a
lea eax, [esp + 0x24]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1018ca56
or ebx, 0xffffffff
jmp 0x1018ca5a
mov ebx, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1018caad
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push 0
push ecx
push eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1018ca92
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x1018caa9
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10061157
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
cmp ebx, esi
jae 0x1018cad2
test ebx, ebx
je 0x1018cba6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push 0
push edx
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1018cba6
lea ecx, [ebx + edi]
add edi, eax
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
call fcn.10061128
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x24], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1018cb06
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x1018cb45
push 0
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
je 0x1018cb45
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push 0
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1018cb3f
or esi, 0xffffffff
jmp 0x1018cb47
mov esi, dword [esp + 0x28]
jmp 0x1018cb47
xor esi, esi
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x1018cb6f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edi, esi
mov dword [esp + 0x10], edx
test esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov ebx, esi
jg 0x1018cb02
push eax
call fcn.10061157
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.10061157
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1018cbc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
jne 0x1018cbe3
or ebx, eax
jmp 0x1018cbe5
mov ebx, eax
push 2
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
je 0x1018cbff
mov dword [esp + 0x1c], eax
push 0
push ebx
push esi
call fcn.1018cf00
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
sub ecx, ebp
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x1018cc27
mov dword [esp + 0x20], eax
push 0x8000
call fcn.10061128
mov ebx, eax
add esp, 4
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0
push 0
lea ecx, [eax + ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x24]
push 0
push edx
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1018cc71
or eax, 0xffffffff
jmp 0x1018ccad
mov edi, dword [esp + 0x24]
mov eax, edi
test edi, edi
mov dword [esp + 0x14], eax
jle 0x1018ccad
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x1018cca9
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1018ccb8
cmp dword [esp + 0x10], edi
jne 0x1018ccb8
mov eax, dword [esp + 0x14]
add ebp, eax
cmp eax, 0x8000
jne 0x1018cccb
jmp 0x1018cc41
push ebx
call fcn.10061157
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call fcn.10061157
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1018d5c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d5d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
mov dword [ebp - 0x14], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1018d61a
push 0x1024a9bc
call fcn.101963d0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x6400000
jbe 0x1018d629
push 0x1024a99c
jmp 0x1018d5fd
lea eax, [esi + 1]
mov dword [ebp + 8], edi
push eax
mov dword [ebp - 4], edi
call fcn.10061128
add esp, 4
lea ecx, [ebp + 8]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push esi
push edi
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, dword [ebp + 8]
je 0x1018d66c
push edi
call fcn.10061157
add esp, 4
push 0x1024a988
jmp 0x1018d5fd
mov ecx, dword [ebp - 0x14]
push 1
push edi
call fcn.1018d6a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101902a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x101d618f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
neg esi
sbb esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
add esi, 2
call fcn.100d5ee0
mov eax, dword [edi + 0x9c]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.10192560
push 0x102632d0
lea ecx, [esp + 0x38]
call fcn.100c9670
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
mov byte [esp + 0x28], 2
mov edi, eax
jle 0x10190358
test esi, esi
je 0x10190325
push 0x1024ac40
lea ecx, [esp + 0x38]
call fcn.100caa60
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov ecx, dword [edx + esi*4]
call fcn.10194f80
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.100caac0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.100c9e10
inc esi
cmp esi, edi
jl 0x10190313
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.100c9410
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.100c9e10
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.100d5ef0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x10190a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d6280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.100d5ee0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.10192560
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp ebp, eax
jl 0x10190af4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.100d5ef0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x2c]
push edi
push eax
mov esi, dword [edx + ebp*4]
mov ecx, esi
call fcn.10195dc0
mov edi, dword [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.100c9fa0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100c9e10
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10190b3f
push ebp
push 0x1024ace8
push edi
call fcn.100ccd90
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov dword [esp + 0x10], 0
call fcn.101960d0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
push edx
mov dword [ecx], eax
call fcn.10061157
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d5ef0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x10190c00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101d62b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.100d5ee0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.10192560
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp edi, eax
jge 0x10190cc5
mov edx, dword [esp + 0x34]
push 0
push edx
call fcn.10197a00
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x10190c6b
push 0x1024ad10
jmp 0x10190cbd
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov ecx, dword [eax + edi*4]
mov dword [esp + 0xc], 0
call fcn.101960d0
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10190ceb
mov eax, dword [esp + 8]
push eax
call fcn.10061157
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1024acfc
call fcn.101963d0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d5ef0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov ecx, dword [esp + 8]
push ecx
call fcn.10061157
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d5ef0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x10193790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d679f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.10193b00
test eax, eax
jne 0x101938a8
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.10193b00
test eax, eax
jne 0x101938a8
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.10193f40
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
push ecx
mov ecx, edi
call fcn.10193f40
push eax
lea edx, [esp + 0x18]
push 0x1024b0e4
push edx
mov byte [esp + 0x34], 2
call fcn.100ca760
push 0x1024b0e8
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 3
push eax
call fcn.100ca580
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x34], 4
call fcn.100ca3b0
mov esi, dword [esp + 0x30]
push 0x1024b0dc
push eax
push esi
mov byte [esp + 0x34], 5
call fcn.100ca580
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 4
call fcn.100c9e10
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.100c9e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.100c9e10
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.100c9e10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.100c9e10
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.10193f40
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x101947e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d6a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x10204778]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, dword [0x10204778]
lea edi, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x10204778]
lea ebx, [esi + 8]
mov dword [ebx], edx
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.101938d0
mov eax, dword [0x10204778]
mov dword [esi + 0x20], eax
mov ecx, dword [0x10204778]
mov dword [esi + 0x24], ecx
mov edx, dword [0x10204778]
mov dword [esi + 0x28], edx
mov eax, dword [0x10204778]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x10204778]
mov dword [esi + 0x30], ecx
mov edx, dword [0x10204778]
mov dword [esi + 0x34], edx
push 0x102632d0
mov ecx, esi
mov byte [esp + 0x20], 9
call fcn.100ca090
push 0x102632d0
mov ecx, edi
call fcn.100ca090
push 0x102632d0
mov ecx, ebx
call fcn.100ca090
mov ecx, ebp
call fcn.10193ac0
push 0x102632d0
lea ecx, [esi + 0x20]
call fcn.100ca090
push 0x102632d0
lea ecx, [esi + 0x24]
call fcn.100ca090
push 0x102632d0
lea ecx, [esi + 0x28]
call fcn.100ca090
push 0x102632d0
lea ecx, [esi + 0x2c]
call fcn.100ca090
push 0x102632d0
lea ecx, [esi + 0x30]
call fcn.100ca090
push 0x102632d0
lea ecx, [esi + 0x34]
call fcn.100ca090
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10194d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d6c91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10210234
mov ebx, dword [esi + 0x50]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x18], 2
jle 0x10194d4b
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10194d46
mov edx, dword [ecx]
push 1
call dword [edx]
inc edi
cmp edi, ebx
jl 0x10194d36
lea edi, [esi + 0x4c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.10192a20
mov edi, dword [edi]
mov byte [esp + 0x18], 1
test edi, edi
je 0x10194d6d
push edi
call fcn.10061157
add esp, 4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0
mov dword [esi + 0x3c], 0x10210230
call fcn.100c9e10
add esi, 4
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0xb
call fcn.100c9e10
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xa
call fcn.100c9e10
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 9
call fcn.100c9e10
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 8
call fcn.100c9e10
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 7
call fcn.100c9e10
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 6
call fcn.100c9e10
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 5
call fcn.10193980
lea ecx, [esi + 8]
mov byte [esp + 0x18], 4
call fcn.100c9e10
lea ecx, [esi + 4]
mov byte [esp + 0x18], 3
call fcn.100c9e10
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.100c9e10
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x101961a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d6f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10196215
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10196215
cmp ecx, eax
ja 0x10196215
sub eax, ecx
mov dword [ebp - 4], 0
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.10061128
mov edx, dword [ebp + 8]
mov ecx, edi
add esp, 4
mov dword [edx], eax
mov byte [eax + edi], 0
mov edi, dword [edx]
mov esi, dword [esi + 0x44]
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]
jmp 0x101963a8
mov ecx, esi
call fcn.10194e60
cmp eax, 3
je 0x10196370
cmp eax, 4
je 0x10196370
mov eax, dword [esi + 0xc]
push 1
push eax
call fcn.10197a00
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
jne 0x10196265
push 0x1024a964
call fcn.101963d0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1019629e
push 0x1024acb8
call fcn.101963d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
call fcn.10061128
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, dword [ebp - 0x14]
je 0x10196308
push 0x1024a988
call fcn.101963d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call fcn.10061157
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x18]
push eax
push edi
push esi
call fcn.101968a0
add esp, 0x10
test eax, eax
jne 0x10196350
push 0x1024ad88
call fcn.101963d0
push esi
call fcn.10061157
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.10061157
add esp, 4
jmp 0x101963a8
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.10194f80
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push edi
push ebx
push edx
push eax
mov dword [ebp - 4], 2
call fcn.101966b0
add esp, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.100c9e10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10198e90
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x10198edb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10198edb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.10061128
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.10061128
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x10198f20
test esi, esi
je 0x10198f31
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x10198f2d
push esi
call fcn.10061157
add esp, 4
test ebx, ebx
jne 0x10198f40
mov edi, dword [edi]
test edi, edi
je 0x10198f40
push edi
call fcn.10061157
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1019d1c0
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101d73f0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov ecx, esi
xor edi, edi
call fcn.100dc930
cmp eax, 0x1c
jb 0x1019d348
mov ecx, esi
call fcn.100dd030
mov ebx, eax
mov al, byte [ebx + 6]
cmp al, 2
ja 0x1019d366
cmp al, 1
je 0x1019d214
test al, al
je 0x1019d214
xor eax, eax
mov ah, byte [ebx + 5]
jmp 0x1019d216
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 4]
add ecx, eax
je 0x1019d380
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edi
lea edi, [ebx + 0x1a]
mov al, byte [ebx + 6]
cmp al, 1
je 0x1019d241
test al, al
je 0x1019d241
xor eax, eax
mov ah, byte [ebx + 5]
jmp 0x1019d243
xor eax, eax
xor edx, edx
mov dl, byte [ebx + 4]
add edx, eax
mov eax, dword [esp + 0x34]
cmp eax, edx
jge 0x1019d330
mov eax, dword [esp + 0x38]
lea esi, [edi - 0x12]
push eax
push 1
push esi
call fcn.1019e8d0
mov eax, dword [0x10204778]
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor ecx, ecx
xor edx, edx
mov cl, byte [edi - 0x10]
mov dx, word [edi]
shl ecx, 0x10
mov dword [esp + 0x24], 0
lea eax, [ecx + edx]
test eax, eax
je 0x1019d2c4
lea esi, [eax + ebx]
push 0xfde9
lea ecx, [esp + 0x18]
lea eax, [esi + 8]
push eax
call fcn.100ce220
xor ecx, ecx
push 0xfde9
mov cx, word [esi + 4]
lea edx, [ecx + esi + 9]
lea ecx, [esp + 0x1c]
push edx
call fcn.100ce220
mov esi, dword [ebp + 4]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.1019eed0
mov edx, dword [ebp]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*2]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.100c9fa0
lea edx, [esp + 0x18]
lea ecx, [esi + 8]
push edx
call fcn.100c9fa0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.100c9e10
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.100c9e10
mov ecx, dword [esp + 0x34]
inc ecx
add edi, 0x14
mov dword [esp + 0x34], ecx
jmp 0x1019d22f
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0x30]
mov dword [eax], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
mov eax, edi
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
mov dword [edx], 1
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret