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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10021994]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.1000f530
add esp, 8
xor ebp, ebp
cmp eax, 0x14e
mov ebx, 1
jne 0x100069a5
mov edx, dword [esp + 0x18]
push edx
call sym.PAWNC.dll_pc_addtag
add esp, 4
mov edi, eax
mov esi, ebx
jmp 0x100069ae
call fcn.1000c330
xor edi, edi
xor esi, esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], edi
call fcn.1000f530
add esp, 8
cmp eax, 0x14d
jne 0x100069f9
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x100069d5
cmp esi, ebp
jne 0x10006a03
lea edx, [esp + 0x48]
push edx
call sym.PAWNC.dll_pc_addtag
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
jmp 0x10006a03
call fcn.1000c330
mov byte [esp + 0x48], 0
push 0x28
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006aac
push 0x103
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006a3f
push ebp
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.10003030
add esp, 0xc
jmp 0x10006aa2
push pe_nt_image_headers32
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006a61
push ebp
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.10003030
add esp, 0xc
jmp 0x10006aa2
push 0x105
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006aa2
push ebp
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.10003030
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebp
jle 0x10006a9c
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx]
sub eax, ebx
add ecx, ecx
cmp eax, ebp
jg 0x10006a90
mov dword [esp + 0x2c], ecx
sub eax, ebx
mov dword [esp + 0x14], eax
push 0x29
call fcn.1000fc10
add esp, 4
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10006ab3
sub eax, edx
je 0x10006b13
mov eax, dword [esp + 0x90]
push edi
push eax
lea ecx, [esp + 0x50]
push ebp
push ecx
call fcn.10004660
mov ebx, eax
add esp, 0x10
cmp ebx, ebp
mov dword [esp + 0x24], ebx
je 0x10006ae6
or word [ebx + 0x36], 0x20
push 0x2c
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebp
mov dword [esp + 0x1c], esi
jne 0x10006b05
push 0x67
call fcn.10016180
add esp, 4
push 0x2c
push ebp
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x10006b1d
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebp
push 0x7b
call fcn.1000fc10
add esp, 4
mov dword [esp + 0x10], ebp
jmp 0x10006b30
push 0x7d
call fcn.1000fb90
add esp, 4
test eax, eax
jne 0x10006e3c
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x38], ebp
call fcn.1000f530
add esp, 8
cmp eax, 0x14e
je 0x10006b6b
call fcn.1000c330
xor esi, esi
jmp 0x10006c67
mov edi, dword [0x1002230c]
mov ebp, dword [esp + 0x30]
xor ebx, ebx
test edi, edi
je 0x10006bcf
jmp 0x10006b80
mov esi, dword [edi + 0x24]
and esi, 0x7fffffff
lea ecx, [edi + 4]
mov eax, ebp
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006bb0
test dl, dl
je 0x10006bac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006bb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006b90
xor eax, eax
jmp 0x10006bb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10006c61
and esi, 0xbfffffff
cmp esi, ebx
jle 0x10006bc9
mov ebx, esi
mov edi, dword [edi]
test edi, edi
jne 0x10006b80
movsx ecx, byte [ebp]
push ecx
add ebx, 1
call dword [sym.imp.MSVCR80.dll_isupper]
add esp, 4
test eax, eax
je 0x10006bea
or ebx, 0x40000000
mov eax, dword [0x1002230c]
test eax, eax
mov edi, dword [esp + 0x30]
mov ebp, 0x1002230c
je 0x10006c08
lea esp, [esp]
mov ebp, eax
mov eax, dword [eax]
test eax, eax
jne 0x10006c00
push 0x2c
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10006c23
push 0x67
call fcn.10016180
add esp, 4
push 0x2c
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
test edi, edi
je 0x10006c4c
mov edx, esi
sub edx, edi
mov eax, edi
add edx, 4
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10006c40
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0
mov dword [esi], 0
mov dword [ebp], esi
mov esi, ebx
mov ebx, dword [esp + 0x24]
xor ebp, ebp
push 0x14d
call fcn.1000fc10
add esp, 4
test eax, eax
je 0x10006ca2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.1000c370
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x70]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10006c94
jmp 0x10006ca7
mov byte [esp + 0x68], 0
mov edx, dword [esp + 0x34]
push 0x5b
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], ebp
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006cdb
push ebp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.10003030
push 0x5d
call fcn.1000fc10
add esp, 0x10
push 0x3d
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10006d4c
push 1
call fcn.100186b0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.10018680
push ebp
push 2
call fcn.100164b0
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ebp
push ecx
call fcn.10014370
mov edx, dword [esp + 0x64]
mov edi, eax
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.10018660
push ebp
call fcn.100186b0
add esp, 0x30
cmp edi, 8
je 0x10006d41
push 8
call fcn.10016180
add esp, 4
mov dword [esp + 0x10], ebp
push ebp
push 3
call fcn.100164b0
add esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.10004660
add esp, 0x10
cmp eax, ebp
je 0x10006e28
cmp dword [esp + 0x1c], ebp
mov dword [eax + 0x44], esi
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x48], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x4c], ecx
mov word [eax + 0x50], bp
mov dword [eax + 4], ebx
je 0x10006e05
or word [eax + 0x36], 0x40
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
test eax, eax
mov ebp, dword [esp + 0x10]
je 0x10006dac
mov edi, eax
mov eax, dword [eax]
test eax, eax
jne 0x10006da4
push 0x2c
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10006dc7
push 0x67
call fcn.10016180
add esp, 4
push 0x2c
push 0
push esi
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x74]
mov edx, esi
mov ecx, eax
sub edx, ecx
add esp, 0xc
add edx, 4
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10006de1
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], edx
mov dword [esi], 0
mov dword [edi], esi
xor ebp, ebp
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x10006e18
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
jmp 0x10006e28
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x10]
imul ecx, eax
mov dword [esp + 0x10], ecx
push 0x2c
call fcn.1000fb90
add esp, 4
test eax, eax
jne 0x10006b30
jmp 0x10006e41
call fcn.1000c330
push 0x7d
call fcn.1000fc10
push 0x3b
call fcn.1000fb90
add esp, 8
cmp ebx, ebp
je 0x10006e6d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push ebx
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x4c], eax
call fcn.100018d0
add esp, 4
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001b1c6
add esp, 0x7c
ret