joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10342f78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov dword [esp + 0x24], esp
call fcn.100b3ac0
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov byte [esp + 0x40], 2
mov dword [esp + 0x34], esp
call fcn.100b3ac0
mov byte [esp + 0x40], 1
call fcn.100405d0
add esp, 0x24
mov ecx, edi
mov esi, eax
mov byte [esp + 0x1c], 0
call fcn.10001230
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x100473e0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103446d9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x3c], esi
je 0x100475f6
cmp byte [ecx + 0x41], 0
je 0x100475f6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x100475de
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10046d90
mov dword [esp + 0x80], esi
lea esp, [esp]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
call fcn.10018920
mov esi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call fcn.10018920
mov edi, eax
mov ecx, esi
mov byte [esp + 0x80], 2
call fcn.100088b0
mov ebx, dword [esp + 0x68]
mov ecx, edi
mov esi, eax
call fcn.100088b0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x44]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.10001230
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0
call fcn.10001230
mov eax, esi
sub eax, 0
je 0x10047510
sub eax, 1
je 0x10047514
sub eax, 2
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
jne 0x100475d9
jmp 0x100475f1
mov byte [edi + 0x41], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x54]
call fcn.10018920
mov ecx, eax
mov byte [esp + 0x80], 3
call fcn.100088b0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub esi, eax
mov byte [esp + 0x80], 0
call fcn.10001230
test esi, esi
jbe 0x10047586
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x54]
call fcn.10018920
mov byte [esp + 0x80], 4
or dword [esp + 0x14], 1
mov ecx, eax
call fcn.100088b0
mov ecx, dword [edi + 0x4c]
push ecx
push esi
push 1
push eax
call fcn.1025e150
add esp, 0x10
cmp esi, eax
je 0x10047586
mov bl, 1
jmp 0x10047588
xor bl, bl
mov dword [esp + 0x80], 0
test byte [esp + 0x14], 1
je 0x100475a8
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.10001230
test bl, bl
jne 0x100475ca
cmp byte [edi + 0x41], bl
je 0x100475e2
test esi, esi
jne 0x10047460
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10005f00
jmp 0x10047460
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.10003790
xor al, al
jmp 0x100475f8
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.10003790
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret
Function at 0x10048360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x103414e9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.100e4750
lea edx, [esp + 0xc]
mov byte [esp + 0x20], 2
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x20], 1
call fcn.10001230
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x14

Function at 0x10049070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103496f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.10041310
mov ecx, dword [ebp + 8]
push 0x22
push 0x26
push ecx
mov ecx, eax
mov dword [esp + 0x44], 0
call fcn.10049110
add esp, 0xc
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0x10
mov esi, eax
jb 0x100490db
mov edx, dword [esp + 0x14]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.10001370
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100549f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10346049
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x60], ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
call fcn.10054600
lea eax, [esp + 0x14]
mov esi, 1
push eax
mov dword [esp + 0x64], esi
call fcn.10059c10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
mov byte [esp + 0x6c], 2
call fcn.10054550
add esp, 0xc
mov byte [esp + 0x60], 1
cmp dword [esp + 0x30], 8
mov dword [esp + 0xc], esi
jb 0x10054a7f
mov eax, dword [esp + 0x1c]
push eax
call fcn.1025a370
add esp, 4
xor ecx, ecx
mov word [esp + 0x1c], cx
mov esi, 7
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
call fcn.10001370
push edi
call fcn.10041330
add esp, 4
test al, al
jne 0x10054ab3
push ebx
push edi
call fcn.102ea4c0
add esp, 8
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], 8
jb 0x10054acb
mov edx, dword [esp + 0x3c]
push edx
call fcn.1025a370
add esp, 4
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.10001370
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.102595a0
add esp, 0x58
ret
Function at 0x10054b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10345ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
lea esi, [esp + 0x34]
mov dword [esp + 0x60], 1
call fcn.10054600
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x68], 2
call fcn.10015fb0
lea edx, [esp + 0x14]
push edx
mov eax, esi
push eax
push edi
mov byte [esp + 0x6c], 3
call fcn.10054550
add esp, 0xc
mov esi, 8
mov byte [esp + 0x60], 2
mov dword [esp + 0xc], 1
cmp dword [esp + 0x30], esi
jb 0x10054baa
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1025a370
add esp, 4
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.10001370
push edi
call fcn.10041330
add esp, 4
test al, al
jne 0x10054bdd
push ebx
push edi
call fcn.102ea4c0
add esp, 8
mov byte [esp + 0x60], 1
cmp dword [esp + 0x50], esi
jb 0x10054bf5
mov eax, dword [esp + 0x3c]
push eax
call fcn.1025a370
add esp, 4
xor ecx, ecx
mov word [esp + 0x3c], cx
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
call fcn.10001370
mov byte [esp + 0x60], bl
cmp dword [esp + 0x84], 0x10
jb 0x10054c2c
mov edx, dword [esp + 0x70]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.10001370
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.102595a0
add esp, 0x58
ret
Function at 0x10057080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10347898
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
call fcn.10002140
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
mov dword [esp + 0x88], 0
call fcn.100581b0
add esp, 0x14
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.10239d90
fstp dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call fcn.100018b0
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x10057170
test edx, edx
je 0x10057167
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10057151
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10057151
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005715d
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x10057167
mov byte [ebp + 0x11], al
jmp 0x1005716c
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x100571a8
test ecx, ecx
je 0x100571a6
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10057194
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10057194
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x100571a1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x100571a8
xor ecx, ecx
test edx, edx
jne 0x100571b2
test ecx, ecx
je 0x100571b6
jmp 0x100571b9
test ecx, ecx
je 0x100571b9
or dword [edi], 1
lea ecx, [esp + 0x24]
cmp dword [esp + 0x18], ecx
je 0x100571d6
cmp dword [esp + 0xc], 0
jne 0x100571d6
fld dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp dword [eax]
jmp 0x100571d9
or dword [edi], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10057210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10347868
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
call fcn.10002140
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
mov dword [esp + 0x90], 0
call fcn.100581b0
add esp, 0x14
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.1023a480
fstp qword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call fcn.100018b0
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x10057300
test edx, edx
je 0x100572f7
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x100572e1
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x100572e1
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x100572ed
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x100572f7
mov byte [ebp + 0x11], al
jmp 0x100572fc
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x10057338
test ecx, ecx
je 0x10057336
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10057324
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10057324
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10057331
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x10057338
xor ecx, ecx
test edx, edx
jne 0x10057342
test ecx, ecx
je 0x10057346
jmp 0x10057349
test ecx, ecx
je 0x10057349
or dword [edi], 1
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
je 0x10057366
cmp dword [esp + 0x10], 0
jne 0x10057366
fld qword [esp + 0x24]
mov eax, dword [esp + 0x14]
fstp qword [eax]
jmp 0x10057369
or dword [edi], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100573a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10347868
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
call fcn.10002140
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
mov dword [esp + 0x90], 0
call fcn.100581b0
add esp, 0x14
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.1023a210
fstp qword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call fcn.100018b0
cmp byte [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
jne 0x10057490
test edx, edx
je 0x10057487
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10057471
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10057471
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005747d
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x10057487
mov byte [ebp + 0x11], al
jmp 0x1005748c
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x100574c8
test ecx, ecx
je 0x100574c6
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x100574b4
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x100574b4
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x100574c1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x100574c8
xor ecx, ecx
test edx, edx
jne 0x100574d2
test ecx, ecx
je 0x100574d6
jmp 0x100574d9
test ecx, ecx
je 0x100574d9
or dword [edi], 1
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
je 0x100574f6
cmp dword [esp + 0x10], 0
jne 0x100574f6
fld qword [esp + 0x24]
mov eax, dword [esp + 0x14]
fstp qword [eax]
jmp 0x100574f9
or dword [edi], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10057530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10347838
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
call fcn.10002140
push eax
push 0x800
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x78], 0
call fcn.10057b90
add esp, 0x18
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x60], 0xffffffff
call fcn.100018b0
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1023a230
mov edx, dword [ebp + 0xc]
add esp, 0x10
cmp byte [ebp + 0x10], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jne 0x1005762c
test edx, edx
je 0x10057623
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x1005760d
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x1005760d
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10057619
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x10057623
mov byte [ebp + 0x11], al
jmp 0x10057628
xor edx, edx
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x10], 1
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x14]
jne 0x10057664
test ecx, ecx
je 0x10057662
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x10057650
mov esi, dword [ecx + 0x30]
cmp dword [esi], 0
jle 0x10057650
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1005765d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x10057664
xor ecx, ecx
test edx, edx
jne 0x1005766e
test ecx, ecx
je 0x10057672
jmp 0x10057675
test ecx, ecx
je 0x10057675
or dword [edi], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x1c], ecx
je 0x10057692
cmp dword [esp + 0x10], 0
jne 0x10057692
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
jmp 0x10057695
or dword [edi], 2
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10059560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10341eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.100011b0
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
call fcn.100599b0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], bl
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x1005d980
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10348778
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.10003800
mov ebx, eax
sub esp, 0xc
mov esi, esp
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esp
push ebx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.100011b0
mov edx, dword [ebx + 8]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esi + 8], edx
call fcn.1005df20
lea ecx, [esp + 0x10]
call fcn.10001230
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.10001230
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x1005e600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10341431
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], 0
mov ecx, dword [eax]
add eax, 4
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x10]
push edx
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
call fcn.10061550
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x14], edx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
test esi, esi
je 0x1005e6b0
mov edx, dword [esi + 4]
push esi
call edx
add esp, 4
mov dword [edi + 0x28], eax
jmp 0x1005e6b7
mov dword [edi + 0x28], 0
mov dword [esp + 8], 1
mov byte [esp + 0x4c], 0
test esi, esi
je 0x1005e6d1
mov eax, dword [esi + 8]
push esi
call eax
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.102595a0
add esp, 0x48
ret