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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov dword [esp + 0x20], esi
xor ecx, ecx
mov dword [esp + 0x4c], edi
test byte [esi + 0x24], 0x80
movsx eax, word [esi + 0x2a]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x17], cl
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], eax
jne 0x10072848
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], 1
jmp 0x1007285d
mov ecx, esi
call fcn.1006805a
mov dword [esp + 0x30], eax
xor ecx, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x5c], eax
test dword [esi + 0x24], 0x800
je 0x10072a8b
mov eax, ecx
mov dword [esp + 0x18], ecx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
and dword [esp + 0x28], 0
cmp dword [esp + 0xc], 0
jle 0x10072a45
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
movzx esi, byte [edx + 0xc]
test esi, esi
je 0x10072a23
mov ecx, dword [esp + 0x20]
movsx eax, word [ecx + 0x28]
cmp dword [esp + 0x28], eax
je 0x10072a1b
movzx eax, word [edx + 0x10]
and eax, 0x60
mov dword [esp + 0x34], eax
je 0x100728db
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100728db
inc dword [esp + 0x2c]
jmp 0x10072a1f
cmp dword [ebp + 0x2c], 0
mov eax, dword [esp + 0x28]
je 0x100728fd
mov edi, dword [ebp + 0x2c]
cmp dword [edi + eax*4], 0
mov edi, dword [esp + 0x4c]
jge 0x100728fd
cmp dword [esp + 0x34], 0
je 0x10072a1b
mov cl, byte [ebp + 0x20]
cmp cl, 0xb
je 0x1007290a
movzx esi, cl
jmp 0x10072913
push 2
cmp esi, 0xb
pop ecx
cmove esi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
cmp esi, 5
jne 0x10072938
cmp dword [esp + 0x10], 0
jne 0x1007292d
cmp dword [edx + 4], 0
jne 0x1007294a
push 2
pop edx
mov esi, edx
mov dword [esp + 0x24], esi
jmp 0x1007294a
cmp dword [esp + 0x10], 0
je 0x1007294a
cmp dword [esp + 0x34], 0
je 0x10072a1b
mov edx, eax
call fcn.10068092
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add ecx, eax
mov eax, esi
mov dword [esp + 0x34], ecx
sub eax, 1
je 0x100729d0
sub eax, 1
je 0x100729c2
sub eax, 1
je 0x100729d0
push 2
pop edx
sub eax, edx
je 0x1007298a
xor eax, eax
push eax
push dword [ebp + 0x24]
push ecx
push 0x32
pop edx
mov ecx, ebx
call fcn.1004e5e4
jmp 0x10072a1b
xor eax, eax
push eax
push eax
push ecx
push 0x33
pop edx
mov ecx, ebx
call fcn.1004e5e4
push dword [esp + 0x34]
inc dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, edi
mov edx, dword [eax + 4]
call fcn.100624d1
mov edx, esi
mov ecx, ebx
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x10072a1b
cmp dword [edi + 0x74], 0
mov eax, edi
cmovne eax, dword [edi + 0x74]
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x38]
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [eax]
push str._s._s
push dword [esp + 0x50]
call fcn.10038011
add esp, 0x10
mov ecx, ebx
mov esi, eax
push dword [esp + 0x34]
push dword [esp + 0x28]
push 0x513
push 0x43
pop edx
call fcn.1004e5e4
push 0xfffffffffffffff9
mov edx, esi
mov ecx, ebx
call fcn.1004ed9e
xor edx, edx
mov ecx, ebx
inc edx
call fcn.1004eb34
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
add dword [esp + 0x1c], 0x14
inc edx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x28], edx
cmp edx, ecx
jl 0x10072894
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x10072a4d
test ecx, ecx
je 0x10072a87
test eax, eax
jne 0x10072a87
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x1007287a
test byte [esi + 0x24], 0x60
je 0x1007287a
mov edx, dword [ebp + 0x14]
mov ecx, edi
push esi
lea edx, [edx + 1]
call fcn.1007153b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
jmp 0x1007287a
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x64], ecx
push 4
pop eax
test ecx, ecx
je 0x10072bd9
mov eax, dword [edx + 0x20]
xor edx, edx
and eax, 0x200
or eax, edx
jne 0x10072bd6
mov eax, dword [ebp + 0x14]
cmp byte [ebp + 0x20], 0xb
not eax
mov dword [edi + 0x34], eax
movzx eax, byte [ebp + 0x20]
push 2
pop esi
cmovne esi, eax
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ecx], eax
jle 0x10072bc8
lea eax, [ecx + 8]
mov dword [esp + 0x24], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [esp + 0x3c], ecx
test edx, edx
je 0x10072afa
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.10072796
test eax, eax
je 0x10072ba8
cmp byte [esp + 0x17], 0
jne 0x10072b16
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x20]
inc eax
push eax
call fcn.100713c9
mov byte [esp + 0x17], 1
dec dword [edi + 0x38]
xor eax, eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x10072b39
mov ecx, dword [esp + 0x44]
push eax
push eax
call fcn.1005f025
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
cmp byte [edx + 0x51], 0
jne 0x10072b51
push 0x10
push ecx
push eax
push edi
call fcn.100627c0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x10072b62
mov ecx, dword [esp + 0x44]
call fcn.1005eeda
push 4
pop eax
cmp esi, eax
jne 0x10072b7c
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x24]
push eax
push 0xb
pop edx
call fcn.1004e5e4
jmp 0x10072b9d
push 2
pop eax
cmp esi, 5
mov edx, 0x113
push 3
cmove esi, eax
mov ecx, edi
xor eax, eax
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
push esi
call fcn.1006c1ca
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.1004e95b
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
inc edx
mov eax, dword [esp + 0x24]
add eax, 0x14
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp edx, dword [ecx]
jl 0x10072ada
mov esi, dword [esp + 0x20]
xor ecx, ecx
push 4
mov dword [edi + 0x34], ecx
pop eax
jmp 0x10072bdb
push 4
pop eax
xor ecx, ecx
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x10072c0c
cmp dword [edx], ecx
jne 0x10072bf0
xor edx, edx
mov byte [ebp + 0x20], al
mov dword [ebp + 0x30], edx
jmp 0x10072c0e
mov eax, dword [edx + 0x10]
mov dword [esp + 0x50], eax
test eax, eax
je 0x10072c0c
push ecx
push ecx
push ecx
push 0xb
pop edx
mov ecx, ebx
call fcn.1004e5e4
mov dword [esp + 0x58], eax
xor edx, edx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov eax, ecx
and eax, 0x6000
or eax, edx
jne 0x10072c2a
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
jmp 0x10072c94
and ecx, 0x2000
or ecx, edx
push edx
mov ecx, edi
push edx
je 0x10072c5e
push 0x7e
mov edx, esi
call fcn.10080587
mov dword [esp + 0x34], eax
test eax, eax
jne 0x10072c71
push eax
push eax
mov edx, esi
mov ecx, edi
call fcn.10070bb9
test eax, eax
jne 0x10072c71
mov dword [esp + 0x38], eax
jmp 0x10072c94
mov dword [esp + 0x3c], edx
mov edx, esi
call fcn.10070bb9
mov dword [esp + 0x38], eax
test eax, eax
je 0x10072c94
inc dword [edi + 0x2c]
xor ecx, ecx
mov eax, dword [edi + 0x2c]
push ecx
push eax
push ecx
push 0x45
pop edx
mov ecx, ebx
mov dword [esp + 0x44], eax
call fcn.1004e5e4
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x54], eax
cmp byte [ebp + 0x1c], 0
je 0x10072dbc
cmp dword [esp + 0x30], 0
jne 0x10072dbc
dec dword [edi + 0x38]
mov dl, byte [ebp + 0x20]
mov eax, dword [edi + 0x38]
movzx esi, byte [esi + 0x32]
mov dword [esp + 0x18], eax
cmp dl, 0xb
je 0x10072cc4
movzx esi, dl
jmp 0x10072ccd
push 2
cmp esi, 0xb
pop ecx
cmove esi, ecx
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10072ce7
cmp dword [ecx + 0x10], 0
jne 0x10072ce7
cmp dword [ecx + 8], 0
push 6
pop esi
push 4
pop ecx
cmove esi, ecx
cmp esi, 5
jne 0x10072d12
cmp dl, 5
je 0x10072d12
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp dword [eax + 8], ecx
je 0x10072d0e
push ecx
push ecx
push ecx
push 0xb
pop edx
mov ecx, ebx
call fcn.1004e5e4
inc eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10072d34
push ecx
push eax
push dword [ebp + 0x14]
mov ecx, ebx
push 0x35
pop edx
call fcn.1004e5e4
mov edx, 0x90
mov ecx, ebx
call fcn.1004eb34
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x1c]
push dword [ebp + 0xc]
push 0x20
pop edx
call fcn.1004e5e4
mov eax, esi
sub eax, 1
je 0x10072d79
sub eax, 1
je 0x10072d79
sub eax, 1
je 0x10072d79
sub eax, 1
je 0x10072e4a
sub eax, 1
je 0x10072e60
sub eax, 1
je 0x10072e36
push 2
pop eax
mov esi, eax
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.1006c32c
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.1004e95b
mov esi, dword [esp + 0x68]
test esi, esi
je 0x10072dbc
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xb
pop edx
call fcn.1004e5e4
lea edx, [esi - 1]
mov dword [esp + 0x7c], eax
mov ecx, ebx
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100735ba
mov dword [esp + 0x28], ecx
mov ecx, edx
mov edx, dword [ebp + 8]
cmp dword [edx + ecx*4], 0
je 0x100735a4
mov edx, dword [esp + 0x50]
cmp edx, eax
jne 0x10072eea
mov eax, dword [esp + 0x58]
mov ecx, ebx
inc eax
mov dword [esp + 0x40], eax
xor eax, eax
push eax
push eax
push eax
push 0xb
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x58]
mov ecx, ebx
mov dword [esp + 0x78], eax
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
jmp 0x10072ef4
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
xor eax, eax
push eax
push dword [esp + 0x28]
mov ecx, edi
call fcn.10082c19
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x24]
push eax
push 0xb
pop edx
call fcn.1004e5e4
jmp 0x10072d86
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10072eb3
cmp dword [edi + 0x74], 0
mov eax, edi
mov edx, dword [esp + 0x20]
mov ecx, edi
cmovne eax, dword [edi + 0x74]
push 0xffffffffffffffff
push 1
push 5
mov byte [eax + 0x14], 1
xor eax, eax
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x54]
call fcn.1006d7f4
xor eax, eax
mov ecx, ebx
push eax
push 1
push esi
push 0x52
pop edx
call fcn.1004e5e4
mov dword [esp + 0x60], 1
jmp 0x10072edd
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp dword [ecx + 8], edx
je 0x10072edd
cmp dword [edi + 0x74], edx
mov eax, edi
push 0xffffffffffffffff
cmovne eax, dword [edi + 0x74]
push edx
push dword [ebp + 0x10]
mov edx, ecx
mov ecx, edi
push dword [ebp + 0xc]
mov byte [eax + 0x14], 1
call fcn.1006da73
mov dword [esp + 0x6c], 1
jmp 0x10072d86
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x17], 0
jne 0x10072f16
test edx, edx
je 0x10072f03
cmp edx, eax
jne 0x10072f16
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, ebx
push eax
call fcn.100713c9
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [esp + 0x10]
cmp dword [ecx + 0x24], eax
je 0x10072f61
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
push dword [eax + edx*4]
xor eax, eax
push eax
push 0x48
pop edx
call fcn.1004e5e4
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0xc]
push ecx
push dword [esp + 0x44]
mov ecx, edi
mov edx, dword [eax + 0x24]
call fcn.10062dae
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x3c], 0
mov eax, dword [eax + edx*4]
inc eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 0x34]
mov edx, eax
cmp word [esp + 0x3c], ax
jae 0x10073042
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x18]
mov eax, dword [ecx + 4]
movzx eax, word [eax + esi*2]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cwde
cmp eax, 0xfffffffe
jne 0x10072fd1
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [ecx + 0x28]
mov ecx, edi
mov edx, dword [eax + edx + 4]
call fcn.100624d1
xor eax, eax
mov dword [edi + 0x34], eax
jmp 0x10073010
cmp eax, 0xffffffff
je 0x10072fff
mov edi, dword [esp + 0x1c]
cmp di, word [esi + 0x28]
mov edi, dword [esp + 0x4c]
je 0x10072fff
xor eax, eax
mov ecx, esi
push eax
push edx
mov edx, dword [esp + 0x24]
call fcn.10068092
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add eax, ecx
push eax
push 0x4e
jmp 0x10073008
xor eax, eax
push eax
push edx
push dword [ebp + 0x14]
push 0x4f
pop edx
mov ecx, ebx
call fcn.1004e5e4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
inc dword [esp + 0x18]
add dword [esp + 0x24], 0x14
inc edx
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x3c], eax
movzx eax, ax
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x18], eax
jl 0x10072f96
mov eax, dword [esp + 0x3c]
movzx edx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movzx eax, dx
mov ecx, ebx
push eax
push dword [esp + 0x50]
push 0x5b
pop edx
call fcn.1004e5e4
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0xc]
je 0x10073084
cmp dword [esp + 0x30], ecx
jne 0x10073084
cmp byte [ebp + 0x1c], 0
jne 0x10073084
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.1004e95b
jmp 0x10073599
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x10073074
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x10073099
movzx eax, dl
jmp 0x100730a2
push 2
cmp eax, 0xb
pop edx
cmove eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], ecx
jne 0x100730c0
mov edx, dword [ebp + 0x30]
push 6
pop eax
push 4
cmp dword [edx + 8], 0
pop edx
cmove eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jne 0x10073128
xor edx, edx
cmp dword [ecx + 0x14], edx
jne 0x10073128
cmp dword [esp + 0x30], ecx
jne 0x10073128
cmp eax, 5
jne 0x10073128
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x70], eax
je 0x100730fe
push edx
push edx
push 0x7e
mov edx, esi
mov ecx, edi
call fcn.10080587
test eax, eax
jne 0x10073128
xor edx, edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x70], eax
je 0x10073074
cmp dword [esi + 0x10], edx
jne 0x10073128
mov ecx, esi
call fcn.1007049e
test eax, eax
je 0x10073074
mov eax, dword [esp + 0xc]
mov ecx, ebx
movzx eax, word [eax + 0x32]
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x48]
add eax, dword [ebp + 0x10]
push eax
push 0x1c
pop edx
call fcn.1004e8c5
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
cmp eax, edx
jne 0x10073161
mov ecx, dword [esp + 0x48]
jmp 0x10073176
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.100639fd
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0xc]
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x10073187
cmp dword [esp + 0x18], 5
jne 0x100731cf
test byte [esi + 0x24], 0x80
jne 0x100733c3
xor eax, eax
mov edx, 0x87
push eax
mov eax, dword [esp + 0x14]
add eax, dword [ebp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.1004e5e4
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x100731d2
push ecx
push dword [esp + 0x44]
mov ecx, ebx
push dword [esp + 0x34]
push 0x35
pop edx
call fcn.1004e5e4
mov edx, 0x90
mov ecx, ebx
call fcn.1004eb34
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x10073537
sub eax, 1
je 0x10073537
sub eax, 1
je 0x10073537
sub eax, 1
je 0x10073524
dec eax
sub eax, 1
je 0x1007350d
mov eax, dword [ebx + 0x6c]
sub eax, dword [esp + 0x24]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
je 0x1007322a
cmp dword [edi + 0x74], 0
mov eax, edi
cmovne eax, dword [edi + 0x74]
inc dword [esp + 0x60]
mov byte [eax + 0x14], 1
cmp dword [esp + 0x34], 0
je 0x10073246
test ecx, ecx
je 0x10073246
push edx
push edx
push dword [ebp + 0xc]
mov edx, 0xa0
mov ecx, ebx
call fcn.1004e5e4
mov edx, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [esp + 0x10]
add eax, edx
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x10], eax
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x6c]
push dword [esp + 0x40]
push edx
push dword [ebp + 0xc]
mov edx, esi
push dword [esp + 0x54]
call fcn.1006d7f4
cmp dword [esp + 0x34], 0
je 0x1007329d
cmp dword [ebp + 0x18], 0
je 0x1007329d
xor eax, eax
mov edx, 0xa1
push eax
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.1004e5e4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100733b6
xor ecx, ecx
push ecx
push 1
push eax
push 0x52
pop edx
mov ecx, ebx
call fcn.1004e5e4
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xb
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x70], eax
call fcn.1004e95b
mov eax, dword [esp + 0xc]
xor edx, edx
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x28], ecx
cmp dword [eax + 0x24], edx
je 0x100732fe
mov eax, dword [esp + 0x48]
push edx
push ecx
dec eax
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.1004e5e4
cmp dword [esp + 0x1c], 0
jle 0x10073395
mov ecx, dword [esp + 0x24]
mov edx, ecx
mov ecx, ebx
call fcn.1004edea
push 5
mov esi, eax
lea edi, [esp + 0x88]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x84]
cmp al, 0x87
je 0x10073377
mov ecx, dword [esp + 0x8c]
movzx edx, al
test byte [edx + 0x100c1060], 1
cmovne ecx, dword [esp + 0x28]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0x98]
push dword [esp + 0x98]
push ecx
push dword [esp + 0x98]
mov ecx, ebx
call fcn.1004e6f4
mov edx, dword [esp + 0x86]
mov ecx, ebx
call fcn.1004eb34
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
dec eax
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test eax, eax
jg 0x1007330d
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
push dword [esp + 0xc]
mov ecx, edi
push 2
pop eax
mov edx, eax
call fcn.1006c222
mov edx, dword [esp + 0x70]
mov ecx, ebx
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov dword [esp + 0x6c], 1
jmp 0x10073546
cmp eax, edx
je 0x10073422
xor edi, edi
cmp di, word [edx + 0x32]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x4c]
jae 0x10073422
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x3c]
mov edx, dword [edx + 4]
lea eax, [edi + ecx]
push eax
mov ecx, esi
mov dx, word [edx + edi*2]
call fcn.10068072
cwde
mov ecx, ebx
push eax
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x10]
push eax
push 0x59
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x30]
inc edi
mov ecx, dword [esp + 0x2c]
movzx eax, word [edx + 0x32]
cmp edi, eax
jl 0x100733df
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x100731d2
movzx ecx, word [edx + 0x32]
mov eax, dword [eax + 0x38]
mov edx, dword [ebx + 0x6c]
and al, 3
add edx, ecx
mov dword [esp + 0x3c], 0x34
mov dword [esp + 0x64], edx
cmp al, 2
mov edx, dword [esp + 0x2c]
cmove edx, dword [esp + 0x48]
mov dword [esp + 0x80], edx
xor edx, edx
mov eax, edx
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x10073505
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
mov ecx, edi
mov edx, dword [edx + eax*4]
call fcn.1006c9ff
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
movzx ecx, word [ecx + eax*2]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + 0x32]
dec ecx
cmp eax, ecx
jne 0x100734ac
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], 0x35
add eax, dword [esp + 0x80]
mov ecx, esi
push 0xfffffffffffffffe
push edx
mov edx, dword [esp + 0x78]
push eax
push dword [esp + 0x70]
call fcn.10068092
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x4c]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
call fcn.1004e6f4
mov edx, 0x90
mov ecx, ebx
call fcn.1004eb34
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, ecx
jl 0x10073469
jmp 0x100731cf
mov ecx, dword [ebp + 0x18]
jmp 0x100731d4
mov eax, dword [esp + 0x10]
mov ecx, edi
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x10]
push esi
call fcn.10082c19
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x24]
push eax
push 0xb
pop edx
call fcn.1004e5e4
jmp 0x10073546
push dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.1006c222
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xc]
jne 0x10073577
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ecx
inc eax
push eax
push ecx
push 0xb
pop edx
mov ecx, ebx
call fcn.1004e5e4
mov edx, dword [esp + 0x78]
mov ecx, ebx
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x10073582
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.1004e95b
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x48]
je 0x10073599
push dword [esp + 0x5c]
mov edx, eax
mov ecx, edi
call fcn.10063a30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x10072de6
xor edx, edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100735e0
push edx
push eax
push edx
push 0xb
pop edx
mov ecx, ebx
call fcn.1004e5e4
mov edx, dword [esp + 0x7c]
mov ecx, ebx
call fcn.1004edea
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
cmp dword [esp + 0x60], 0
je 0x1007366c
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x2c]
push dword [esp + 0x40]
push 0x14
pop edx
call fcn.1004e5e4
cmp dword [esp + 0x30], 0
jne 0x1007364f
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1007362c
push eax
push dword [esp + 0x58]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x35
pop edx
call fcn.1004e5e4
mov edx, 0x90
mov ecx, ebx
call fcn.1004eb34
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x58]
push dword [ebp + 0xc]
push 0x20
pop edx
call fcn.1004e5e4
push esi
push 2
pop eax
mov edx, eax
mov ecx, edi
call fcn.1006c32c
jmp 0x10073661
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x58]
push eax
push 0xb
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.1004e95b
test byte [esi + 0x24], 0x80
jne 0x100736a3
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movsx eax, word [esi + 0x2c]
mov ecx, ebx
push eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
push 0x5b
pop edx
call fcn.1004e5e4
cmp byte [esp + 0x17], 0
jne 0x100736a3
xor eax, eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.100713c9
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c