Function at 0x1007d24a
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x101aeb60]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x1e8]
xor ecx, ecx
inc ecx
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
test edx, edx
je 0x1007e57b
cmp byte [eax + 0x38], 0
jne 0x1007e57b
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x1007e57b
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, esi
call fcn.1006c080
add esp, 0xc
test eax, eax
je 0x1007d2e0
xor edx, edx
lea eax, [edx + 1]
jmp 0x1007e57d
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
push 4
pop ecx
cmp byte [eax], cl
ja 0x1007d315
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x20]
call fcn.100679c4
mov eax, 0xfffe
and word [edi + 6], ax
mov dword [edi + 0x38], ebx
push ebx
mov edx, edi
mov ecx, esi
call fcn.1007ce2a
mov eax, dword [edi + 0x38]
pop ecx
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], ecx
cmp dword [esi + 0x44], ebx
jne 0x1007e55b
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x38], bl
jne 0x1007e567
movzx eax, word [edi + 6]
shr eax, 2
and eax, 1
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.1007aa35
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1007d394
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp dword [edi], 1
movzx eax, byte [edx]
mov edi, dword [esp + 0x4c]
jle 0x1007d3ec
cmp eax, 6
je 0x1007d387
cmp eax, 7
jne 0x1007d3ec
push 0x10193cf0
push esi
call fcn.100488d3
pop ecx
pop ecx
mov ebx, dword [esp + 0x20]
xor edx, edx
inc edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x1e4], ecx
test edx, edx
jne 0x1007d3c7
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 5
jne 0x1007d3c7
push dword [esp + 0x60]
mov edx, eax
mov ecx, esi
call fcn.1007a569
pop ecx
mov edx, dword [esp + 0x98]
mov ecx, ebx
call fcn.10046cee
mov edx, dword [esp + 0xa4]
mov ecx, ebx
call fcn.10046cee
mov eax, dword [esp + 0x68]
jmp 0x1007e57d
mov dword [esp + 0x34], ebx
cmp dword [edi + 0x3c], ebx
jne 0x1007d7a0
mov edx, dword [esp + 0x14]
movsx eax, word [edx]
cmp dword [esp + 0x34], eax
jge 0x1007d79c
mov eax, dword [esp + 0x34]
imul eax, eax, 0x48
mov dword [esp + 0x1c], eax
mov esi, dword [eax + edx + 0x1c]
mov dword [esp + 0x2c], esi
test esi, esi
mov esi, dword [esp + 0x3c]
je 0x1007d78f
cmp dword [eax + edx + 0x20], 0
je 0x1007d458
test byte [eax + edx + 0x2c], 4
jne 0x1007d78f
push ebx
push dword [eax + edx + 0x20]
push dword [eax + edx + 0x24]
push 2
pop edx
call fcn.1005a4a8
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x1007d78b
lea edx, [esp + 0x30]
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.10066c3b
mov eax, dword [esp + 0x30]
add dword [esi + 0x1e0], eax
mov eax, dword [esp + 0x2c]
mov edx, edi
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x3c]
mov dword [esp + 0x30], eax
call fcn.1007c026
add esp, 0xc
test eax, eax
je 0x1007d4bc
cmp dword [esp + 0x24], 0
je 0x1007d4b2
push 4
pop eax
or word [edi + 6], ax
mov dword [esp + 0x58], 1
or dword [esp + 0x34], 0xffffffff
jmp 0x1007d74b
mov ecx, dword [esp + 0x14]
xor eax, eax
inc eax
cmp word [ecx], ax
jne 0x1007d650
mov edx, 0x100
test word [edi + 6], dx
jne 0x1007d650
mov eax, dword [esp + 0x20]
test word [eax + 0x34], dx
jne 0x1007d650
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
mov dword [edx + ecx + 0x24], eax
inc dword [esi + 0x4c]
mov edi, dword [esi + 0x4c]
or edx, 0xffffffff
mov ecx, esi
call fcn.1006f6d3
mov ecx, dword [esp + 0x10]
push ebx
xor edx, edx
push ebx
push ebx
inc edx
call fcn.1005a4a8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push dword [eax + ecx + 0x34]
mov ecx, dword [esp + 0x1c]
push 0x2c
pop edx
call fcn.1005a4a8
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dl, 1
mov esi, eax
call fcn.1005a7c5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ebx
push edi
push ebx
mov dword [eax + edx + 0x20], esi
push 7
pop edx
call fcn.1005a4a8
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dl, 1
call fcn.1005a7c5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + ecx + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe8], eax
mov al, byte [ecx + 0x1e8]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0x14]
mov word [esp + 0xe4], 0xa
mov byte [edx + ebx + 0x30], al
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe4]
push eax
call fcn.1007d24a
mov eax, dword [esp + 0x30]
pop ecx
fld qword [eax + 0x20]
call fcn.1013c336
mov edx, dword [esp + 0x1c]
push 4
mov ecx, dword [edx + ebx + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, ebx
pop ecx
or dword [edx + eax + 0x2c], ecx
push dword [esp + 0xec]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.1005a797
pop ecx
push dword [esp + 0xf0]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.1005a7ae
pop ecx
xor ebx, ebx
push ebx
push edi
mov edi, dword [esp + 0x18]
push 1
push 7
pop edx
mov ecx, edi
call fcn.1005a4a8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push dword [eax + ecx + 0x24]
mov ecx, edi
push 4
pop eax
mov edx, eax
call fcn.1005a4a8
lea edx, [esi - 1]
add esp, 0xc
test edx, edx
js 0x1007d643
push dword [edi + 0x1c]
mov ecx, edi
call fcn.1005a797
pop ecx
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
jmp 0x1007d745
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
inc eax
push ebx
push eax
push ebx
mov dword [esi + 0x4c], eax
mov dword [edx + ecx + 0x24], eax
mov ecx, dword [esp + 0x1c]
push 7
pop edx
mov dword [esp + 0x3c], ebx
call fcn.1005a4a8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
inc eax
test byte [ecx + edx + 0x2c], 2
mov dword [ecx + edx + 0x20], eax
jne 0x1007d6a0
mov ecx, esi
call fcn.10067be9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + edx + 0x34]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xe8], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xe4], 9
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov byte [ecx + edx + 0x30], al
lea eax, [esp + 0xe4]
push eax
mov edx, edi
mov ecx, esi
call fcn.1007d24a
fld qword [edi + 0x20]
pop ecx
call fcn.1013c336
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + edi + 0x18]
mov edi, dword [esp + 0x4c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1007d719
js 0x1007d719
mov eax, dword [esp + 0x10]
mov edx, ecx
push dword [eax + 0x1c]
mov ecx, eax
call fcn.1005a797
pop ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push dword [eax + ecx + 0x24]
mov ecx, dword [esp + 0x1c]
push 3
pop edx
call fcn.1005a4a8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.1005a780
pop ecx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x13], bl
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x38], 0
jne 0x1007d394
lea edx, [esp + 0x30]
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.10066c3b
mov eax, dword [esp + 0x30]
sub dword [esi + 0x1e0], eax
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x28]
push 4
pop ecx
mov dword [esp + 0x14], edx
cmp byte [eax], cl
jbe 0x1007d78b
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x34]
cmp dword [edi + 0x3c], ebx
je 0x1007d3fd
mov edx, dword [esp + 0x48]
mov eax, dword [edi]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x30], ecx
mov cl, byte [edi + 6]
and cl, 1
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b], cl
mov byte [esp + 0xb0], cl
cmp dword [edi + 0x3c], ebx
je 0x1007d827
cmp dword [edi + 0x44], ebx
jne 0x1007d80a
mov ecx, ebx
mov eax, edi
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], edi
mov ebx, eax
mov eax, dword [eax + 0x3c]
inc ecx
test eax, eax
jne 0x1007d7da
mov ebx, dword [esp + 0x20]
cmp dword [ebx + 0x60], eax
je 0x1007d80a
cmp ecx, dword [ebx + 0x60]
jle 0x1007d80a
push 0x10193fb8
push esi
call fcn.100488d3
pop ecx
pop ecx
jmp 0x1007d398
push edx
mov edx, edi
mov ecx, esi
call fcn.1007ac2f
pop ecx
mov ecx, dword [esp + 0xac]
mov dword [esi + 0x1e4], ecx
jmp 0x1007e57d
mov edx, dword [esp + 0x28]
mov ecx, eax
call fcn.10069c4e
test eax, eax
jne 0x1007d850
mov eax, dword [esp + 0x20]
push 4
pop ecx
test byte [eax + 0x34], cl
mov ecx, dword [esp + 0x28]
push 0
pop eax
cmove ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x1007d854
mov ecx, dword [esp + 0x28]
mov al, byte [edi + 6]
xor edx, edx
and al, 5
inc edx
cmp al, dl
jne 0x1007d890
mov edx, dword [edi]
call fcn.10069c4e
test eax, eax
jne 0x1007d890
mov edx, dword [edi]
mov ecx, dword [esp + 0x20]
mov eax, 0xfffe
and word [edi + 6], ax
push ebx
call fcn.100674f7
mov dword [esp + 0x20], eax
mov dword [edi + 0x30], eax
mov eax, ebx
pop ecx
mov dword [esp + 0x28], eax
jmp 0x1007d894
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1007d8d5
mov edx, eax
mov ecx, esi
call fcn.10079f27
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esi + 0x48]
mov dword [edx + 4], eax
inc dword [esi + 0x48]
mov eax, dword [edx]
push 0xfffffffffffffff0
push ecx
mov ecx, dword [esp + 0x18]
push ebx
add eax, 2
push eax
push dword [edx + 4]
push 0x2a
pop edx
call fcn.1005a4f9
add esp, 0x14
mov dword [esp + 0x38], eax
mov dword [edi + 0x18], eax
jmp 0x1007d8da
or dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x48]
cmp byte [eax], 9
jne 0x1007d8fc
mov ecx, dword [esp + 0x60]
push ebx
push dword [ecx]
mov ecx, dword [esp + 0x18]
push dword [eax + 4]
push 0x2a
pop edx
call fcn.1005a4a8
add esp, 0xc
mov ecx, dword [esp + 0x10]
call fcn.1005a5a6
movsd xmm0, qword [0x101952c0]
push eax
mov edx, edi
mov ecx, esi
mov dword [esp + 0xc0], eax
movsd qword [edi + 0x20], xmm0
call fcn.1007aa69
pop ecx
mov ecx, dword [esp + 0x10]
cmp dword [edi + 8], ebx
jne 0x1007d944
mov eax, dword [esp + 0x38]
test eax, eax
js 0x1007d944
mov edx, eax
call fcn.1005aa61
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x1007d9aa
mov esi, dword [esi + 0x48]
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 1]
mov dword [ecx + 0x48], eax
mov edx, dword [edi]
mov dword [esp + 0xb4], esi
call fcn.10079f27
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push esi
push 0x2a
pop edx
mov edi, eax
call fcn.1005a4a8
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
push 0xfffffffffffffff0
push edi
mov edx, esi
call fcn.1005a92f
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov dl, 8
mov dword [esp + 0xb8], esi
call fcn.1005a7c5
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
push 3
pop eax
jmp 0x1007d9ac
mov al, bl
cmp dword [esp + 0x58], 0
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xb1], al
mov dword [esp + 0x70], eax
jne 0x1007daad
test edx, edx
jne 0x1007daad
cmp byte [esp + 0x1b], dl
je 0x1007d9d8
mov eax, dword [edi]
jmp 0x1007d9da
mov eax, ebx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push eax
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x54]
call fcn.1008608a
mov edx, eax
add esp, 0x14
mov dword [esp + 0x30], edx
test edx, edx
je 0x1007e56b
movsd xmm1, qword [edx + 0x30]
movsd xmm0, qword [edi + 0x20]
comisd xmm0, xmm1
jbe 0x1007da16
movsd qword [edi + 0x20], xmm1
mov eax, dword [esp + 0x70]
mov cl, byte [edx + 0xe]
movzx eax, al
mov dword [esp + 0x70], eax
movzx eax, cl
test cl, cl
mov ecx, dword [esp + 0x70]
cmovne ecx, eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0xb1], cl
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1007da57
movzx eax, word [edx + 8]
and dword [esp + 0x24], 0
cmp eax, dword [ecx]
cmove ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x38]
test eax, eax
js 0x1007da7a
test ecx, ecx
jne 0x1007da7a
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.1005a901
or dword [edi + 0x18], 0xffffffff
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push dword [edx + 0x18]
lea eax, [esp + 0xb4]
push dword [edx + 0x14]
mov edx, edi
push dword [esp + 0x50]
push eax
push ecx
push ebx
push ebx
push dword [esp + 0x7c]
mov ecx, esi
call fcn.10079acf
mov ecx, dword [esp + 0x50]
add esp, 0x20
call fcn.100869b8
jmp 0x1007e4fb
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebx
test edx, edx
je 0x1007db31
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x3c]
test eax, eax
jle 0x1007dafa
mov ecx, dword [esp + 0x40]
add ecx, 0x16
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
xor edi, edi
dec eax
mov word [esi], di
lea esi, [esi + 0x18]
test eax, eax
jg 0x1007dae5
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [edx + 8]
test eax, eax
jle 0x1007db17
add edx, 0x16
xor ecx, ecx
dec eax
mov word [edx], cx
lea edx, [edx + 0x18]
test eax, eax
jg 0x1007db06
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [edi + 0x20]
movsd xmm1, qword [0x10195258]
comisd xmm0, xmm1
jbe 0x1007db3e
movsd qword [edi + 0x20], xmm1
jmp 0x1007db3e
movsd xmm0, qword [0x10195208]
movsd qword [edi + 0x20], xmm0
call fcn.1005a5a6
mov dword [esp + 0x6c], eax
xor eax, eax
push 8
pop ecx
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xd0], eax
test edi, edi
je 0x1007db89
mov eax, dword [edi]
inc eax
mov dword [esp + 0x90], eax
jmp 0x1007db90
mov dword [esp + 0x90], ebx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x94], edi
call fcn.10069fc0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc4]
call fcn.10069fc0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1007dbcd
mov edx, eax
lea ecx, [esp + 0xc4]
call fcn.10069f93
cmp dword [esp + 0xa8], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
jle 0x1007dc37
mov al, byte [esp + 0xe0]
mov esi, ebx
mov edi, ebx
or al, 8
mov byte [esp + 0xe0], al
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xc4]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x10]
call fcn.10069fc0
mov al, byte [esp + 0xe0]
and al, 0xf7
inc edi
mov byte [esp + 0xe0], al
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa8]
jl 0x1007dbf0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x38], 0
jne 0x1007d394
test edi, edi
je 0x1007e263
mov eax, dword [esi + 0x48]
mov dword [esp + 0x88], eax
inc eax
mov edx, edi
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.10079f27
mov edi, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
push ebx
push dword [esp + 0x9c]
mov ecx, edi
push dword [esp + 0x98]
mov dword [esp + 0x8c], eax
push 0x2b
pop edx
call fcn.1005a4f9
add esp, 0x14
inc dword [esi + 0x4c]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x64], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov ecx, edi
mov dword [esi + 0x4c], eax
call fcn.1005a5a6
inc dword [esi + 0x4c]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x4c]
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.1005a5a6
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
push ebx
push dword [esp + 0x38]
mov dword [esp + 0x84], eax
lea eax, [ecx + 1]
mov dword [esi + 0x4c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [edx]
push ebx
add eax, ecx
push 7
pop edx
mov ecx, edi
mov dword [esi + 0x4c], eax
call fcn.1005a4a8
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x68]
push ebx
push 7
pop edx
call fcn.1005a4a8
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ecx]
mov ecx, dword [esp + 0x7c]
dec eax
add eax, ecx
push eax
push ecx
push ebx
push 0xa
pop edx
mov ecx, edi
call fcn.1005a4a8
add esp, 0xc
push ebx
push dword [esp + 0x54]
push dword [esp + 0x48]
push 2
pop edx
mov ecx, edi
call fcn.1005a4a8
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push ebx
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x54]
call fcn.1008608a
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
je 0x1007d394
movzx eax, word [eax + 8]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx]
jne 0x1007dd82
mov dword [esp + 0x2c], ebx
jmp 0x1007df83
cmp byte [esp + 0x1b], 0
je 0x1007dd98
mov edx, dword [esp + 0x4c]
test byte [edx + 6], 1
mov edx, 0x10193fac
je 0x1007dd9d
mov edx, 0x10193fe8
mov ecx, esi
call fcn.10079fe9
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
inc eax
mov dword [esp + 0x68], eax
mov ecx, eax
mov dword [esp + 0x38], eax
mov edx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x1007ddee
mov eax, dword [esp + 0x98]
add eax, 0xc
cmp dword [eax], edx
jl 0x1007dde1
inc ecx
inc edx
add eax, 0x18
dec dword [esp + 0x44]
jne 0x1007dddb
mov dword [esp + 0x38], ecx
mov edx, ecx
mov ecx, esi
call fcn.1006a044
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.10068866
mov edx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x78]
mov ecx, esi
call fcn.100695a1
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x5c]
push ebx
push eax
push dword [esp + 0x98]
mov ecx, edi
push 0x37
pop edx
call fcn.1005a4a8
add esp, 0x14
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x5c], ebx
jle 0x1007ded0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
add edx, ecx
mov dword [esp + 0x44], edx
mov eax, ebx
mov dword [esp + 0x54], ebx
mov edi, dword [esp + 0x98]
cmp dword [edi + eax + 0xc], ecx
mov edi, dword [esp + 0x10]
jl 0x1007deb3
mov ecx, dword [esp + 0x98]
push ebx
push edx
push dword [ecx + eax + 4]
mov edx, dword [ecx + eax]
push dword [ecx + eax + 8]
mov ecx, esi
call fcn.100687cc
mov edx, dword [esp + 0x54]
add esp, 0x10
cmp edx, eax
je 0x1007dea1
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, edi
call fcn.1005a4a8
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
inc ecx
inc edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], edx
mov esi, dword [esp + 0x5c]
inc esi
add eax, 0x18
cmp esi, dword [esp + 0x9c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
jl 0x1007de56
mov ecx, esi
call fcn.10069ff4
mov esi, eax
push esi
push dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x7c]
push 0x1f
pop edx
call fcn.1005a4a8
add esp, 0xc
mov ecx, edi
push ebx
push esi
push dword [esp + 0x90]
push 0x60
pop edx
call fcn.1005a4a8
mov edx, esi
mov esi, dword [esp + 0x48]
add esp, 0xc
mov ecx, esi
call fcn.1006a010
push dword [esp + 0x38]
mov edx, dword [esp + 0x78]
call fcn.1006a06f
pop ecx
mov ecx, dword [esp + 0x24]
call fcn.100869b8
mov edx, dword [esi + 0x48]
mov ecx, esi
lea eax, [edx + 1]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], edx
mov dword [esi + 0x48], eax
call fcn.10069ff4
push dword [esp + 0x38]
mov ecx, edi
push eax
push edx
push 0x2c
pop edx
mov dword [esp + 0x60], eax
call fcn.1005a4a8
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x70]
push dword [esp + 0x90]
push 0x46
pop edx
call fcn.1005a4a8
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x85], 1
call fcn.10068866
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.10068866
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007dfb6
push ebx
push dword [esp + 0x58]
mov ecx, edi
push dword [esp + 0x90]
push 0x3e
pop edx
call fcn.1005a4a8
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, ebx
mov dword [esp + 0x38], ebx
cmp dword [ecx], ebx
jle 0x1007e02a
mov ebx, dword [esp + 0x5c]
test eax, eax
mov eax, dword [esp + 0x58]
je 0x1007dff5
add eax, edx
push eax
push edx
push ebx
push 0x1d
pop edx
mov ecx, edi
call fcn.1005a4a8
mov edx, dword [esp + 0x44]
add esp, 0xc
test edx, edx
jne 0x1007e017
mov dl, 0x20
mov ecx, edi
call fcn.1005a7c5
jmp 0x1007e013
add eax, edx
push eax
mov eax, edx
imul eax, eax, 0x18
mov byte [esp + 0x88], 1
mov edx, dword [ecx + 8]
mov ecx, esi
mov edx, dword [eax + edx]
call fcn.10069482
pop ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x38], edx
cmp edx, dword [ecx]
jl 0x1007dfc8
xor ebx, ebx
push 0xfffffffffffffffa
push dword [esp + 0x7c]
push dword [ecx]
mov ecx, edi
push dword [esp + 0x64]
push dword [esp + 0x8c]
push 0x18
pop edx
call fcn.1005a4f9
mov eax, dword [edi + 0x1c]
add esp, 0x14
mov dword [esp + 0x78], eax
inc eax
push eax
push ebx
push eax
push 0x19
pop edx
mov ecx, edi
call fcn.1005a4a8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
add esp, 0xc
push dword [eax]
mov ecx, esi
push dword [esp + 0x80]
call fcn.1006888a
mov eax, dword [esp + 0x3c]
push ebx
push dword [esp + 0x8c]
inc eax
push eax
push 2
pop edx
mov ecx, edi
call fcn.1005a4a8
add esp, 0x14
mov ecx, edi
push ebx
push dword [esp + 0x70]
push dword [esp + 0x3c]
push 0x78
pop edx
call fcn.1005a4a8
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x54]
push dword [esp + 0x48]
push 2
pop edx
call fcn.1005a4a8
mov edx, dword [esp + 0x84]
add esp, 0xc
test edx, edx
js 0x1007e0d7
push dword [edi + 0x1c]
mov ecx, edi
call fcn.1005a797
pop ecx
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1007cfce
push ebx
push dword [esp + 0x68]
mov ecx, edi
push 1
push 7
pop edx
call fcn.1005a4a8
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x1007e11c
push ebx
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x90]
push 0x51
pop edx
call fcn.1005a4a8
add esp, 0xc
jmp 0x1007e133
mov ecx, dword [esp + 0x24]
call fcn.100869b8
mov edx, dword [esp + 0xc0]
mov ecx, edi
call fcn.1005a901
mov esi, dword [esp + 0x34]
push ebx
push dword [esp + 0x84]
lea eax, [esi + 1]
push eax
push 2
pop edx
mov ecx, edi
call fcn.1005a4a8
add esp, 0xc
xor edx, edx
push ebx
push dword [esp + 0x70]
inc edx
push ebx
mov ecx, edi
call fcn.1005a4a8
mov edi, dword [edi + 0x1c]
add esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push 1
push 7
pop edx
mov ecx, esi
call fcn.1005a4a8
mov eax, dword [esp + 0x40]
add esp, 0xc
inc eax
push ebx
push ebx
push eax
push 3
pop edx
mov ecx, esi
call fcn.1005a4a8
mov edx, dword [esp + 0x8c]
add esp, 0xc
mov ecx, esi
call fcn.1005a5e2
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x6c]
push 0x78
pop edx
call fcn.1005a4a8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.1005a4a8
mov ecx, dword [esp + 0x48]
add esp, 0xc
lea edx, [esp + 0x84]
call fcn.1007cf7f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
inc esi
push 8
push esi
call fcn.100698db
push edi
mov edi, dword [esp + 0x58]
push esi
push dword [esp + 0x58]
mov esi, dword [esp + 0x50]
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x40]
mov edx, edi
push ebx
push ebx
push dword [edi]
mov ecx, esi
call fcn.10079acf
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
inc eax
push eax
push 3
pop edx
call fcn.1005a4a8
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
add esp, 0x34
call fcn.1005a5e2
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1007cea7
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push dword [esp + 0x48]
push 3
pop edx
call fcn.1005a4a8
add esp, 0xc
jmp 0x1007e4ee
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x84]
mov ecx, edi
mov dword [esp + 0x64], ebx
call fcn.1007c616
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1007e3ac
mov edx, dword [eax + 0x40]
mov ecx, dword [esi]
call fcn.10078e46
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x40], eax
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x20]
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.1006f6d3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push dword [eax]
mov ecx, esi
push ebx
push dword [eax + 0x20]
call fcn.1006c104
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1007e330
mov edi, ebx
push 4
pop eax
test byte [ecx + 0x2c], al
jne 0x1007e2f7
test edi, edi
je 0x1007e2f5
mov ax, word [ecx + 0x28]
cmp ax, word [edi + 0x28]
jae 0x1007e2f7
mov edi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1007e2df
mov dword [esp + 0x50], edi
test edi, edi
mov edi, dword [esp + 0x4c]
je 0x1007e330
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
movzx ecx, word [edx + 0x28]
movsx eax, word [eax + 0x26]
cmp ecx, eax
jge 0x1007e330
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.1006fa3d
mov dword [esp + 0x5c], eax
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x58]
push dword [esp + 0x48]
push 0x27
pop edx
call fcn.1005a4a8
mov eax, dword [esp + 0x68]
add esp, 0xc
test eax, eax
je 0x1007e364
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
or edx, 0xffffffff
call fcn.1005a92f
pop ecx
pop ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x10]
push ebx
push dword [eax + 8]
push dword [esp + 0x48]
push 0x20
pop edx
call fcn.1005a4a8
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x48]
push 0x2d
pop edx
call fcn.1005a4a8
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x50]
call fcn.1007d1db
pop ecx
jmp 0x1007e4ad
mov eax, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x1b], bl
cmp dword [edi + 0x34], ebx
jne 0x1007e41e
lea edx, [esp + 0x40]
lea ecx, [esp + 0x84]
call fcn.1007c5ad
mov byte [esp + 0x1b], al
test al, al
je 0x1007e416
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
push ebx
call fcn.100674f7
mov edx, eax
pop ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edx
test edx, edx
je 0x1007e41e
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x38], 0
jne 0x1007e41e
cmp byte [esp + 0x1b], 1
mov eax, dword [edx + 8]
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x1007e41e
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1007cea7
mov al, byte [esp + 0x1b]
mov edx, dword [esp + 0x14]
push ebx
movzx eax, al
push eax
push ebx
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x54]
call fcn.1008608a
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1007e468
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov ecx, ebx
call fcn.100679c4
jmp 0x1007d398
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1007cfce
mov eax, dword [esp + 0x24]
cmp word [eax + 8], bx
jbe 0x1007e498
mov ecx, dword [esp + 0x10]
push ebx
push dword [eax + 0x18]
xor edx, edx
push ebx
inc edx
call fcn.1005a4a8
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, eax
call fcn.100869b8
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.1007cf7f
mov edx, dword [esp + 0x30]
push 8
push dword [esp + 0x70]
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.100698db
mov eax, dword [esp + 0x74]
push eax
push eax
push dword [esp + 0x58]
mov edx, edi
push ebx
push ebx
push ebx
push ebx
push dword [edi]
mov ecx, esi
call fcn.10079acf
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x48]
add esp, 0x28
call fcn.100679c4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
call fcn.1005a5e2
mov eax, dword [esp + 0x70]
cmp al, 3
jne 0x1007e50f
mov edx, 0x10193fac
mov ecx, esi
call fcn.10079fe9
cmp dword [esp + 0x28], 0
je 0x1007e53c
mov edx, 0x10193fdc
mov ecx, esi
call fcn.10079fe9
push dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov edx, edi
push dword [eax]
mov ecx, esi
push dword [esp + 0x18]
call fcn.1007a09e
add esp, 0xc
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
call fcn.1005a5e2
mov edx, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
jmp 0x1007d39b
mov ebx, dword [esp + 0x20]
xor edx, edx
inc edx
jmp 0x1007d39f
mov ebx, ecx
jmp 0x1007e573
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
xor edx, edx
inc edx
jmp 0x1007d39f
mov eax, ecx
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a3ae5
mov esp, ebp
pop ebp
ret