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

Disassembly:
push 0xb48
mov eax, 0x1004b8b0
call fcn.1004a5cc
xor ebx, ebx
mov dword [ebp - 0x87c], ebx
mov dword [ebp - 0xb0c], ebx
mov dword [ebp - 0x8b4], ebx
mov dword [ebp - 0x8ec], ebx
cmp dword [0x10116cbc], ebx
je 0x1002cf10
mov dword [ebp - 4], ebx
push dword [0x10116cbc]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cbc], 0
xor ebx, ebx
cmp dword [0x10116cc0], ebx
je 0x1002cf38
mov dword [ebp - 4], 2
push dword [0x10116cc0]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cc0], 0
xor ebx, ebx
cmp dword [0x10116cd0], ebx
je 0x1002cf6c
mov dword [ebp - 4], 4
mov ecx, dword [0x10116cd0]
mov esi, ecx
cmp ecx, ebx
je 0x1002cf5f
call fcn.1002ce89
push esi
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cd0], 0
xor ebx, ebx
cmp dword [0x101143fc], ebx
je 0x1002cfa0
mov dword [ebp - 4], 6
mov ecx, dword [0x101143fc]
mov esi, ecx
cmp ecx, ebx
je 0x1002cf93
call fcn.1002ce89
push esi
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x101143fc], 0
xor ebx, ebx
cmp dword [0x10116cc4], ebx
je 0x1002cfc8
mov dword [ebp - 4], 8
push dword [0x10116cc4]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cc4], 0
xor ebx, ebx
cmp dword [0x10116cc8], ebx
je 0x1002cff0
mov dword [ebp - 4], 0xa
push dword [0x10116cc8]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cc8], 0
xor ebx, ebx
cmp dword [0x10116ccc], ebx
je 0x1002d046
xor esi, esi
cmp dword [0x10116094], ebx
jbe 0x1002d01f
mov eax, dword [0x10116ccc]
lea eax, [eax + esi*4]
cmp dword [eax], ebx
je 0x1002d016
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, dword [0x10116094]
jb 0x1002d002
mov dword [ebp - 4], 0xc
push dword [0x10116ccc]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116ccc], 0
and dword [0x10116094], 0
xor ebx, ebx
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push 0x1000000
push eax
call dword [ecx + 0x44]
test eax, eax
jns 0x1002d0be
push 0x10008718
push dword [0x10116d20]
call fcn.1001277e
xor eax, eax
jmp 0x1002de5d
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x4c]
mov dword [0x10114c68], eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x54]
mov eax, dword [0x10114c68]
cmp eax, ebx
je 0x1002d11b
inc eax
push eax
call fcn.10042e16
pop ecx
mov dword [0x10116cc8], eax
cmp eax, ebx
je 0x1002d071
mov ecx, dword [0x10114c68]
inc ecx
push ecx
push 0xff
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push 0x23000000
push eax
call dword [ecx + 0x44]
test eax, eax
jns 0x1002d140
push 0x100086e4
jmp 0x1002d066
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x4c]
mov dword [0x10116094], eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x54]
mov eax, dword [0x10116094]
cmp eax, ebx
je 0x1002d1ad
inc eax
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042e16
pop ecx
mov dword [0x10116ccc], eax
cmp eax, ebx
je 0x1002d071
mov ecx, dword [0x10116094]
lea ecx, [ecx*4 + 4]
push ecx
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jge 0x1002d1d8
push 0xfde9
push 0x19c
call fcn.10026985
push eax
jmp 0x1002d066
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x14]
mov dword [0x10114c74], eax
mov dword [0x10116d24], ebx
mov dword [0x10115088], ebx
mov dword [0x10114400], ebx
cmp eax, ebx
je 0x1002de5a
inc eax
push eax
call fcn.10042e16
pop ecx
mov dword [0x10116cc4], eax
cmp eax, ebx
je 0x1002d071
mov ecx, dword [0x10114c74]
inc ecx
push ecx
push 0xff
push eax
call sub.MSVCR100.dll_memset
xor ecx, ecx
mov eax, dword [0x10114c74]
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042e16
add esp, 0x10
mov dword [0x10116cbc], eax
cmp eax, ebx
je 0x1002d071
xor ecx, ecx
mov eax, dword [0x10114c74]
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042e16
pop ecx
mov dword [0x10116cc0], eax
cmp eax, ebx
jne 0x1002d2aa
mov dword [ebp - 4], 0xe
push dword [0x10116cbc]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cbc], 0
jmp 0x1002d071
push 0x10
pop esi
push esi
call fcn.10042e16
pop ecx
mov dword [ebp - 0xb2c], eax
mov dword [ebp - 4], esi
cmp eax, ebx
je 0x1002d2cc
push 0x18
mov ecx, eax
call fcn.10012626
jmp 0x1002d2ce
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov dword [0x10116cd0], eax
cmp eax, ebx
jne 0x1002d317
mov dword [ebp - 4], 0x11
push dword [0x10116cc0]
call fcn.10042d92
pop ecx
mov dword [ebp - 4], edi
and dword [0x10116cc0], 0
mov dword [ebp - 4], 0x13
jmp 0x1002d284
push esi
call fcn.10042e16
pop ecx
mov dword [ebp - 0xb2c], eax
mov dword [ebp - 4], 0x15
cmp eax, ebx
je 0x1002d33a
push 0x18
mov ecx, eax
call fcn.100125e6
jmp 0x1002d33c
xor eax, eax
mov dword [ebp - 4], edi
mov dword [0x101143fc], eax
cmp eax, ebx
jne 0x1002d3b9
mov dword [ebp - 4], 0x16
mov ecx, dword [0x10116cd0]
mov esi, ecx
cmp ecx, ebx
je 0x1002d367
call fcn.1002ce89
push esi
call fcn.10042d92
pop ecx
mov dword [ebp - 4], edi
and dword [0x10116cd0], 0
mov dword [ebp - 4], 0x18
push dword [0x10116cc0]
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [0x10116cc0], 0
mov dword [ebp - 4], 0x1a
jmp 0x1002d284
mov ecx, dword [ebp - 0xb0c]
shl ecx, 2
mov dword [ebp - 0xb10], ecx
mov eax, dword [0x10116cac]
mov edx, dword [eax]
add ecx, dword [0x10116cbc]
push ecx
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [edx + 0x1c]
test al, al
je 0x1002d650
mov eax, dword [0x10116d14]
cmp eax, 1
je 0x1002d403
cmp eax, 2
je 0x1002d403
cmp eax, 3
jne 0x1002d4c3
xor ebx, ebx
mov dword [ebp - 0xb04], ebx
mov dword [ebp - 0xb00], ebx
mov dword [ebp - 0xafc], 0x200
push 0x1c
pop edi
mov dword [ebp - 4], edi
mov eax, dword [0x101143e4]
mov dword [ebp - 0xb08], eax
mov dword [0x101143e4], ebx
mov byte [ebp - 4], 0x1d
mov esi, 0x101160a0
push dword [0x10116cac]
mov eax, dword [0x10116cbc]
mov ecx, dword [ebp - 0xb10]
push dword [ecx + eax]
lea eax, [ebp - 0xb04]
push eax
call fcn.1001e084
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1002d479
test cl, cl
je 0x1002d475
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1002d479
add eax, 2
add esi, 2
test cl, cl
jne 0x1002d459
xor eax, eax
jmp 0x1002d47e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1002d495
mov eax, dword [0x10116cbc]
mov ecx, dword [ebp - 0xb10]
mov eax, dword [ecx + eax]
mov dword [0x10116d24], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0xb08]
mov dword [0x101143e4], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xb04], 0
je 0x1002d4c3
push dword [ebp - 0xb04]
call fcn.10042d92
pop ecx
and dword [ebp - 0xb04], 0
mov esi, dword [ebp - 0xb0c]
mov eax, dword [0x10116cc0]
mov dword [eax + esi*4], 0x2000000
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb20]
push edx
mov edx, dword [0x10116cbc]
push dword [edx + esi*4]
push eax
call dword [ecx + 0xa4]
test eax, eax
js 0x1002d50d
mov eax, dword [ebp - 0xb20]
test eax, 0xffffff
je 0x1002d50d
mov ecx, dword [0x10116cc0]
mov dword [ecx + esi*4], eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x8f4]
push edx
lea edx, [ebp - 0x8bc]
push edx
mov edx, dword [0x10116cbc]
push dword [edx + esi*4]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x1002d636
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x8f4]
push edx
lea edx, [ebp - 0x8bc]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
je 0x1002d61d
mov ebx, eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb18]
push edx
lea edx, [ebp - 0xb14]
push edx
lea edx, [ebp - 0x8f4]
push edx
lea edx, [ebp - 0x8bc]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x1002d616
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb1c]
push edx
push dword [ebp - 0xb14]
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x1002d616
mov eax, dword [0x10116cbc]
lea edi, [eax + esi*4]
push dword [0x10115088]
mov ecx, dword [0x10116cd0]
call fcn.1002cd9e
mov ecx, dword [edi]
mov dword [eax], ecx
push dword [0x10115088]
mov ecx, dword [0x10116cd0]
call fcn.1002cd9e
mov ecx, dword [ebp - 0xb14]
mov dword [eax + 8], ecx
push dword [0x10115088]
mov ecx, dword [0x10116cd0]
call fcn.1002cd9e
mov ecx, dword [ebp - 0xb18]
mov dword [eax + 4], ecx
push dword [0x10115088]
mov ecx, dword [0x10116cd0]
call fcn.1002cd9e
mov ecx, dword [ebp - 0xb1c]
mov dword [eax + 0xc], ecx
inc dword [0x10115088]
dec ebx
jne 0x1002d55a
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x8f4]
push edx
lea edx, [ebp - 0x8bc]
push edx
push eax
call dword [ecx + 0x34]
inc dword [ebp - 0xb0c]
xor ebx, ebx
jmp 0x1002d3b9
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x884]
push edx
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0xb0c], ebx
cmp dword [0x10114c74], ebx
jbe 0x1002d756
mov ebx, 0x20000
mov esi, 0x10058a80
mov edi, dword [ebp - 0xb0c]
mov eax, dword [0x10116cbc]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x10116cc0]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xb10], ecx
jmp 0x1002d6dd
mov ecx, dword [0x10116cbc]
mov ecx, dword [ecx + edi*4]
cmp ecx, eax
je 0x1002d6e6
xor ecx, ecx
cmp ecx, dword [0x10114c74]
jae 0x1002d6cd
mov edx, dword [0x10116cbc]
cmp eax, dword [edx + ecx*4]
je 0x1002d6c7
inc ecx
cmp ecx, dword [0x10114c74]
jb 0x1002d6b3
cmp ecx, dword [0x10114c74]
je 0x1002d704
mov dword [ebp - 0xb10], eax
mov eax, dword [0x10116cc0]
mov eax, dword [eax + ecx*4]
cmp eax, 0x2000000
jne 0x1002d69c
jmp 0x1002d73e
push ecx
push 0xfde9
push 0x19d
call fcn.10026985
push eax
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
jmp 0x1002d726
push eax
push dword [ebp - 0xb10]
push 0xfde9
push 0x19e
call fcn.10026985
push eax
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
push esi
push dword [0x10116d20]
call fcn.1001277e
mov eax, dword [0x10116cc0]
mov dword [eax + edi*4], 0x2000000
inc dword [ebp - 0xb0c]
mov eax, dword [ebp - 0xb0c]
cmp eax, dword [0x10114c74]
jb 0x1002d67e
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb24]
push edx
lea edx, [ebp - 0xb28]
push edx
mov edx, dword [0x10116cbc]
push dword [edx]
push eax
call dword [ecx + 0x78]
test eax, eax
jns 0x1002d7bf
push 0xfde9
push 0x1f0
call fcn.10026985
mov ecx, dword [0x10116cbc]
push dword [ecx]
push eax
push 0x800
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
lea eax, [ebp - 0x814]
push eax
push dword [0x10116d20]
call fcn.10011965
jmp 0x1002d071
mov eax, dword [0x10116cc0]
cmp dword [eax], 0x2000000
jne 0x1002d815
mov edi, 0x100086d8
mov esi, dword [ebp - 0xb28]
push 9
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1002d7e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002d815
mov eax, dword [ebp - 0xb24]
cmp byte [eax], 0
jne 0x1002d815
mov eax, dword [0x10114400]
inc dword [0x10114400]
push eax
mov ecx, dword [0x101143fc]
call fcn.1001256e
mov ecx, dword [0x10116cbc]
mov ecx, dword [ecx]
mov dword [eax], ecx
xor ebx, ebx
inc ebx
cmp dword [0x10114c74], ebx
jbe 0x1002d934
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb24]
push edx
lea edx, [ebp - 0xb28]
push edx
mov edx, dword [0x10116cbc]
push dword [edx + ebx*4]
push eax
call dword [ecx + 0x78]
test eax, eax
js 0x1002d97b
xor edi, edi
test ebx, ebx
je 0x1002d927
push 2
pop esi
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb40]
push edx
lea edx, [ebp - 0xb34]
push edx
mov edx, dword [0x10116cbc]
push dword [edx + edi*4]
push eax
call dword [ecx + 0x78]
test eax, eax
js 0x1002d998
mov eax, dword [0x10116cc0]
mov ecx, dword [eax + ebx*4]
cmp ecx, dword [eax + edi*4]
jne 0x1002d8f8
mov ecx, dword [ebp - 0xb34]
mov eax, dword [ebp - 0xb28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d8bc
test dl, dl
je 0x1002d8b8
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d8bc
add eax, esi
add ecx, esi
test dl, dl
jne 0x1002d89e
xor eax, eax
jmp 0x1002d8c1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002d8f8
mov ecx, dword [ebp - 0xb40]
mov eax, dword [ebp - 0xb24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d8ef
test dl, dl
je 0x1002d8eb
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d8ef
add eax, esi
add ecx, esi
test dl, dl
jne 0x1002d8d1
xor eax, eax
jmp 0x1002d8f4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002d903
inc edi
cmp edi, ebx
jb 0x1002d85b
jmp 0x1002d927
mov eax, dword [0x10114400]
inc dword [0x10114400]
mov ecx, dword [0x10116cbc]
lea esi, [ecx + ebx*4]
push eax
mov ecx, dword [0x101143fc]
call fcn.1001256e
mov ecx, dword [esi]
mov dword [eax], ecx
inc ebx
cmp ebx, dword [0x10114c74]
jb 0x1002d824
and dword [ebp - 0xb0c], 0
mov ecx, dword [ebp - 0xb0c]
cmp ecx, dword [0x10114c74]
ja 0x1002de5a
and dword [ebp - 0x844], 0
mov eax, dword [0x10116cac]
test ecx, ecx
je 0x1002d9b5
mov edx, dword [eax]
lea esi, [ebp - 0x84c]
push esi
mov esi, dword [0x10116cbc]
push dword [esi + ecx*4 - 4]
push 0x6000000
push eax
call dword [edx + 0x40]
jmp 0x1002d9c2
push 0xfde9
push 0x1f0
call fcn.10026985
mov ecx, dword [0x10116cbc]
push dword [ecx + ebx*4]
jmp 0x1002d792
push 0xfde9
push 0x1f0
call fcn.10026985
mov ecx, dword [0x10116cbc]
push dword [ecx + edi*4]
jmp 0x1002d792
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x38]
test eax, eax
jns 0x1002d9da
push 0xfde9
push 0x1a8
call fcn.10026985
jmp 0x1002d7ae
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0xb10], eax
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042e16
pop ecx
mov ebx, eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x48]
test al, al
je 0x1002da3c
mov esi, ebx
add esi, 4
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x48]
test al, al
jne 0x1002da22
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x54]
xor esi, esi
inc esi
mov dword [ebp - 0xb08], esi
cmp dword [ebp - 0xb10], esi
ja 0x1002daab
mov dword [ebp - 4], 0x1f
push ebx
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb0c]
mov eax, dword [0x10116cac]
test ecx, ecx
je 0x1002dc3e
mov edx, dword [eax]
lea esi, [ebp - 0x84c]
push esi
mov esi, dword [0x10116cbc]
push dword [esi + ecx*4 - 4]
push 0x4000000
push eax
call dword [edx + 0x40]
jmp 0x1002dc4b
mov esi, dword [ebp - 0xb08]
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb18]
push edx
push dword [ebx + esi*4]
push eax
call dword [ecx + 0x84]
test eax, eax
js 0x1002dc1d
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb3c]
push edx
lea edx, [ebp - 0xb20]
push edx
push dword [ebx + esi*4]
push eax
call dword [ecx + 0xb4]
test eax, eax
js 0x1002dc1d
and dword [ebp - 0xb14], 0
test esi, esi
je 0x1002dbe9
mov edi, dword [ebp - 0xb14]
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb1c]
push edx
push dword [ebx + edi*4]
push eax
call dword [ecx + 0x84]
test eax, eax
js 0x1002dc06
mov esi, dword [ebp - 0xb1c]
mov eax, dword [ebp - 0xb18]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1002db53
test cl, cl
je 0x1002db4f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1002db53
add eax, 2
add esi, 2
test cl, cl
jne 0x1002db33
xor eax, eax
jmp 0x1002db58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002dbb2
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb30]
push edx
lea edx, [ebp - 0xb50]
push edx
push dword [ebx + edi*4]
push eax
call dword [ecx + 0xb4]
test eax, eax
js 0x1002dc06
mov ecx, dword [ebp - 0xb20]
cmp ecx, dword [ebp - 0xb50]
jne 0x1002dbb2
mov edi, dword [ebp - 0xb30]
mov esi, dword [ebp - 0xb3c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1002dba8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002dbc7
mov edi, dword [ebp - 0xb14]
inc edi
mov dword [ebp - 0xb14], edi
cmp edi, dword [ebp - 0xb08]
jb 0x1002db07
jmp 0x1002dbe9
mov eax, dword [0x10114400]
inc dword [0x10114400]
push eax
mov ecx, dword [0x101143fc]
call fcn.1001256e
mov ecx, dword [ebp - 0xb08]
mov ecx, dword [ebx + ecx*4]
mov dword [eax], ecx
inc dword [ebp - 0xb08]
mov eax, dword [ebp - 0xb08]
cmp eax, dword [ebp - 0xb10]
jb 0x1002daa5
jmp 0x1002da5f
push 0xfde9
push 0x1f0
call fcn.10026985
push dword [ebx + edi*4]
jmp 0x1002d792
push 0xfde9
push 0x1f0
call fcn.10026985
push dword [ebx + esi*4]
jmp 0x1002d792
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x1002d9c6
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0xb10], eax
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042e16
pop ecx
mov ebx, eax
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x48]
test al, al
je 0x1002dcb5
mov esi, ebx
add esi, 4
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x48]
test al, al
jne 0x1002dc9b
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0x84c]
push edx
push eax
call dword [ecx + 0x54]
xor eax, eax
inc eax
mov dword [ebp - 0xb08], eax
cmp dword [ebp - 0xb10], eax
jbe 0x1002de33
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4c]
push edx
mov edi, dword [ebp - 0xb08]
push dword [ebx + edi*4]
push eax
call dword [ecx + 0x8c]
test eax, eax
js 0x1002dc06
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb2c]
push edx
lea edx, [ebp - 0xb54]
push edx
push dword [ebx + edi*4]
push eax
call dword [ecx + 0xb8]
test eax, eax
js 0x1002dc06
xor esi, esi
mov dword [ebp - 0xb14], esi
test edi, edi
je 0x1002de1b
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb44]
push edx
push dword [ebx + esi*4]
push eax
call dword [ecx + 0x8c]
test eax, eax
js 0x1002dc1d
mov edi, dword [ebp - 0xb44]
mov eax, dword [ebp - 0xb4c]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x1002dd85
test cl, cl
je 0x1002dd81
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x1002dd85
add eax, 2
add edi, 2
test cl, cl
jne 0x1002dd65
xor eax, eax
jmp 0x1002dd8a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002dde4
mov eax, dword [0x10116cac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb48]
push edx
lea edx, [ebp - 0xb38]
push edx
push dword [ebx + esi*4]
push eax
call dword [ecx + 0xb8]
test eax, eax
js 0x1002dc1d
mov ecx, dword [ebp - 0xb54]
cmp ecx, dword [ebp - 0xb38]
jne 0x1002dde4
mov edi, dword [ebp - 0xb48]
mov esi, dword [ebp - 0xb2c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1002ddda
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002ddf9
mov esi, dword [ebp - 0xb14]
inc esi
mov dword [ebp - 0xb14], esi
cmp esi, dword [ebp - 0xb08]
jb 0x1002dd39
jmp 0x1002de1b
mov eax, dword [0x10114400]
inc dword [0x10114400]
push eax
mov ecx, dword [0x101143fc]
call fcn.1001256e
mov ecx, dword [ebp - 0xb08]
mov ecx, dword [ebx + ecx*4]
mov dword [eax], ecx
inc dword [ebp - 0xb08]
mov eax, dword [ebp - 0xb08]
cmp eax, dword [ebp - 0xb10]
jb 0x1002dcdc
mov dword [ebp - 4], 0x21
push ebx
call fcn.10042d92
pop ecx
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0xb0c]
jmp 0x1002d93b
xor eax, eax
inc eax
call fcn.1004a628
ret