Function at 0x10078450
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.10049280
mov dword [esp + 0x28], eax
mov eax, ebp
call fcn.10049280
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 0x100785a0
mov eax, dword [esp + 0x14]
mov edx, 1
mov dword [esp + 0x10], edx
cmp byte [eax + 0x40], bl
jne 0x100785a0
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 0x10078598
mov ecx, dword [esi + 8]
xor eax, eax
cmp edi, ebx
jle 0x10078516
add ecx, 0x14
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
movzx ecx, word [ecx]
cmp ecx, edx
je 0x10078516
add dword [esp + 0x34], 0x18
inc eax
cmp eax, edi
jl 0x10078501
cmp eax, edi
jne 0x10078586
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.10057cf0
add esp, 0xc
cmp eax, ebx
je 0x1007867f
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.10058ca0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10078582
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 0x100784e0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x14]
lea ecx, [edi*4]
call fcn.1002eb70
mov dword [esp + 0x4c], eax
cmp eax, ebx
je 0x10078798
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
xor ecx, ecx
cmp edi, ebx
jle 0x100785df
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 0x100785d0
mov esi, dword [esp + 0x14]
lea ecx, [edi + edi*4 + 0x15]
call fcn.1002eb70
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x10078624
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 0x1007879c
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
jle 0x1007879c
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 0x10078693
mov edi, dword [esp + 0x94]
mov ecx, eax
call fcn.10057840
mov esi, eax
jmp 0x10078756
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 0x100786fa
mov edx, dword [esp + 0x94]
push edi
push eax
push edx
call fcn.10077550
add esp, 0xc
cmp eax, ebx
jne 0x100786dd
mov ecx, dword [esi]
cmp edi, dword [ecx]
jge 0x100786dd
mov ecx, dword [ecx + 8]
lea eax, [edi + edi*2]
mov ecx, dword [ecx + eax*8]
mov edi, dword [esp + 0x94]
call fcn.10057840
mov esi, eax
cmp eax, ebx
jne 0x100786ea
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 0x100786fe
xor eax, eax
jmp 0x1007870e
xor eax, eax
jmp 0x100786c2
cmp byte [ecx], bl
je 0x10078707
inc eax
cmp byte [eax], bl
jne 0x10078702
sub eax, ecx
and eax, 0x3fffffff
mov edi, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
cmp eax, ebx
jbe 0x10078748
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
push 1
push 0x5c
push ecx
lea eax, [esp + 0x74]
call fcn.10057cf0
add esp, 0xc
cmp eax, ebx
je 0x10078748
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 0x1007864d
jmp 0x1007879c
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.100586b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x1c], 0x71
mov dword [ecx + 0x38], eax
jne 0x100787d5
mov dword [esp + 0x34], ebx
jmp 0x1007890c
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 0x10078801
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078826
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.1002eb70
mov edi, eax
mov dword [esp + 0x54], edi
cmp edi, ebx
je 0x10078871
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 0x100788fe
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x100788fe
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 0x1007897d
mov ecx, dword [esp + 0x94]
push esi
push eax
push ecx
call fcn.10077550
add esp, 0xc
cmp eax, ebx
jne 0x100788df
mov edx, dword [esp + 0x98]
mov ecx, dword [edx]
cmp esi, dword [ecx]
jge 0x100788df
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [eax + ecx]
mov edi, dword [esp + 0x94]
call fcn.10057840
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 0x10078890
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.10056f40
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [eax + 0x3c], ebx
jne 0x1007893c
push str.ORDER
push eax
mov eax, dword [eax + 0x38]
push esi
call fcn.10056f40
add esp, 0xc
mov eax, dword [esp + 0x28]
push eax
push edi
push esi
call fcn.100772d0
add esp, 0xc
cmp dword [edi + 8], ebx
je 0x10078a05
cmp dword [esp + 0x1c], 0x71
jne 0x10078a05
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 0x10078984
inc eax
mov dword [esp + 0x44], eax
jmp 0x1007898b
xor eax, eax
jmp 0x100788b8
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], ecx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x1007899e
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100789c7
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 0x100789da
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078a0d
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 0x10078a0d
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.100582b0
mov eax, dword [esi + 0x4c]
push eax
push edi
mov dword [esi + 0x48], ebx
call fcn.100582b0
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 0x10078ac2
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10078ac2
mov dword [esp + 0x58], 1
jmp 0x10078ae7
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.1007b720
mov esi, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x20], esi
jg 0x10078b2f
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078b59
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 0x10078b6c
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078b91
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.1007b720
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 0x10078bf8
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078c22
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 0x10078c3d
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078c63
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.10077fe0
add esp, 0x20
cmp dword [esp + 0x1c], 0x71
mov dword [esp + 0x54], eax
je 0x10078cae
mov eax, dword [esp + 0x1c]
cmp eax, 0x70
jne 0x10078ce8
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.10077fe0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
add esp, 0x20
cmp eax, 0x72
je 0x10078e2b
cmp eax, 0x73
je 0x10078e2b
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x40], ecx
jg 0x10078d23
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10078d1b
mov dword [esp + 0x40], 1
jmp 0x10078d4c
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 0x10078d6f
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078d98
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 0x10078db3
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078dd9
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 0x10078df4
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078e19
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 0x10078e7a
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x40], ecx
jg 0x10078e51
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10078e49
mov ecx, 1
jmp 0x10078e72
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 0x10078eb2
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 0x10078fb1
ja 0x10078ea7
mov edx, dword [esi + 0x20]
cmp edx, ecx
jbe 0x10078fb1
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
jmp 0x10078fb1
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10078ecf
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10078ecf
mov dword [esp + 0x40], 1
jmp 0x10078efc
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 0x10078f17
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078f41
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 0x10078f54
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078f79
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 0x10078f8c
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10078fb1
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 0x10078fce
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10078fce
mov dword [esp + 0x34], 1
jmp 0x10078ffc
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 0x10079017
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x1007903c
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 0x1007904f
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079078
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 0x1007908b
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100790b0
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 0x100790c6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jmp 0x10079194
cmp eax, 0x73
jne 0x100790dd
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
inc eax
mov dword [esp + 0x54], eax
jmp 0x10079194
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100790f7
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x100790f7
mov esi, 1
jmp 0x1007911c
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 0x10079133
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x1007915c
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 0x1007916f
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079194
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 0x100791a9
cmp eax, 0x70
jne 0x100791e2
cmp dword [ebp + 0x20], esi
jg 0x100791b9
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100791e2
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 0x100791f5
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x1007921b
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 0x1007922e
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079257
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 0x1007926a
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x1007928f
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 0x100792a8
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100792a8
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 0x100792bb
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100792e0
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 0x100792f3
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079318
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 0x1007932b
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079354
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 0x10079367
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079391
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 0x100793a4
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100793cd
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 0x100793e0
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x10079409
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 0x1007941f
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x1007941f
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x10079439
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x10079439
mov esi, 1
jmp 0x1007945a
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 0x100794a2
cmp byte [edi + 0x40], bl
jne 0x100794a2
cmp esi, ebx
jge 0x10079473
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.10049560
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x10079499
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x100794b0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x100794b0
mov ecx, dword [esp + 0x4c]
mov eax, 0xfffffff1
call fcn.10049560
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 0x100794dd
mov edi, ebp
call fcn.10048f70
test eax, eax
je 0x100794dd
mov esi, 1
jmp 0x1007950a
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 0x10079552
cmp byte [edi + 0x40], bl
jne 0x10079552
cmp esi, ebx
jge 0x10079523
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.10049560
mov eax, dword [esp + 0x50]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x10079549
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x10079560
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x10079560
mov ecx, dword [esp + 0x50]
mov eax, 0xfffffff0
call fcn.10049560
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x10079572
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 0x10079585
mov edi, ebp
call fcn.10048f70
test eax, eax
jne 0x100795b2
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 0x100795c8
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x100795c8
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x9c]
cmp byte [eax], 5
jne 0x100795fd
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x100795e9
nop
mov ecx, eax
mov eax, dword [ecx + 0x3c]
cmp eax, ebx
jne 0x100795e0
mov ecx, dword [ecx]
mov edx, dword [esp + 0x94]
push ecx
push ebx
push edx
call fcn.10076c10
add esp, 0xc
mov edi, dword [esp + 0x98]
mov esi, dword [edi + 0x3c]
cmp esi, ebx
je 0x10079622
mov ebp, dword [esp + 0x14]
push esi
push ebp
call fcn.10074be0
add esp, 8
mov eax, esi
mov ecx, ebp
call fcn.1002e950
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.10076130
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret