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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebp, ebp
push edi
mov edi, dword [ebx + 8]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
push ebp
push ebp
mov edx, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
push ebp
push 0x21
push ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], ebp
call fcn.1005e2d0
add esp, 0x14
test eax, eax
jne 0x1006f43d
push edi
call fcn.10058960
push eax
push esi
push ebx
mov dword [esp + 0x20], eax
call fcn.1006e7e0
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 8]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esi + 0x40], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
mov ecx, dword [edx]
mov dword [esp + 0x38], eax
add esp, 0x10
xor eax, eax
cmp ecx, ebp
jle 0x1006f239
lea ebp, [edx + 0x30]
test byte [ebp], 8
jne 0x1006f22b
inc eax
add ebp, 0x50
cmp eax, ecx
jl 0x1006f21b
jmp 0x1006f239
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + edx + 0x38]
mov dword [esp + 0x4c], ecx
mov ebp, dword [ebx + 0x44]
lea eax, [ebp + 1]
mov dword [ebx + 0x44], eax
mov cl, byte [esi + 4]
cmp cl, 0x73
jne 0x1006f263
mov edx, dword [esp + 0x50]
xor ecx, ecx
test edx, edx
setne cl
mov dword [esp + 0x1c], eax
inc eax
lea ecx, [ecx + ecx + 6]
mov dword [ebx + 0x44], eax
jmp 0x1006f272
mov eax, dword [esp + 0x50]
xor ecx, ecx
test eax, eax
setne cl
lea ecx, [ecx + ecx + 5]
push ebp
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.1006a6f0
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
inc eax
push ecx
push eax
push edx
push 0x3a
push edi
mov dword [ebx + 0x48], eax
mov dword [esp + 0x40], eax
call fcn.1004aaf0
mov eax, dword [esp + 0x70]
add esp, 0x20
test eax, eax
je 0x1006f2d5
push 1
push esi
push ebx
call fcn.1006f450
push 0xfffffffffffffffa
push eax
mov eax, dword [esp + 0x64]
push 0
mov ecx, dword [eax]
add ecx, 2
push ecx
push ebp
push 0x38
push edi
call fcn.100574e0
mov edx, dword [esp + 0x78]
add esp, 0x28
mov dword [esp + 0x44], edx
jmp 0x1006f2e6
mov eax, dword [esp + 0x18]
push eax
push ebp
push 0x38
push edi
call fcn.10057e50
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1006f303
push 0
push eax
push 0x38
push edi
call fcn.10057e50
add esp, 0x10
or byte [esi + 6], 8
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esi + 0x30], ecx
mov dword [eax + 0x38], ecx
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
call fcn.1006c170
mov edx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov dword [edx + 0x38], esi
jne 0x1006f419
mov eax, dword [esp + 0x10]
push eax
push ebp
push 0x6a
push edi
call fcn.10057e50
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
push ecx
push 0x66
push edi
call fcn.10058940
mov eax, dword [esp + 0x6c]
add esp, 0x1c
test eax, eax
je 0x1006f36e
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
inc eax
push edx
push eax
push ebp
push 0x2e
push edi
call fcn.1004aaf0
add esp, 0x14
jmp 0x1006f37f
mov ecx, dword [esp + 0x20]
push ecx
push ebp
push 0x64
push edi
call fcn.10057e50
add esp, 0x10
push ebp
push 0x4b
push edi
call fcn.10058940
push edi
call fcn.10058960
mov edx, dword [esp + 0x34]
mov ebp, eax
push ebp
push edx
push edi
call fcn.1006e080
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esi]
push ebp
push ecx
push 0
push 0
push edx
push eax
push esi
push ebx
call fcn.1006d7b0
mov eax, dword [esp + 0x68]
add esp, 0x40
test eax, eax
je 0x1006f3db
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push eax
push 0x89
push edi
call fcn.1004aaf0
add esp, 0x14
push ebp
push edi
call fcn.100589b0
lea edx, [esp + 0x3c]
mov dword [esi + 0x34], 0
push edx
push esi
push ebx
call fcn.1006c170
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
push 0
push 0x10
push edi
mov dword [esi + 0x34], eax
call fcn.10057e50
mov edx, dword [esp + 0x34]
push edx
push edi
call fcn.100589b0
add esp, 0x2c
mov eax, dword [esi + 0x30]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.1004e260
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x30], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret