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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor eax, eax
push esi
mov dword [esp + 0x2c], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
push edi
push esi
mov dword [esp + 0x20], eax
call fcn.10058960
push esi
mov dword [esp + 0x20], eax
call fcn.10058960
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
xor eax, eax
add esp, 8
mov ebx, dword [edi + 0x30]
mov al, byte [edi + 4]
mov ecx, dword [edi + 0x34]
cmp eax, 0x74
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x84], edx
je 0x1006f6b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 1
mov cl, byte [eax + 0x40]
test cl, cl
jne 0x1006f6b0
lea edx, [edx + edx*2]
shl edx, 3
mov dword [esp + 0x24], edx
jmp 0x1006f5cc
mov edx, dword [esp + 0x24]
mov ecx, dword [edi]
mov eax, dword [esp + 0x80]
cmp eax, dword [ecx]
jg 0x1006f6a9
mov ecx, dword [ebx + 4]
xor eax, eax
test edx, edx
jle 0x1006f618
add ecx, 0x14
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [edx]
mov edx, dword [esp + 0x80]
cmp ecx, edx
je 0x1006f618
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x2c], edx
jl 0x1006f5ed
cmp eax, dword [esp + 0x84]
jne 0x1006f68b
mov eax, dword [esp + 0x1c]
push 0
push 0x84
push eax
call fcn.10056b30
add esp, 0xc
test eax, eax
je 0x1006f72a
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x80]
push eax
or dh, 4
push ebx
push ebp
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.10056fb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1006f68b
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov cx, word [esp + 0x80]
mov word [edx + eax + 0x14], cx
mov edx, dword [esp + 0x84]
inc edx
add eax, 0x18
mov dword [esp + 0x84], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
inc ecx
mov al, byte [edx + 0x40]
mov dword [esp + 0x80], ecx
test al, al
je 0x1006f5c8
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
lea eax, [edx*4]
push eax
push ecx
call fcn.100299e0
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [esp + 0x44], eax
je 0x1006f737
mov edx, dword [esp + 0x84]
mov eax, dword [ebx + 4]
cmp edx, ecx
jle 0x1006f718
add eax, 0x14
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
xor edx, edx
mov dx, word [eax]
mov eax, dword [esp + 0x44]
dec edx
mov dword [eax + ecx*4], edx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
inc ecx
add edx, 0x18
cmp ecx, eax
mov dword [esp + 0x80], edx
jl 0x1006f6e7
push 1
push edi
push ebp
call fcn.1006f450
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x1006f73b
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x6c
ret
mov dword [esp + 0x48], ecx
mov dword [edi + 0x30], ebx
mov ecx, dword [ebp]
push 0
push ebx
push ecx
call fcn.1005b740
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x74
jne 0x1006f76a
mov dword [esp + 0x24], 0
jmp 0x1006f7f5
mov eax, dword [ebp + 0x48]
mov edx, dword [edi]
mov ebx, dword [edx]
lea ecx, [eax + 1]
push ecx
push 0
lea eax, [eax + ebx + 1]
push 0x19
push esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ecx
mov dword [ebp + 0x48], eax
call fcn.10057e50
mov ecx, dword [esp + 0x2c]
push 1
push ebx
push ecx
call fcn.1006a920
add esp, 0x1c
mov dword [esp + 0x20], eax
test eax, eax
je 0x1006f7f1
mov eax, dword [esp + 0x38]
xor ebx, ebx
test eax, eax
jle 0x1006f7f1
mov edx, dword [esp + 0x20]
add edx, 0x14
mov dword [esp + 0x80], edx
push ebx
push edi
push ebp
call fcn.1006f130
mov ecx, dword [esp + 0x8c]
add esp, 0xc
inc ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x80], ecx
mov byte [ebx + edx - 1], 0
jl 0x1006f7be
mov ebx, dword [esp + 0x10]
xor eax, eax
push str.ORDER
mov dword [edi + 0x34], eax
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x30]
push eax
push edi
push ebp
call fcn.1005deb0
mov eax, dword [ebx + 0x34]
add esp, 0x10
test eax, eax
jne 0x1006f82a
mov ecx, dword [ebx + 0x30]
push str.ORDER
push ecx
push ebx
push ebp
call fcn.1005deb0
add esp, 0x10
mov edx, dword [esp + 0x18]
push edx
push edi
push ebp
call fcn.1006e7e0
mov ecx, dword [edi + 8]
xor eax, eax
add esp, 0xc
cmp ecx, eax
je 0x1006f885
cmp dword [esp + 0x14], 0x74
jne 0x1006f885
mov ebx, dword [ebp + 0x48]
inc ebx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 1]
mov dword [ebp + 0x48], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1006f865
inc eax
jmp 0x1006f868
mov eax, dword [edi + 8]
push ebx
push eax
push 0x21
push esi
call fcn.10057e50
mov eax, dword [esp + 0x3c]
push eax
push ebx
push 0x21
push esi
call fcn.10057e50
add esp, 0x20
jmp 0x1006f88d
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + 0x3c]
mov ebx, dword [esp + 0x1c]
push ecx
push ebx
call fcn.1004e1e0
mov edx, dword [edi + 0x40]
mov dword [edi + 0x3c], 0
push edx
push ebx
call fcn.1004e1e0
mov dword [edi + 0x40], 0
mov ebx, dword [ebp + 0x48]
inc ebx
push ebx
push 0xd
lea eax, [ebx + 1]
mov dword [esp + 0x98], eax
add eax, 2
mov dword [esp + 0x4c], eax
mov dword [ebp + 0x48], eax
lea eax, [esp + 0x80]
push eax
call fcn.1006a6f0
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x70]
push ecx
push 0xd
push edx
call fcn.1006a6f0
push esi
call fcn.100589e0
inc eax
push eax
push 0
push ebx
push 0x14
push esi
call fcn.1004aaf0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
add esp, 0x40
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x1d4]
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], edx
push ecx
push eax
push ebp
call fcn.1006c170
push ebx
push 0x15
push esi
call fcn.10058940
mov edx, dword [esp + 0x50]
push edx
push esi
call fcn.10057e70
push esi
call fcn.100589e0
inc eax
push eax
mov eax, dword [esp + 0xa8]
push 0
push eax
push 0x14
push esi
call fcn.1004aaf0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov ecx, dword [ebp + 0x1d4]
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x88], ecx
push edi
push ebp
call fcn.1006c170
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0x44
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
push edx
push 0x15
push esi
call fcn.10058940
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x9c]
inc eax
push edx
push eax
lea edx, [esp + 0x84]
push ecx
push edx
push edi
push ebp
call fcn.1006fd20
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
add esp, 0x2c
cmp eax, 0x74
je 0x1006f9ff
cmp eax, 0x73
jne 0x1006fa2e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
lea edx, [esp + 0x64]
push ecx
push edx
push edi
push ebp
call fcn.1006fd20
add esp, 0x20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.10052330
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, 0x75
je 0x1006faaa
cmp ecx, 0x76
je 0x1006faaa
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ecx
push edx
push 0x11
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push 0x16
push esi
call fcn.10057e50
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], eax
push edx
push 0
push 0x10
push esi
call fcn.10057e50
mov eax, dword [esp + 0x40]
mov edx, dword [edi + 0x18]
add esp, 0x30
mov ecx, dword [eax + 0x18]
add edx, ecx
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], edx
mov edx, dword [eax + 0x1c]
adc ecx, edx
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x14]
jmp 0x1006faba
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
cmp ecx, 0x76
jne 0x1006fae5
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp edx, eax
jb 0x1006fb21
ja 0x1006fadd
mov edx, dword [edi + 0x18]
cmp edx, ecx
jbe 0x1006fb21
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
jmp 0x1006fb21
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
push eax
lea eax, [ecx + 1]
push eax
push 0x11
push esi
call fcn.10057e50
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
push edx
push ebx
push 0x16
push esi
call fcn.10057e50
mov eax, dword [esp + 0x44]
push eax
push 0
push 0x10
push esi
call fcn.10057e50
add esp, 0x30
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
push ecx
lea eax, [edx + 1]
push eax
push 0x11
push esi
call fcn.10057e50
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
push eax
push ebx
push 0x16
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x48]
push ecx
push 0
push 0x10
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x44]
add esp, 0x30
cmp ecx, 0x74
jne 0x1006fb70
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
jmp 0x1006fbac
cmp ecx, 0x76
jne 0x1006fb84
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x2c], eax
jmp 0x1006fbac
mov eax, dword [esp + 0x20]
push eax
push ebx
push 0x16
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
push ecx
push 0
push 0x10
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x34]
add esp, 0x20
push esi
call fcn.100589e0
add esp, 4
cmp ecx, 0x74
mov dword [esp + 0x3c], eax
je 0x1006fbc3
cmp ecx, 0x73
jne 0x1006fbd8
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push edx
push eax
push 0x11
push esi
call fcn.10057e50
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
push ecx
push edx
push 0x16
push esi
call fcn.10057e50
mov eax, dword [esp + 0x38]
push eax
push 0
push 0x10
push esi
call fcn.10057e50
mov ecx, dword [esp + 0x58]
push ecx
push esi
call fcn.10057e70
mov edx, dword [esp + 0x68]
push edx
push ebx
push 0x16
push esi
call fcn.10057e50
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push 0x16
push esi
call fcn.10057e50
mov edx, dword [esp + 0x70]
add esp, 0x48
push edx
push esi
call fcn.100589b0
mov eax, dword [esp + 0x4c]
push 0xfffffffffffffff1
push eax
push 0
push 0
push 0
push 0x28
push esi
call fcn.100574e0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x80]
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
push 0x29
push esi
call fcn.100574e0
add esp, 0x40
push 1
push esi
call fcn.1004ace0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push 0x2a
push esi
call fcn.1004aaf0
mov edx, dword [esp + 0x34]
push edx
push esi
call fcn.100589b0
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x34]
add esp, 0x24
cmp byte [eax], 9
jne 0x1006fcd4
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x1006fcc6
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1006fcbd
mov ecx, dword [ecx]
push ecx
push 0
push ebp
call fcn.1006e5a0
add esp, 0xc
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1006fce9
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.10052140
add esp, 8
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x34], esi
xor edx, edx
mov dword [esi + 0x38], edi
mov dl, byte [edi + 4]
push 0
push eax
push ecx
push edx
push ebp
call fcn.1006f0c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret