joyce8/EMBER2024-capa huggingface dataset:
Function at 0x323d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x38f498
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0xb4]
sub edi, dword [ebx + 0xac]
lea ecx, [edi + edi*2]
mov eax, ecx
and eax, 0x80000003
jns 0x323dd6
dec eax
or eax, 0xfffffffc
inc eax
mov edx, 4
sub edx, eax
mov eax, edx
and eax, 0x80000003
jns 0x323deb
dec eax
or eax, 0xfffffffc
inc eax
lea ebp, [ecx + eax]
push ebp
call fcn.0038b3f0
push ebp
mov esi, eax
push 0
push esi
mov dword [esp + 0x2c], esi
call fcn.0038c788
xor ebp, ebp
xor eax, eax
add esp, 0x10
cmp edi, eax
mov dword [esp + 0x14], ebp
jle 0x323e90
lea eax, [edi - 1]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld qword [0x3b1bd8]
fld dword [esp + 0x18]
fild dword [esp + 0x14]
movzx edx, word [ebx + 0x74]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fdiv st(1)
push edx
fldcw word [esp + 0x1c]
fistp dword [esp + 0x1c]
movzx ecx, word [esp + 0x1c]
movzx eax, cx
fldcw word [esp + 0x18]
mov cx, word [ebx + 0x76]
call fcn.00323570
movzx ecx, al
mov edx, eax
shr eax, 0x10
shr edx, 8
movzx eax, al
mov byte [esi], al
inc esi
movzx edx, dl
mov byte [esi], dl
inc esi
inc ebp
mov byte [esi], cl
inc esi
cmp ebp, edi
mov dword [esp + 0x14], ebp
jl 0x323e2b
fstp st(1)
xor eax, eax
fstp st(0)
mov ecx, 1
mov word [esp + 0x40], cx
mov edx, 0x18
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0x28
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov word [esp + 0x46], dx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.0038b576
mov esi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x38]
push eax
push esi
push 4
mov ecx, eax
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0x34]
push ecx
push edx
call dword [0x39a04c]
add ebx, 0xd4
mov edi, eax
je 0x323f15
cmp dword [ebx + 4], 0
je 0x323f15
mov ecx, ebx
call fcn.0038b22e
push edi
mov ecx, ebx
call fcn.0038b228
push esi
call fcn.0038b3c0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
call fcn.0038b57c
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x3403a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x38c258
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], 0x3a2cb8
call dword [0x39ad28]
lea ebx, [esi + 8]
mov ecx, ebx
mov dword [esp + 0x1c], 0
call dword [0x39ad28]
lea ebp, [esi + 0xc]
mov ecx, ebp
call dword [0x39ad28]
lea ecx, [esi + 0x10]
call dword [0x39ad28]
lea ecx, [esi + 0x14]
call dword [0x39ad28]
lea ecx, [esi + 0x18]
call dword [0x39ad28]
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x20], 5
call dword [0x39a8cc]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [0x39a8cc]
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebp
call dword [0x39a8cc]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esi + 0x10]
call dword [0x39a8cc]
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esi + 0x14]
call dword [0x39a8cc]
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esi + 0x18]
call dword [0x39a8cc]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x3424a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x38ea1b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dl, 1
lea esi, [esp + 0x1c]
xor ecx, ecx
mov eax, 0x3ca7e0
call fcn.0031c5d0
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dl, 1
lea esi, [esp + 0x38]
xor ecx, ecx
mov eax, 0x3ca7e0
call fcn.0031c5d0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
lea esi, [ebx + eax]
call dword [0x39ad28]
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0
call dword [0x39ad28]
lea ecx, [esp + 0x18]
call dword [0x39ad28]
push ebx
lea ebx, [esp + 0x18]
lea ecx, [esp + 0x14]
mov eax, esi
mov byte [esp + 0x64], 2
call fcn.00342680
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x68]
mov esi, dword [0x39acd0]
push ecx
push edx
lea eax, [edi + 0x7c]
push eax
call esi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 0xc
push ecx
lea ecx, [esp + 0x14]
call fcn.00342680
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push edi
call fcn.00342620
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x5c]
push eax
push ecx
lea edx, [edi + 0x70]
push edx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x60]
add esp, 0xc
push eax
push ecx
lea edx, [edi + 0x74]
push edx
call esi
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [edi + 0x64]
push eax
push ecx
add edi, 0x78
push edi
call esi
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [0x39ad2c]
mov ecx, ebx
call dword [0x39ad2c]
lea ecx, [esp + 0x10]
call dword [0x39ad2c]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x344a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x391b57
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0x39d788
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 1
mov dword [esi + 8], edi
lea ebx, [esi + 0x34]
mov ecx, ebx
mov dword [esi], 0x3a3c4c
call dword [0x39ad28]
lea ebp, [esi + 0x38]
mov ecx, ebp
call dword [0x39ad28]
lea ecx, [esi + 0x3c]
call dword [0x39ad28]
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x20], 6
mov ecx, ebp
mov dword [esi + 0x40], edi
call dword [0x39a8cc]
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call dword [0x39a8cc]
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x3c]
call dword [0x39a8cc]
lea ecx, [esp + 0x28]
call dword [0x39ad2c]
lea ecx, [esp + 0x2c]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14

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

Disassembly:
push 0xffffffffffffffff
push 0x391aed
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0x39d788
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x3a2c30
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 8], eax
lea ebx, [esi + 0x4c]
mov ecx, ebx
mov dword [esi], 0x3a3f44
call dword [0x39ad28]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov byte [esp + 0x1c], 2
call dword [0x39a8cc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x50], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
call dword [0x39ad2c]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
Function at 0x3538c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x396512
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x64]
push esi
lea ecx, [esp + 0x68]
call dword [0x39a8d8]
push 2
lea ecx, [esp + 0x68]
lea ebx, [esp + 0x20]
mov dword [esp + 0x60], 0
call fcn.00358350
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 2
call dword [0x39ad2c]
lea eax, [esp + 0x30]
push eax
call fcn.00343fc0
lea ecx, [esp + 0x30]
push ecx
mov edx, ebx
push edx
mov byte [esp + 0x64], 3
call fcn.003578a0
add esp, 8
push esi
lea ecx, [esp + 0x1c]
call dword [0x39a8d8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x38]
call fcn.003541a0
lea ecx, [esp + 0x18]
call dword [0x39ad2c]
lea ecx, [esp + 0x20]
call dword [0x39ad28]
lea ecx, [esp + 0x24]
call dword [0x39ad28]
mov byte [esp + 0x5c], 4
mov esi, dword [esp + 0x28]
mov ebx, dword [0x39a214]
test esi, esi
jne 0x353a46
call ebx
xor eax, eax
mov edi, dword [esp + 0x2c]
cmp edi, dword [eax + 0x18]
jne 0x3539a2
call ebx
mov edx, dword [edi + 0x10]
add edx, 4
push edx
lea ecx, [esp + 0x24]
call dword [0x39a8cc]
test esi, esi
jne 0x353a4d
call ebx
cmp edi, dword [esi + 0x18]
jne 0x3539c4
call ebx
mov eax, dword [edi + 0x10]
add eax, 0x20
push eax
lea ecx, [esp + 0x28]
call dword [0x39a8cc]
mov edx, dword [ebp + 0x94]
mov edx, dword [edx + 0xc]
lea ecx, [ebp + 0x94]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0x20]
push 1
push 0
push eax
mov dword [ebp + 0x8c], 0
call dword [0x39a354]
lea ecx, [esp + 0x24]
call dword [0x39ad2c]
lea ecx, [esp + 0x20]
call dword [0x39ad2c]
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x60], 2
call fcn.00338b90
lea ecx, [esp + 0x1c]
call dword [0x39ad2c]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4
mov eax, dword [esi]
jmp 0x353997
mov esi, dword [esi]
jmp 0x3539bd
Function at 0x35e600
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x390ff5
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
push edi
push esi
mov ecx, 0xa6
call fcn.00384280
mov dword [esp + 0x1c], edi
lea ecx, [esi + 0x160]
mov dword [esi], 0x3ab62c
mov dword [esi + 0x74], 0x3ab7b0
call fcn.0038b432
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x18c], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x19c], edi
push 0x38bad0
push 0x38bad6
push 9
push 0x64
lea eax, [esi + 0x1a0]
push eax
mov byte [esp + 0x30], 2
call fcn.0038bf16
lea ebx, [esi + 0x524]
mov dword [ebx + 4], edi
mov dword [ebx], 0x3a1f34
lea ecx, [esi + 0x530]
call dword [0x39ad28]
lea ebp, [esi + 0x534]
mov ecx, ebp
mov byte [esp + 0x1c], 5
call fcn.0038b2ac
mov dword [ebp], 0x3acf04
lea ebp, [esi + 0x588]
mov ecx, ebp
mov byte [esp + 0x1c], 6
call fcn.0038b2ac
mov dword [ebp], 0x39f924
lea ebp, [esi + 0x5dc]
mov ecx, ebp
mov byte [esp + 0x1c], 7
call fcn.0038b2ac
mov dword [ebp], 0x39f924
lea ebp, [esi + 0x630]
mov ecx, ebp
mov byte [esp + 0x1c], 8
call fcn.0038b2ac
mov dword [ebp], 0x39f924
lea ebp, [esi + 0x684]
mov ecx, ebp
mov byte [esp + 0x1c], 9
call fcn.0038b2ac
mov dword [ebp], 0x39b2a4
lea ebp, [esi + 0x6d8]
mov ecx, ebp
mov byte [esp + 0x1c], 0xa
call fcn.0038b2ac
mov dword [ebp], 0x39b2a4
lea ebp, [esi + 0x72c]
mov ecx, ebp
mov byte [esp + 0x1c], 0xb
call fcn.0038b2ac
mov dword [ebp], 0x39b2a4
lea ecx, [esi + 0x780]
mov byte [esp + 0x1c], 0xc
call fcn.0038c6dc
lea ecx, [esi + 0x7f8]
mov byte [esp + 0x1c], 0xd
call fcn.0038c6dc
lea ebp, [esi + 0x870]
mov ecx, ebp
mov byte [esp + 0x1c], 0xe
call fcn.0038b2ac
mov dword [ebp], 0x3a243c
mov byte [esp + 0x1c], 0xf
push 0xffffff
mov dword [esi + 0x178], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
call dword [0x39a020]
push eax
mov ecx, ebx
call fcn.0038b228
mov dword [esi + 0x52c], 0xffffff
mov dword [esi + 0x174], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x3602d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x38ceed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
call dword [0x39a8d8]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call dword [0x39ad28]
lea ecx, [esp + 0x18]
call dword [0x39ad28]
lea ecx, [esp + 4]
call dword [0x39ad28]
lea ecx, [esp + 0x30]
call dword [0x39ad28]
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
je 0x360415
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call fcn.0035fb70
test al, al
je 0x360415
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x890]
push eax
push 0
push 0x18c
push ecx
call dword [0x39a35c]
cmp dword [esp + 0x10], 0
lea ecx, [esi + 0x588]
je 0x3603b6
mov edx, dword [esp + 8]
push edx
call fcn.0038b02a
push 1
jmp 0x3603c2
push 0x39cad4
call fcn.0038b02a
push 0
lea ecx, [esi + 0x780]
call fcn.0038c6ee
mov eax, dword [esp + 4]
push eax
lea ecx, [esi + 0x5dc]
call fcn.0038b02a
cmp dword [esp + 0x14], 0
je 0x3603f8
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esi + 0x630]
call fcn.0038b02a
push 1
jmp 0x36040a
push 0x39cad4
lea ecx, [esi + 0x630]
call fcn.0038b02a
push 0
lea ecx, [esi + 0x7f8]
call fcn.0038c6ee
lea ecx, [esp + 0x30]
call dword [0x39ad2c]
lea ecx, [esp + 4]
call dword [0x39ad2c]
lea ecx, [esp + 0x18]
call dword [0x39ad2c]
lea ecx, [esp + 8]
call dword [0x39ad2c]
lea ecx, [esp + 0xc]
call dword [0x39ad2c]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x36a940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x38e1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
fld dword [0x3b1b4c]
push ecx
xor ebx, ebx
fstp dword [esp]
mov ecx, 0x39b58c
lea esi, [esp + 0x28]
call fcn.00328510
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x58], ebx
push 0xff000000
mov dword [esp + 0x34], 0x39ea08
mov dword [esp + 0x18], ebx
call fcn.0038c622
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
fild dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
mov edx, dword [edi + 0x14]
fstp dword [esp + 0x14]
sub edx, dword [edi + 0xc]
sub ecx, 0x23
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x1c]
fstp dword [esp + 0x18]
push eax
fild dword [esp + 0x14]
push ebx
push ebx
mov dword [esp + 0x28], ebx
fstp dword [esp + 0x1c]
fld dword [0x3b1b48]
fstp dword [esp + 0x44]
fld dword [esp + 0x20]
fstp dword [esp + 0x48]
fld dword [esp + 0x24]
fstp dword [esp + 0x4c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x50]
call fcn.0038c64c
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
push 1
push ecx
call fcn.0038c65e
cmp eax, ebx
je 0x36aa27
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
push ebx
push edx
call fcn.0038c658
cmp eax, ebx
je 0x36aa3a
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push esi
push edx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x30]
push edx
push ecx
push eax
mov eax, dword [ebp]
push eax
call fcn.0038c640
cmp eax, ebx
je 0x36aa61
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x1c]
push 2
push ecx
call fcn.0038c658
cmp eax, ebx
je 0x36aa75
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x5c]
call dword [0x39ad28]
mov byte [esp + 0x54], 3
mov edx, dword [edi + 4]
push edx
lea eax, [esp + 0x60]
push 0x3acc5c
push eax
call dword [0x39acd0]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push esi
push edx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x30]
push edx
push ecx
push eax
mov eax, dword [ebp]
push eax
call fcn.0038c640
cmp eax, ebx
je 0x36aac4
mov dword [ebp + 4], eax
lea ecx, [esp + 0x5c]
call dword [0x39ad2c]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0038c652
push esi
call fcn.0038c628
mov edx, dword [esp + 0x24]
push edx
call fcn.0038c61c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
Function at 0x36dd50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x38e02b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea esi, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.0035c710
mov esi, 1
push 0x39c080
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
call dword [0x39a8d8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x28], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x10]
push edx
push eax
lea edi, [ecx + ecx + 2]
push ebp
lea eax, [esp + 0x24]
call fcn.0036d810
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], esi
call dword [0x39ad2c]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0x3aae3c
test eax, eax
je 0x36ddf0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x372170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x38fc99
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x39bffc
lea ecx, [esp + 0x10]
call dword [0x39a8d8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00358530
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [0x39ad2c]
test edi, edi
je 0x372201
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
mov dword [esp + 0x14], edi
call ecx
lea edx, [esp + 0x14]
push edx
mov eax, 0x3adb58
lea esi, [esp + 0x14]
call fcn.00312b20
cmp dword [esp + 0x1c], 0
push edi
jg 0x372215
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call ecx
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x381130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x38fc99
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x39bffc
lea ecx, [esp + 0x10]
call dword [0x39a8d8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00358530
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [0x39ad2c]
test edi, edi
je 0x3811c2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
mov dword [esp + 0x14], edi
call ecx
lea edx, [esp + 0x14]
push edx
mov eax, 0x3adb58
lea esi, [esp + 0x14]
call fcn.00312b20
mov esi, dword [esp + 0x1c]
push edi
test esi, esi
jg 0x3811d6
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call ecx
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov eax, dword [edx + 8]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x385410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x38fa58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [0x39a400]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x39b288
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [0x39a058]
push eax
lea ecx, [esp + 0x18]
call fcn.0038b228
lea ecx, [esp + 0x2c]
call fcn.0038b222
mov byte [esp + 0x48], 1
mov eax, dword [edi + 4]
push eax
call dword [0x39a060]
push eax
lea ecx, [esp + 0x30]
call fcn.0038b216
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x3854b7
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [0x39a054]
call dword [0x39a460]
test eax, eax
je 0x3854de
call dword [0x39a460]
mov ecx, dword [esi + 0xdc]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
call edx
push eax
lea eax, [esp + 0x20]
push eax
jmp 0x3854ea
mov ecx, dword [esi + 0xdc]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
call fcn.0038b570
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], ebx
call fcn.0038c5f8
mov edx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov edx, esi
mov byte [esp + 0x4c], 2
call fcn.00385630
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x38553c
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00388630
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x88]
push eax
call fcn.00389700
mov edx, dword [esi]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x174]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x385584
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00388630
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [esi + 0x74]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
lea ecx, [esi + 0x74]
push eax
lea eax, [esp + 0x34]
push eax
call edx
cmp dword [esi + 0xb4], ebx
jne 0x3855bf
mov eax, dword [esi]
mov edx, dword [eax + 0x17c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0xcc0020
push ebx
push ebx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push ebx
push ebx
push eax
call dword [0x39a05c]
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0038c5fe
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.0038b21c
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x39b288
call fcn.00312180
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret