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

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
mov esi, dword [esp + 0x94]
xor ebx, ebx
push edi
mov eax, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ecx
call fcn.1005b710
mov dword [esp + 0x28], eax
mov eax, ebp
call fcn.1005b710
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
movzx eax, byte [esi + 4]
mov esi, dword [esi + 0x38]
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
cmp eax, 0x71
je 0x1008b660
mov eax, dword [esp + 0x14]
mov edx, 1
mov dword [esp + 0x10], edx
cmp byte [eax + 0x40], bl
jne 0x1008b660
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x50], eax
lea esp, [esp]
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
cmp edx, dword [eax]
jg 0x1008b658
mov ecx, dword [esi + 8]
xor eax, eax
cmp edi, ebx
jle 0x1008b5d6
add ecx, 0x14
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
movzx ecx, word [ecx]
cmp ecx, edx
je 0x1008b5d6
add dword [esp + 0x34], 0x18
inc eax
cmp eax, edi
jl 0x1008b5c1
cmp eax, edi
jne 0x1008b646
mov edx, dword [esp + 0x14]
push ebx
push 0x81
push edx
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.1006a570
add esp, 0xc
cmp eax, ebx
je 0x1008b73f
mov edx, dword [esp + 0x10]
mov ecx, 0x400
or word [eax + 2], cx
mov dword [eax + 4], edx
push eax
mov eax, dword [esp + 0x98]
mov ecx, esi
call fcn.1006b590
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1008b642
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 8]
mov dx, word [esp + 0x10]
mov word [ecx + eax + 0x14], dx
inc edi
add eax, 0x18
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edx
mov dword [esp + 0x10], edx
cmp byte [eax + 0x40], bl
je 0x1008b5a0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x14]
lea ecx, [edi*4]
call fcn.1003fe30
mov dword [esp + 0x4c], eax
cmp eax, ebx
je 0x1008b858
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
xor ecx, ecx
cmp edi, ebx
jle 0x1008b69f
add edx, 0x14
lea esp, [esp]
movzx esi, word [edx]
dec esi
mov dword [eax + ecx*4], esi
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x1008b690
mov esi, dword [esp + 0x14]
lea ecx, [edi + edi*4 + 0x15]
call fcn.1003fe30
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x1008b6e4
mov esi, dword [esp + 0x2c]
lea eax, [edi + edi*4 + 0x15]
push eax
push ebx
push esi
call sub.MSVCR90.dll_memset
lea eax, [esi + edi*4 + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov word [esi + 6], di
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x4d]
add esp, 0xc
mov byte [esi + 4], cl
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
cmp eax, ebx
je 0x1008b85c
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
jle 0x1008b85c
add eax, 0xc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax]
mov edx, 0x100
mov dword [esp + 0x34], eax
test word [eax + 2], dx
je 0x1008b753
mov edi, dword [esp + 0x94]
mov ecx, eax
call fcn.1006a040
mov esi, eax
jmp 0x1008b816
mov dword [esp + 0x24], edi
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x98]
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x1008b7ba
mov edx, dword [esp + 0x94]
push edi
push eax
push edx
call fcn.1008a610
add esp, 0xc
cmp eax, ebx
jne 0x1008b79d
mov ecx, dword [esi]
cmp edi, dword [ecx]
jge 0x1008b79d
mov ecx, dword [ecx + 8]
lea eax, [edi + edi*2]
mov ecx, dword [ecx + eax*8]
mov edi, dword [esp + 0x94]
call fcn.1006a040
mov esi, eax
cmp eax, ebx
jne 0x1008b7aa
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 8]
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
mov eax, ecx
cmp ecx, ebx
jne 0x1008b7be
xor eax, eax
jmp 0x1008b7ce
xor eax, eax
jmp 0x1008b782
cmp byte [ecx], bl
je 0x1008b7c7
inc eax
cmp byte [eax], bl
jne 0x1008b7c2
sub eax, ecx
and eax, 0x3fffffff
mov edi, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jbe 0x1008b808
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
push 1
push 0x5c
push ecx
lea eax, [esp + 0x74]
call fcn.1006a570
add esp, 0xc
cmp eax, ebx
je 0x1008b808
mov edx, edi
mov ecx, 0x100
or word [eax + 2], cx
mov dword [eax + 8], edx
mov edi, eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax], edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [edi], esi
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov cl, byte [esi + eax + 0xc]
mov eax, dword [esp + 0x10]
mov byte [eax + edx], cl
inc eax
add edi, 4
add esi, 0x18
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], esi
jl 0x1008b70d
jmp 0x1008b85c
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
push ebx
mov dword [edi + 0x38], eax
mov edx, dword [esi]
push eax
push edx
call fcn.1006afa0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x1c], 0x71
mov dword [ecx + 0x38], eax
jne 0x1008b895
mov dword [esp + 0x34], ebx
jmp 0x1008b9cc
mov edx, dword [edi]
mov eax, dword [esi + 0x4c]
mov ecx, dword [edx]
lea edx, [eax + 1]
lea eax, [eax + ecx + 1]
mov dword [esi + 0x4c], eax
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jg 0x1008b8c1
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008b8e6
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4 + 0x15]
mov dword [esp + 0x58], ecx
call fcn.1003fe30
mov edi, eax
mov dword [esp + 0x54], edi
cmp edi, ebx
je 0x1008b931
mov edx, dword [esp + 0x58]
push edx
push ebx
push edi
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x3c]
lea ecx, [edi + eax*4 + 0x10]
mov dword [edi + 8], ecx
mov word [edi + 6], ax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 0x4d]
add esp, 0xc
mov byte [edi + 4], cl
mov dword [edi], esi
mov dword [esp + 0x40], edi
cmp edi, ebx
je 0x1008b9be
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x1008b9be
lea edx, [edi + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x3c]
cmp eax, ebx
je 0x1008ba3d
mov ecx, dword [esp + 0x94]
push esi
push eax
push ecx
call fcn.1008a610
add esp, 0xc
cmp eax, ebx
jne 0x1008b99f
mov edx, dword [esp + 0x98]
mov ecx, dword [edx]
cmp esi, dword [ecx]
jge 0x1008b99f
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [eax + ecx]
mov edi, dword [esp + 0x94]
call fcn.1006a040
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x2c], 0x18
mov dword [ecx], eax
mov edx, dword [edi + 8]
mov byte [esi + edx], bl
inc esi
add ecx, 4
cmp esi, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
jl 0x1008b950
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
mov eax, dword [edi + 0x38]
push str.ORDER
push edi
push esi
mov dword [edi + 0x3c], ebx
call fcn.10069740
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [eax + 0x3c], ebx
jne 0x1008b9fc
push str.ORDER
push eax
mov eax, dword [eax + 0x38]
push esi
call fcn.10069740
add esp, 0xc
mov eax, dword [esp + 0x28]
push eax
push edi
push esi
call fcn.1008a390
add esp, 0xc
cmp dword [edi + 8], ebx
je 0x1008bac5
cmp dword [esp + 0x1c], 0x71
jne 0x1008bac5
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [esi + 0x4c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x1008ba44
inc eax
mov dword [esp + 0x44], eax
jmp 0x1008ba4b
xor eax, eax
jmp 0x1008b978
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], ecx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008ba5e
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008ba87
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x44]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008ba9a
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bacd
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x1008bacd
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x98]
mov edx, dword [esi + 0x48]
mov edi, dword [esp + 0x14]
push edx
push edi
call fcn.1006ab30
mov eax, dword [esi + 0x4c]
push eax
push edi
mov dword [esi + 0x48], ebx
call fcn.1006ab30
mov dword [esi + 0x4c], ebx
mov esi, dword [esp + 0xa4]
mov eax, dword [esi + 0x4c]
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x20], ecx
inc ecx
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
add edx, 2
mov dword [esi + 0x4c], edx
mov dword [esp + 0x54], edx
mov dl, 0xa
mov byte [esp + 0x90], dl
mov dword [esp + 0x94], eax
mov byte [esp + 0x91], bl
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x80], dl
mov dword [esp + 0x84], ecx
mov byte [esp + 0x81], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov esi, dword [ebp + 0x1c]
add esp, 0x10
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x2c], eax
jg 0x1008bb82
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008bb82
mov dword [esp + 0x58], 1
jmp 0x1008bba7
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x58], esi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x1e8]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x80]
push edx
push ecx
push eax
call fcn.1008e7e0
mov esi, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x20], esi
jg 0x1008bbef
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bc19
mov edx, dword [ebp + 4]
mov ecx, 1
add dword [ebp + 0x1c], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008bc2c
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bc51
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [esp + 0x98]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], edx
mov dword [esi + 0xc], ebx
mov edx, dword [eax + 0x1e8]
push esi
push eax
mov dword [esp + 0x70], edx
call fcn.1008e7e0
mov edx, dword [esp + 0x60]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x54], eax
jg 0x1008bcb8
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bce2
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 4]
mov ecx, 1
add dword [ebp + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x54], eax
jg 0x1008bcfd
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bd23
mov eax, dword [esp + 0x54]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x9c]
push edi
push 0xfffffffffffffff0
push ecx
mov ecx, dword [esp + 0xa0]
inc eax
push eax
push edx
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x4c]
push esi
push ecx
call fcn.1008b0a0
add esp, 0x20
cmp dword [esp + 0x1c], 0x71
mov dword [esp + 0x54], eax
je 0x1008bd6e
mov eax, dword [esp + 0x1c]
cmp eax, 0x70
jne 0x1008bda8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x9c]
push edi
push 0xffffffffffffffef
push edx
push eax
mov eax, dword [esp + 0xa4]
push ecx
lea edx, [esp + 0x84]
push edx
push esi
push eax
mov eax, dword [esp + 0x54]
call fcn.1008b0a0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
add esp, 0x20
cmp eax, 0x72
je 0x1008beeb
cmp eax, 0x73
je 0x1008beeb
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x40], ecx
jg 0x1008bde3
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008bddb
mov dword [esp + 0x40], 1
jmp 0x1008be0c
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x1008be2f
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008be58
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x1008be73
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008be99
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
inc ecx
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x1008beb4
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008bed9
mov eax, dword [esp + 0x3c]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x20]
add dword [esi + 0x20], edx
mov ecx, dword [eax + 0x24]
adc dword [esi + 0x24], ecx
jmp 0x1008bf3a
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x40], ecx
jg 0x1008bf11
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008bf09
mov ecx, 1
jmp 0x1008bf32
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x1c], 0x73
jne 0x1008bf72
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
cmp edx, eax
jb 0x1008c071
ja 0x1008bf67
mov edx, dword [esi + 0x20]
cmp edx, ecx
jbe 0x1008c071
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
jmp 0x1008c071
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008bf8f
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008bf8f
mov dword [esp + 0x40], 1
jmp 0x1008bfbc
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
jg 0x1008bfd7
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c001
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c014
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c039
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c04c
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c071
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c08e
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008c08e
mov dword [esp + 0x34], 1
jmp 0x1008c0bc
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
jg 0x1008c0d7
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c0fc
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c10f
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c138
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c14b
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c170
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
cmp eax, 0x71
jne 0x1008c186
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jmp 0x1008c254
cmp eax, 0x73
jne 0x1008c19d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
inc eax
mov dword [esp + 0x54], eax
jmp 0x1008c254
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c1b7
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008c1b7
mov esi, 1
jmp 0x1008c1dc
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c1f3
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c21c
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c22f
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c254
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x34], esi
cmp eax, 0x71
je 0x1008c269
cmp eax, 0x70
jne 0x1008c2a2
cmp dword [ebp + 0x20], esi
jg 0x1008c279
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c2a2
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c2b5
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c2db
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x11
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c2ee
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c317
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c32a
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c34f
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x58]
cmp eax, ebx
jl 0x1008c368
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x1008c368
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c37b
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c3a0
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c3b3
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c3d8
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c3eb
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c414
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c427
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c451
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c464
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c48d
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c4a0
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c4c9
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
or eax, 0xffffffff
sub eax, dword [esp + 0x38]
js 0x1008c4df
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1008c4df
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c4f9
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008c4f9
mov esi, 1
jmp 0x1008c51a
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x23
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x1008c562
cmp byte [edi + 0x40], bl
jne 0x1008c562
cmp esi, ebx
jge 0x1008c533
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.1005ba40
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1008c559
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1008c570
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x1008c570
mov ecx, dword [esp + 0x4c]
mov eax, 0xfffffff1
call fcn.1005ba40
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jg 0x1008c59d
mov edi, ebp
call fcn.1005b400
test eax, eax
je 0x1008c59d
mov esi, 1
jmp 0x1008c5ca
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x60]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0x24
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x1008c612
cmp byte [edi + 0x40], bl
jne 0x1008c612
cmp esi, ebx
jge 0x1008c5e3
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.1005ba40
mov eax, dword [esp + 0x50]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1008c609
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1008c620
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x1008c620
mov ecx, dword [esp + 0x50]
mov eax, 0xfffffff0
call fcn.1005ba40
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x1008c632
mov eax, dword [ebp + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1008c645
mov edi, ebp
call fcn.1005b400
test eax, eax
jne 0x1008c672
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov byte [eax], 0x25
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
js 0x1008c688
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1008c688
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x9c]
cmp byte [eax], 5
jne 0x1008c6bd
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x1008c6a9
nop
mov ecx, eax
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
jne 0x1008c6a0
mov ecx, dword [ecx]
mov edx, dword [esp + 0x94]
push ecx
push ebx
push edx
call fcn.10089cd0
add esp, 0xc
mov edi, dword [esp + 0x98]
mov esi, dword [edi + 0x3c]
cmp esi, ebx
je 0x1008c6e2
mov ebp, dword [esp + 0x14]
push esi
push ebp
call fcn.10087c50
add esp, 8
mov eax, esi
mov ecx, ebp
call fcn.1003fc10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
push ebx
mov dword [edi + 0x3c], eax
movzx eax, byte [edi + 4]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
call fcn.100891f0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret