Function at 0x10055fa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2ef1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x360
mov eax, dword [0x100df024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x184], esi
mov eax, dword [ebx + 8]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x188], eax
mov eax, 0xa
cmp edi, eax
push ecx
cmova edi, eax
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x198], edi
call fcn.100129a0
mov edx, str.query_id
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x370]
call fcn.100185d0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x370]
call fcn.10012850
lea ecx, [ebp - 0x370]
call fcn.10006e20
push ecx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 1
call fcn.100129a0
mov edx, 0x100d633c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.100185d0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x240]
call fcn.10012850
lea ecx, [ebp - 0x240]
call fcn.10006e20
mov eax, dword [ebx + 0x14]
mov ecx, esi
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x150]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x18]
mov ecx, esi
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x138]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x1c]
mov ecx, esi
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x120]
push eax
call fcn.1003b480
push ecx
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 6
call fcn.100129a0
mov edx, 0x100d5cc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x240]
call fcn.100185d0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x240]
call fcn.10012850
lea ecx, [ebp - 0x240]
call fcn.10006e20
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x370]
call fcn.100129a0
mov edx, str.found_
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x370]
call fcn.100185d0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x370]
call fcn.10012850
lea ecx, [ebp - 0x370]
call fcn.10006e20
mov eax, dword [ebx + 0x28]
mov ecx, esi
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [ebp - 0xd8]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x2c]
mov ecx, esi
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0xc0]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x30]
mov ecx, esi
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0xa8]
push eax
call fcn.1003b480
push ecx
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xd
call fcn.100129a0
mov edx, str.__expected_
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x240]
call fcn.100185d0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x240]
call fcn.10012850
lea ecx, [ebp - 0x240]
call fcn.10006e20
mov eax, dword [ebx + 0x38]
mov ecx, esi
mov byte [ebp - 4], 0xf
push dword [eax]
lea eax, [ebp - 0x78]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x3c]
mov ecx, esi
mov byte [ebp - 4], 0x10
push dword [eax]
lea eax, [ebp - 0x60]
push eax
call fcn.100124b0
mov eax, dword [ebx + 0x40]
mov ecx, esi
mov byte [ebp - 4], 0x11
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.1003b480
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x30]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x194]
call fcn.100122b0
push fcn.10006930
push 0xe
push 0x18
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x14
push eax
call fcn.10077088
push ecx
lea ecx, [ebp - 0x2d8]
call fcn.100129a0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x190]
mov esi, dword [ebp - 0x194]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x19c], esi
test eax, eax
je 0x100563e2
mov eax, dword [esi + 0x10]
lea eax, [eax + edi*4]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x184]
cmp byte [eax + 4], 0
je 0x100562de
test edi, edi
je 0x100562de
mov esi, edi
mov dl, 0x3a
lea ecx, [ebp - 0x2d8]
call fcn.100151e0
push 0
mov edi, eax
lea eax, [ebp - 0x28]
push 3
push eax
call fcn.1005e270
add esp, 0xc
mov edx, eax
mov ecx, edi
call fcn.100154b0
mov dl, 0x20
mov ecx, eax
call fcn.100151e0
sub esi, 1
jne 0x100562a2
mov esi, dword [ebp - 0x19c]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x100562e8
mov edx, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2d8]
call fcn.10019ab0
mov eax, dword [ebp - 0x184]
cmp byte [eax + 4], 0
je 0x10056356
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x194]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x10056356
mov ecx, dword [ebp - 0x188]
cmp ecx, 0x5a
jae 0x10056356
mov eax, 0x5a
sub eax, ecx
push 0
push eax
lea eax, [ebp - 0x28]
push eax
lfence
call fcn.1005e270
add esp, 0xc
lea ecx, [ebp - 0x2d8]
mov edx, eax
call fcn.100154b0
mov dl, 0x20
mov ecx, eax
call fcn.100151e0
lea eax, [esi + 0x18]
cmp eax, dword [ebp - 0x190]
je 0x100563a1
mov esi, eax
mov edi, eax
cmp dword [eax + 0x10], 0
jbe 0x1005637a
mov dl, 0x20
lea ecx, [ebp - 0x2d8]
call fcn.100151e0
mov esi, edi
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x10056384
mov edx, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2d8]
call fcn.10019ab0
lea eax, [esi + 0x18]
mov esi, eax
mov edi, eax
cmp eax, dword [ebp - 0x190]
jne 0x10056365
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.100124b0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100563e2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100563d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005642c
push ecx
push edx
call fcn.100771cc
add esp, 8
mov esi, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x2d8]
push esi
call fcn.10012850
lea ecx, [ebp - 0x2d8]
call fcn.10006e20
lea ecx, [ebp - 0x194]
call fcn.1000f0b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10077040
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x3c
call fcn.10093d5a
int3