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

Disassembly:
push 0xffffffffffffffff
push 0x10064690
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
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.10002a16
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.10030e60
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
movzx ebx, word [esp + 0x88]
mov edx, dword [0x1009a864]
mov eax, dword [edx + 0xc]
mov ecx, 0x1009a864
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 0x10030602
xor edi, edi
cmp dword [ebp - 0xc], edi
jle 0x10030855
push 0x3c
push ebp
call fcn.1004e9a7
add esp, 8
cmp eax, edi
je 0x10030852
sub eax, ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x10030852
cmp esi, edi
mov eax, dword [ebp - 0xc]
jl 0x10030852
cmp esi, eax
jge 0x10030852
lea ecx, [esi + ebp]
push 0x3e
push ecx
call fcn.1004e9a7
add esp, 8
cmp eax, edi
je 0x10030852
sub eax, ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x10030850
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.1002443d
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.1002d670
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 0x100306bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x100306c4
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.1002c720
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.1002eb00
add esp, 0x20
add edi, 1
push edi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.1002c960
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x74], 6
je 0x10030792
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10030780
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10030780
push eax
call fcn.10002a16
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10030777
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 0x10030792
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.10006b4b
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 0x100307b7
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 0x10030822
push 0x1006c5e4
lea ecx, [esp + 0x28]
call fcn.100192c3
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.1002d670
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 0x1003081d
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 0x10030600
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10030600
xor edi, edi
cmp dword [ebp - 0xc], edi
je 0x10030877
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.1002d670
add esp, 0x14
lea edx, [esp + 0x34]
push edx
call fcn.10031160
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 0x100308a9
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 0x100308ba
push eax
call fcn.1004aa4f
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.10030bd0
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 0x100308f9
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