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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x8c], edx
test byte [esi + 0x1c], 0x80
mov eax, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x38], eax
movsx eax, word [esi + 0x22]
mov dword [esp + 0x60], edx
mov byte [esp + 0x1b], dl
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], eax
jne 0x4477dd
mov dword [esp + 0x2c], edx
mov dword [esp + 0x7c], 1
jmp 0x4477f0
mov ecx, esi
call fcn.0043c2fb
mov dword [esp + 0x2c], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x7c], eax
test dword [esi + 0x1c], 0x800
mov cl, byte [ebp + 0x20]
mov dword [esp + 0x5c], ecx
je 0x447a4b
mov eax, edx
mov dword [esp + 0xc], edx
mov ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
and dword [esp + 0x30], 0
cmp dword [esp + 0x58], 0
jle 0x447959
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 4]
add edx, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 4]
and ecx, 0xf
mov dword [esp + 0x20], ecx
je 0x447935
movsx eax, word [esi + 0x20]
cmp dword [esp + 0x30], eax
je 0x447931
movzx eax, word [edx + 0xe]
and eax, 0x60
mov dword [esp + 0x34], eax
je 0x447874
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x447874
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc], edx
jmp 0x447939
cmp dword [ebp + 0x2c], 0
mov eax, dword [esp + 0x30]
je 0x447896
mov edi, dword [ebp + 0x2c]
cmp dword [edi + eax*4], 0
mov edi, dword [esp + 0x44]
jge 0x447896
cmp dword [esp + 0x34], 0
je 0x447931
cmp byte [esp + 0x5c], 0xb
je 0x4478c5
mov ecx, dword [esp + 0x5c]
movzx ecx, cl
mov dword [esp + 0x20], ecx
cmp ecx, 5
jne 0x4478d1
cmp dword [esp + 0x10], 0
jne 0x4478bc
xor ecx, ecx
cmp word [edx + 0xc], cx
jne 0x4478df
push 2
pop ecx
mov dword [esp + 0x20], ecx
jmp 0x4478df
cmp ecx, 0xb
jne 0x4478a8
push 2
pop ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x10], 0
je 0x4478df
cmp dword [esp + 0x34], 0
je 0x447931
mov edx, eax
mov ecx, esi
call fcn.0043c333
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
sub eax, 1
je 0x4479fd
sub eax, 1
je 0x4479ef
sub eax, 1
je 0x4479fd
push 2
pop edx
sub eax, edx
je 0x4479a4
xor eax, eax
push eax
push dword [ebp + 0x24]
push ecx
push 0x32
pop edx
mov ecx, ebx
call fcn.00420222
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x1c], 0x10
inc ecx
cmp ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
jl 0x44782a
mov ecx, dword [esp + 0x28]
test edx, edx
jne 0x447965
test ecx, ecx
je 0x447a47
test eax, eax
jne 0x447a47
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x447814
test byte [esi + 0x1c], 0x60
je 0x447814
mov edx, dword [ebp + 0x14]
mov ecx, edi
push esi
lea edx, [edx + 1]
call fcn.00446429
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x28]
jmp 0x447814
xor eax, eax
push eax
push eax
push ecx
push 0x33
pop edx
mov ecx, ebx
call fcn.00420222
mov ecx, dword [esp + 0x48]
add esp, 0xc
inc dword [esp + 0x28]
mov esi, eax
mov edx, dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.0043be66
mov edx, eax
mov ecx, edi
call fcn.0043557b
pop ecx
mov edx, esi
mov ecx, ebx
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x3c]
jmp 0x447931
cmp dword [edi + 0x78], 0
mov eax, edi
cmovne eax, dword [edi + 0x78]
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esi]
push str._s._s
push dword [esp + 0x44]
call fcn.00407677
push dword [esp + 0x44]
mov ecx, ebx
mov esi, eax
push dword [esp + 0x34]
push 0x513
push 0x45
pop edx
call fcn.00420222
add esp, 0x1c
mov edx, esi
mov ecx, ebx
push 0xfffffffffffffffa
call fcn.00420a51
pop ecx
xor edx, edx
mov ecx, ebx
inc edx
call fcn.004207cf
jmp 0x4479e6
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x24], edx
test edx, edx
je 0x447b97
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x447b97
mov eax, dword [ebp + 0x14]
cmp byte [esp + 0x5c], 0xb
not eax
mov dword [edi + 0x34], eax
movzx eax, cl
push 2
pop ecx
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
cmp dword [edx], eax
jle 0x447b92
lea eax, [edx + 0xc]
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [esp + 0x70], ecx
test edx, edx
je 0x447abf
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.00447706
pop ecx
test eax, eax
je 0x447b70
cmp byte [esp + 0x1b], 0
jne 0x447ada
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, ebx
push eax
call fcn.00446249
pop ecx
mov byte [esp + 0x1b], 1
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
call fcn.00431dda
pop ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], eax
cmp byte [ecx + 0x57], 0
jne 0x447b1a
push 0x10
push dword [esp + 0x2c]
push eax
push edi
call fcn.00435866
mov eax, dword [esp + 0x80]
add esp, 0x10
push eax
push dword [esp + 0x3c]
call fcn.004319f8
mov eax, dword [esp + 0x3c]
pop ecx
pop ecx
push 4
pop ecx
cmp eax, ecx
jne 0x447b3d
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0042027b
jmp 0x447b65
push 2
pop ecx
cmp eax, 5
mov edx, 0x113
push 3
cmove eax, ecx
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
push dword [ecx]
mov ecx, edi
push eax
call fcn.00440ab6
add esp, 0x10
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.004205fd
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x447a9e
xor eax, eax
mov dword [edi + 0x34], eax
jmp 0x447b99
xor eax, eax
mov edx, dword [ebp + 0x30]
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
test edx, edx
je 0x447cb7
cmp dword [edx], eax
jne 0x447bdb
mov cl, byte [edx + 0x14]
xor eax, eax
test cl, cl
cmovne eax, edx
mov dword [ebp + 0x30], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x5c], eax
jmp 0x447cb7
test ecx, ecx
je 0x447cb7
mov ecx, dword [ecx + 0x14]
inc eax
test ecx, ecx
jne 0x447be3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
imul eax, eax, 0xa
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], 1
push eax
call fcn.0040555b
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4488d8
mov eax, dword [esp + 0x24]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x24], ebx
mov edx, eax
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edx], ecx
je 0x447c7d
cmp dword [edx + 0x1c], 0
je 0x447c76
mov eax, dword [esi + 8]
jmp 0x447c4a
cmp eax, dword [edx + 0x1c]
je 0x447c4e
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x447c41
cmp byte [ecx + ebx], 0
jne 0x447c74
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov byte [ecx + ebx], 1
mov dword [esi + edi*8], eax
mov eax, edi
mov edi, esi
mov esi, dword [esp + 0x3c]
mov dword [edi + eax*8 + 4], ecx
inc eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x447c32
mov eax, dword [esi + 8]
mov edx, ecx
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x44]
test eax, eax
je 0x447cb7
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea ecx, [ebx + ecx*8]
mov ebx, dword [esp + 0x24]
cmp byte [edx + ebx], 0
jne 0x447cab
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ecx, 8
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x447c9d
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x94], eax
mov eax, ecx
and eax, 0x6000
or eax, edx
jne 0x447cdf
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], edx
jmp 0x447d56
and ecx, 0x2000
or ecx, edx
push edx
mov ecx, edi
push edx
je 0x447d1b
push 0x80
mov edx, esi
call fcn.00457266
add esp, 0xc
mov dword [esp + 0x64], eax
test eax, eax
jne 0x447d30
push eax
push eax
mov edx, esi
mov ecx, edi
call fcn.00445a5e
pop ecx
pop ecx
test eax, eax
jne 0x447d30
mov dword [esp + 0x50], eax
jmp 0x447d56
mov dword [esp + 0x6c], edx
mov edx, esi
call fcn.00445a5e
mov dword [esp + 0x58], eax
pop ecx
pop ecx
test eax, eax
je 0x447d56
inc dword [edi + 0x2c]
xor ecx, ecx
mov eax, dword [edi + 0x2c]
push ecx
push eax
push ecx
push 0x47
pop edx
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.00420222
add esp, 0xc
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x6c], eax
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x24], 6
je 0x447fce
cmp dword [esp + 0x2c], 0
jne 0x447fce
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0x2a]
cmp cl, 0xb
je 0x447d93
movzx edx, cl
mov dword [esp + 0x20], edx
jmp 0x447da0
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x447df5
mov edx, ecx
xor eax, eax
cmp dword [edx], eax
je 0x447dbb
cmp dword [edx + 0x1c], eax
je 0x447dbb
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x447dab
mov dword [esp + 0x60], edx
test edx, edx
je 0x447dd9
cmp byte [edx + 0x14], 0
push 4
pop eax
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp edx, ecx
je 0x447df9
xor eax, eax
push eax
push eax
push eax
push 9
pop edx
mov ecx, ebx
call fcn.00420222
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
jmp 0x447dfd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
cmp eax, 5
jne 0x447e2b
cmp byte [esp + 0x5c], al
je 0x447e2b
xor eax, eax
cmp dword [esi + 8], eax
je 0x447e2b
test ecx, ecx
jne 0x447e2b
push eax
push eax
push eax
push 9
pop edx
mov ecx, ebx
call fcn.00420222
add esp, 0xc
inc eax
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x447e55
push eax
push dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x35
pop eax
mov edx, eax
call fcn.00420222
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.004207cf
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x20]
push dword [ebp + 0xc]
push 0x1f
pop edx
call fcn.00420222
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, edx
sub eax, 1
je 0x447e95
sub eax, 1
je 0x447e95
sub eax, 1
je 0x447e95
sub eax, 1
je 0x447ef0
sub eax, 1
je 0x447efc
sub eax, 1
je 0x447edc
push 2
pop eax
mov edx, eax
push esi
mov ecx, edi
call fcn.00440bff
pop ecx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.004205fd
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x447f94
cmp dword [esp + 0x60], edx
je 0x447f94
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00420222
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x447fce
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
xor eax, eax
push eax
push esi
mov ecx, edi
call fcn.00459df2
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0042027b
jmp 0x447e9e
cmp dword [esp + 0x50], 0
je 0x447f5b
cmp dword [edi + 0x78], 0
mov eax, edi
push 0xffffffffffffffff
cmovne eax, dword [edi + 0x78]
mov edx, esi
push 1
push 5
mov ecx, edi
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 + 0x84]
call fcn.00442260
add esp, 0x24
xor eax, eax
mov ecx, ebx
push eax
push 1
push dword [esp + 0x58]
push 0x56
pop edx
call fcn.00420222
add esp, 0xc
mov dword [esp + 0x88], 1
jmp 0x447f84
xor ecx, ecx
cmp dword [esi + 8], ecx
je 0x447f84
cmp dword [edi + 0x78], ecx
mov eax, edi
push 0xffffffffffffffff
cmovne eax, dword [edi + 0x78]
mov edx, esi
push ecx
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
mov byte [eax + 0x14], 1
call fcn.0044250a
add esp, 0x10
mov dword [esp + 0x8c], 1
jmp 0x447e9e
cmp dword [esp + 0x84], 0
je 0x447fd1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00420222
mov edx, dword [esp + 0x90]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x98], eax
lea edx, [edx - 1]
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x30]
cmp dword [esp + 0x34], 0
je 0x447fe7
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x447ff3
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4487d5
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 8]
cmp dword [esi + ecx*4], 0
mov esi, dword [esp + 0x3c]
je 0x44878b
test edx, edx
je 0x448052
mov ecx, dword [ebp + 0x30]
mov edx, eax
call fcn.00459ddc
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x448052
cmp eax, dword [ebp + 0x30]
jne 0x448052
mov edx, ecx
mov ecx, ebx
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x38]
dec eax
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x48], eax
mov dword [edi + 0x38], eax
jne 0x448078
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, ebx
push eax
call fcn.00446249
pop ecx
mov byte [esp + 0x1b], 1
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x24], edx
je 0x4480ce
mov ecx, dword [ebp + 8]
push edx
push dword [ecx + eax*4]
mov ecx, ebx
push edx
push 0x4b
pop edx
call fcn.00420222
mov eax, dword [ebp + 0x14]
add esp, 8
not eax
mov ecx, edi
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x10]
push dword [esp + 0x4c]
mov edx, dword [eax + 0x24]
call fcn.00435e5f
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x4c], eax
xor eax, eax
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
movzx eax, word [ecx + 0x34]
cmp bx, ax
mov edx, eax
mov ebx, dword [esp + 0x78]
jae 0x4481c6
mov edx, dword [esp + 0x4c]
inc edx
xor eax, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
mov eax, dword [ecx + 4]
movzx eax, word [eax + esi*2]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
cwde
cmp eax, 0xfffffffe
jne 0x448146
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [ecx + 0x28]
mov ecx, edi
mov edx, dword [edx + eax + 8]
call fcn.0043557b
xor eax, eax
pop ecx
mov dword [edi + 0x34], eax
jmp 0x448188
cmp eax, 0xffffffff
je 0x448174
mov edi, dword [esp + 0x54]
cmp di, word [esi + 0x20]
mov edi, dword [esp + 0x44]
je 0x448174
xor eax, eax
mov ecx, esi
push eax
push edx
mov edx, dword [esp + 0x5c]
call fcn.0043c333
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add eax, ecx
push eax
push 0x51
jmp 0x44817d
xor eax, eax
push eax
push edx
push dword [ebp + 0x14]
push 0x52
pop edx
mov ecx, ebx
call fcn.00420222
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
inc dword [esp + 0x14]
add dword [esp + 0x1c], 0x14
inc edx
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x24], eax
movzx eax, ax
mov dword [esp + 0x40], edx
cmp dword [esp + 0x14], eax
jl 0x44810a
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
movzx edx, ax
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x4481ca
mov eax, dword [esp + 0x24]
push eax
movzx eax, dx
mov ecx, ebx
push eax
mov eax, dword [esp + 0x54]
inc eax
push eax
push 0x61
pop edx
call fcn.00420222
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x448208
cmp dword [esp + 0x2c], ecx
jne 0x448208
cmp byte [ebp + 0x1c], 0
jne 0x448208
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004205fd
jmp 0x448787
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x4481f8
mov edx, dword [esp + 0x5c]
cmp dl, 0xb
je 0x44821e
movzx eax, dl
jmp 0x448227
push 2
cmp eax, 0xb
pop edx
cmove eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
test edx, edx
je 0x448244
cmp byte [edx + 0x14], 0
push 6
pop eax
push 4
pop edx
cmove eax, edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jne 0x4482b8
xor edx, edx
cmp dword [ecx + 0x14], edx
jne 0x4482b8
cmp dword [esp + 0x2c], ecx
jne 0x4482b8
cmp eax, 5
jne 0x4482b8
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x90], eax
je 0x44828b
push edx
push edx
push 0x80
mov edx, esi
mov ecx, edi
call fcn.00457266
add esp, 0xc
test eax, eax
jne 0x4482b8
xor edx, edx
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x90], eax
je 0x4481f8
cmp dword [esi + 0x30], edx
jne 0x4482b8
mov ecx, esi
call fcn.004452e2
test eax, eax
je 0x4481f8
mov eax, dword [esp + 0xc]
mov ecx, ebx
movzx eax, word [eax + 0x32]
push eax
mov eax, dword [esp + 0x50]
inc eax
push eax
push dword [esp + 0x50]
push dword [esp + 0x64]
push 0x1b
pop edx
call fcn.00420537
mov dword [esp + 0x2c], eax
add esp, 0x10
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x2c]
jne 0x4482f1
mov ecx, dword [esp + 0x4c]
inc ecx
jmp 0x448302
mov edx, dword [esp + 0x7c]
mov ecx, edi
call fcn.00436d48
mov ecx, eax
mov eax, dword [esp + 0xc]
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x40], ecx
jne 0x448313
cmp dword [esp + 0x14], 5
jne 0x44835f
test byte [esi + 0x1c], 0x80
jne 0x448579
xor eax, eax
mov edx, 0x8e
push eax
push ecx
push dword [esp + 0x60]
mov ecx, ebx
call fcn.00420222
mov ecx, dword [ebp + 0x18]
add esp, 0xc
test ecx, ecx
je 0x448362
push ecx
push dword [esp + 0x4c]
mov ecx, ebx
push dword [esp + 0x48]
push 0x35
pop eax
mov edx, eax
call fcn.00420222
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.004207cf
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x14]
sub eax, 1
je 0x448700
sub eax, 1
je 0x448700
sub eax, 1
je 0x448700
sub eax, 1
je 0x4486f4
dec eax
sub eax, 1
je 0x4486de
mov eax, dword [ebx + 0x6c]
sub eax, dword [esp + 0x1c]
cmp dword [esp + 0x50], 0
mov dword [esp + 0x14], eax
je 0x4483bd
cmp dword [edi + 0x78], 0
mov eax, edi
cmovne eax, dword [edi + 0x78]
inc dword [esp + 0x88]
mov byte [eax + 0x14], 1
cmp dword [esp + 0x64], 0
je 0x4483dc
test ecx, ecx
je 0x4483dc
push edx
push edx
push dword [ebp + 0xc]
mov edx, 0xa7
mov ecx, ebx
call fcn.00420222
add esp, 0xc
push dword [esp + 0x58]
mov eax, dword [esp + 0x30]
mov edx, esi
cmp dword [esp + 0x10], eax
mov ecx, edi
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x8c]
push dword [esp + 0x54]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x84]
call fcn.00442260
add esp, 0x24
cmp dword [esp + 0x64], 0
je 0x44843b
cmp dword [ebp + 0x18], 0
je 0x44843b
xor eax, eax
mov edx, 0xa8
push eax
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00420222
add esp, 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x448569
xor ecx, ecx
push ecx
push 1
push eax
push 0x56
pop edx
mov ecx, ebx
call fcn.00420222
add esp, 0xc
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00420222
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x90], eax
call fcn.004205fd
mov eax, dword [esp + 0xc]
xor edx, edx
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x24], edx
je 0x4484a6
push edx
push ecx
push dword [esp + 0x54]
mov ecx, ebx
push 0x32
pop edx
call fcn.00420222
add esp, 0xc
cmp dword [esp + 0x14], 0
jle 0x448544
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, ebx
call fcn.00420a9d
push 5
mov esi, eax
lea edi, [esp + 0xa0]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x9c]
cmp al, 0x8e
je 0x448522
mov ecx, dword [esp + 0xa4]
movzx edx, al
test byte [edx + 0x48ce98], 1
cmovne ecx, dword [esp + 0x20]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push ecx
push dword [esp + 0xb0]
mov ecx, ebx
call fcn.0042034c
mov edx, dword [esp + 0xb2]
add esp, 0x14
mov ecx, ebx
call fcn.004207cf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
dec eax
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
test eax, eax
jg 0x4484b5
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push dword [esp + 0xc]
mov ecx, edi
push 2
pop eax
mov edx, eax
call fcn.00440b06
mov edx, dword [esp + 0x94]
pop ecx
mov ecx, ebx
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov dword [esp + 0x8c], 1
jmp 0x448710
mov edx, dword [esp + 0x2c]
cmp eax, edx
je 0x4485db
xor edi, edi
cmp di, word [edx + 0x32]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x44]
jae 0x4485db
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
lea eax, [ecx + esi]
mov ecx, edi
push eax
mov eax, dword [edx + 4]
mov dx, word [eax + esi*2]
call fcn.0043c313
cwde
mov ecx, ebx
push eax
push dword [esp + 0x60]
push 0x5e
pop edx
call fcn.00420222
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x40]
inc esi
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x448599
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x448362
movzx ecx, word [edx + 0x32]
mov eax, dword [eax + 0x38]
mov edx, dword [ebx + 0x6c]
and al, 3
add edx, ecx
mov dword [esp + 0x54], 0x34
cmp al, 2
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
lea eax, [eax + 1]
cmove edx, eax
mov dword [esp + 0x90], edx
xor edx, edx
mov eax, edx
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x4486d6
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
mov ecx, edi
mov edx, dword [edx + eax*4]
call fcn.0044133d
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x68]
push 0x35
mov ecx, dword [edi + 4]
movzx edx, word [ecx + eax*2]
movzx ecx, word [edi + 0x32]
mov edi, dword [esp + 0x58]
dec ecx
cmp eax, ecx
mov dword [esp + 0x58], edi
mov eax, edi
pop edi
cmove eax, edi
cmp dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
cmovne eax, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x68]
push 0xfffffffffffffffe
push esi
mov esi, dword [esp + 0x44]
push eax
mov dword [esp + 0x30], ecx
push ecx
mov ecx, esi
call fcn.0043c333
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x64]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
call fcn.0042034c
add esp, 0x14
lea edx, [edi + 0x5b]
mov ecx, ebx
call fcn.004207cf
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x68], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, ecx
jl 0x448627
jmp 0x44835f
mov ecx, dword [ebp + 0x18]
jmp 0x448364
push dword [esp + 0x58]
mov edx, dword [ebp + 0x30]
mov ecx, edi
push dword [esp + 0x10]
push esi
call fcn.00459df2
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.0042027b
jmp 0x448710
push dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.00440b06
pop ecx
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004205fd
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
inc ecx
cmp eax, ecx
je 0x448738
push dword [esp + 0x7c]
mov edx, eax
mov ecx, edi
call fcn.00436d7e
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x448787
cmp dword [esp + 0x80], 0
je 0x448787
mov eax, dword [eax + 0x10]
test eax, eax
je 0x44875c
xor ecx, ecx
cmp dword [eax], ecx
je 0x44875c
cmp dword [eax + 0x1c], ecx
jne 0x448787
mov edx, dword [esp + 0x74]
mov ecx, ebx
lea edx, [edx + 1]
call fcn.0042027b
mov edx, dword [esp + 0x80]
mov ecx, ebx
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x34], 0
je 0x4487b5
mov eax, dword [esp + 0x70]
inc eax
mov ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x28]
jge 0x4487d5
mov eax, dword [esp + 0x30]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4487c1
mov eax, dword [esp + 0x28]
inc ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4487d5
mov edx, dword [ebp + 0x30]
jmp 0x448013
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4487fd
mov edx, eax
mov ecx, ebx
call fcn.0042027b
mov edx, dword [esp + 0x98]
mov ecx, ebx
call fcn.00420a9d
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
cmp dword [esp + 0x88], 0
je 0x448891
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x24]
push dword [esp + 0x58]
push 0x11
pop edx
call fcn.00420222
add esp, 0xc
cmp dword [esp + 0x2c], 0
jne 0x44887b
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x448854
push eax
push dword [esp + 0x70]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x35
pop eax
mov edx, eax
call fcn.00420222
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.004207cf
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x70]
push dword [ebp + 0xc]
push 0x1f
pop edx
call fcn.00420222
add esp, 0xc
mov ecx, edi
push esi
push 2
pop eax
mov edx, eax
call fcn.00440bff
pop ecx
jmp 0x448886
mov edx, dword [esp + 0x6c]
mov ecx, ebx
call fcn.0042027b
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.004205fd
test byte [esi + 0x1c], 0x80
jne 0x4488cc
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movsx eax, word [esi + 0x24]
mov ecx, ebx
push eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
push 0x61
pop edx
call fcn.00420222
add esp, 0xc
cmp byte [esp + 0x1b], 0
jne 0x4488cc
xor eax, eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.00446249
pop ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret