Function at 0x10033390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1006caf0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.1000252a
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x80]
push ecx
xor edi, edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], edi
call fcn.10033c90
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
movzx ebx, word [esp + 0x88]
mov edx, dword [0x100a61f4]
mov eax, dword [edx + 0xc]
mov ecx, 0x100a61f4
mov byte [esp + 0x74], 2
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], 1
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x74], 3
jmp 0x10033432
xor edi, edi
cmp dword [ebp - 0xc], edi
jle 0x10033685
push 0x3c
push ebp
call fcn.100550a7
add esp, 8
cmp eax, edi
je 0x10033682
sub eax, ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x10033682
cmp esi, edi
mov eax, dword [ebp - 0xc]
jl 0x10033682
cmp esi, eax
jge 0x10033682
lea ecx, [esi + ebp]
push 0x3e
push ecx
call fcn.100550a7
add esp, 8
cmp eax, edi
je 0x10033682
sub eax, ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x10033680
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.1000d262
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x94]
push eax
mov byte [esp + 0x88], 4
call fcn.100304a0
mov bl, al
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100334eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x100334f4
mov byte [esp + 0x1c], 0
mov ecx, edi
sub ecx, esi
sub ecx, 1
push ecx
add esi, 1
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
call fcn.1002f550
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x94], 5
mov byte [esp + 0x9c], 0
call fcn.10031930
add esp, 0x20
add edi, 1
push edi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.1002f790
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x74], 6
je 0x100335c2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x100335b0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x100335b0
push eax
call fcn.1000252a
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100335a7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x100335c2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.10006b67
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x74], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100335e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x7c], 0
mov ebx, dword [esp + 0x20]
je 0x10033652
push 0x100758d4
lea ecx, [esp + 0x28]
call fcn.1001a1bf
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x88], 7
call fcn.100304a0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x74], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003364d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10033430
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10033430
xor edi, edi
cmp dword [ebp - 0xc], edi
je 0x100336a7
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.100304a0
add esp, 0x14
lea edx, [esp + 0x34]
push edx
call fcn.10033f90
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100336d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x100336ea
push eax
call fcn.10050e9e
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x74], 0
call fcn.10033a00
add ebp, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10033729
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret