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

Disassembly:
sub esp, 0xe0
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x100]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov ebx, ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x321c]
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov edi, dword [esp + 0xf8]
test al, al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x54], 0
mov dword [esp + 0x60], 0
je 0x461766
mov al, byte [edi + 0x2e4c]
test al, al
je 0x461766
mov al, byte [ebp + 0x30]
test al, al
je 0x461766
mov ecx, dword [edi + 0x2e54]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ecx
jmp 0x461808
mov eax, dword [ebx + 0x336c]
mov edx, dword [esp + 0xfc]
push edx
lea ecx, [eax + 8]
call fcn.00475560
xor esi, esi
lea ecx, [edi + 0x2a14]
test eax, eax
je 0x4617a8
test al, 1
je 0x46179d
cmp dword [ecx - 0x10], 0x16
jne 0x46179d
mov edx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], edx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x461784
mov al, byte [esp + 0x54]
test al, al
jne 0x461808
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x461808
mov ebx, dword [ebx + 0x336c]
mov eax, dword [esp + 0xfc]
push eax
lea ecx, [ebx + 8]
call fcn.00475560
and eax, dword [edi + 0x2e00]
je 0x461808
xor esi, esi
lea ecx, [edi + 0x2a14]
mov edx, 5
test eax, eax
je 0x461808
test al, 1
je 0x4617fd
cmp dword [ecx - 0x10], edx
je 0x4617fd
mov ebx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ebx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x4617e5
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x461829
mov al, byte [esp + 0x54]
test al, al
jne 0x461829
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x46182e
mov byte [esp + 0x1b], 0
mov ebx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x14]
xor esi, esi
mov edx, dword [esp + 0xfc]
mov ecx, dword [ecx + 0x336c]
cmp ebx, esi
sete al
mov byte [esp + 0x5a], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
push edx
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x90], eax
call fcn.004712c0
cmp ebx, esi
mov dword [esp + 0x68], eax
jg 0x46187b
xor eax, eax
jmp 0x46188f
cmp ebx, dword [ebp + 0x58]
jge 0x46188c
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x46188c
mov eax, dword [eax + ebx*4]
jmp 0x46188f
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x58]
cmp ebx, ecx
mov dword [esp + 0x50], edx
jge 0x4618f5
cmp ebx, esi
jg 0x4618b6
mov dword [esp + 0x5c], esi
jmp 0x4618cd
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4618c6
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x5c], eax
jmp 0x4618cd
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x5c], edx
lea eax, [ebx + 1]
cmp eax, esi
jg 0x4618da
mov dword [esp + 0x40], esi
jmp 0x4618f5
cmp eax, ecx
jge 0x4618ee
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x4618ee
mov eax, dword [edx + eax*4]
mov dword [esp + 0x40], eax
jmp 0x4618f5
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 0
test byte [eax + 0x335c], 1
je 0x461938
lea eax, [ebx + 1]
cmp eax, ecx
jge 0x461938
cmp eax, esi
jg 0x461919
xor eax, eax
jmp 0x46192c
cmp eax, ecx
jge 0x461929
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x461929
mov eax, dword [edx + eax*4]
jmp 0x46192c
mov eax, dword [ebp + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x84], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xf4]
mov edx, dword [eax + 0x3368]
test edx, edx
je 0x461a69
cmp ebx, ecx
jge 0x461a69
test ebx, ebx
jg 0x461961
xor ebx, ebx
jmp 0x461970
mov eax, dword [ebp + 4]
test eax, eax
je 0x46196d
mov ebx, dword [eax + ebx*4]
jmp 0x461970
mov ebx, dword [ebp + 0x18]
test ebx, ebx
setne al
test al, al
je 0x461a69
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2d70]
mov ebx, dword [esp + 0x104]
imul eax, edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebx
add eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x335c], al
je 0x461a4d
mov edx, ecx
test byte [edx + 0x3360], al
je 0x461a07
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x6c], eax
jmp 0x461a17
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.00461330
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3368]
imul edx, dword [edi + 0x2d70]
add ebx, edx
mov dword [esp + 0x104], ebx
jmp 0x461a70
mov ebx, dword [esp + 0x104]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov cl, byte [edx + 0x31ca]
test cl, cl
je 0x461d99
lea ecx, [eax*4 + 4]
mov dword [esp + 0x48], ecx
mov ecx, 1
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
cmp eax, dword [esp + 0x40]
jge 0x461d99
mov edx, dword [ebp + 0x3c]
lea ecx, [edx + eax]
mov dword [esp + 0x34], ecx
mov dl, byte [ecx]
cmp dl, byte [ecx + 1]
jne 0x461b0d
mov ecx, dword [esp + 0x40]
dec ecx
cmp eax, ecx
je 0x461b0d
mov edx, dword [ebp + 0x38]
lea ecx, [edx + eax]
movsx edx, byte [edx + eax]
test edx, edx
jl 0x461ad9
cmp edx, 0x20
jl 0x461b0d
movsx ecx, byte [ecx + 1]
test ecx, ecx
jl 0x461ae6
cmp ecx, 0x20
jl 0x461b0d
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
cmp edx, ecx
je 0x461b01
mov ecx, dword [esp + 0x68]
lea ecx, [eax + ecx + 1]
cmp ecx, edx
je 0x461b0d
cmp ecx, dword [ebp + 0x2c]
je 0x461b0d
mov edx, dword [ebp + 0x34]
dec edx
cmp eax, edx
jne 0x461d77
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x50]
shl eax, 2
mov eax, dword [ecx + eax]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ebx
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov dword [esp + 0x1c], eax
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x110]
cmp eax, ecx
jg 0x461d5f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x108]
cmp eax, ecx
jl 0x461d5f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [edx]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x28]
add eax, edx
cmp eax, ecx
jl 0x461b8b
mov edx, dword [ebp + 0x2c]
cmp eax, edx
jge 0x461b8b
cmp ecx, edx
mov byte [esp + 0x64], 1
jne 0x461b90
mov byte [esp + 0x64], 0
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x461ba8
cmp eax, ecx
jl 0x461ba8
mov ecx, dword [ebp + 0x50]
mov byte [esp + 0x4c], 1
cmp eax, ecx
jl 0x461bad
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x4c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004611e0
mov ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x30]
mov al, byte [edx + ecx]
cmp al, 9
jne 0x461c40
mov al, byte [esp + 0x1b]
test al, al
je 0x461c0f
mov al, byte [esp + 0x13]
test al, al
je 0x461c05
cmp dword [edi + 0x2e3c], 1
jne 0x461c0f
mov eax, dword [edi + 0x2dac]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
jmp 0x461d5f
movsx eax, al
test eax, eax
jl 0x461c53
cmp eax, 0x20
jge 0x461c53
mov byte [esp + 0x13], 0
jmp 0x461c0f
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x461ca3
mov al, byte [esp + 0x13]
test al, al
je 0x461d5f
mov al, byte [edi + 0x2e40]
test al, al
je 0x461d5f
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
js 0x461d5f
lea eax, [edx*4]
mov dword [esp + 0x3c], eax
jmp 0x461cce
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
add edx, ecx
cmp byte [edx + eax], 0x20
jne 0x461d3e
mov al, byte [esp + 0x1b]
test al, al
je 0x461d43
mov al, byte [esp + 0x13]
test al, al
je 0x461cf2
cmp dword [edi + 0x2e3c], 1
jne 0x461d43
mov ebp, dword [ebp + 0x44]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ebp]
mov edx, dword [esp + 0x2c]
add ecx, edx
add eax, ebx
mov edx, dword [esi]
mov ecx, dword [ebp + ecx*4 + 4]
mov ebp, dword [edi + 0x2dac]
push ebp
add ecx, ebx
sub esp, 0x10
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x118]
jmp 0x461d43
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
jle 0x461cca
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
add eax, edx
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
inc eax
add edx, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x31ca]
test cl, cl
jne 0x461aa2
mov al, byte [edx + 0x31ca]
test al, al
je 0x461e0f
mov ecx, dword [edi + 0x2da0]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x110]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x128]
push edx
push ebp
mov edx, dword [esp + 0x134]
sub esp, 0x10
mov eax, esp
push edi
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x150]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x154]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
call fcn.004614a0
mov ecx, dword [esp + 0x11c]
mov al, byte [esp + 0x5a]
test ecx, ecx
mov byte [esp + 0x13], al
jg 0x461e2c
mov dword [esp + 0x2c], 0
jmp 0x461e48
cmp ecx, dword [ebp + 0x58]
jge 0x461e41
mov eax, dword [ebp + 4]
test eax, eax
je 0x461e41
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x2c], ecx
jmp 0x461e48
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp edx, eax
mov dword [esp + 0x30], edx
jge 0x46284a
mov eax, dword [esp + 0x68]
lea ecx, [edx + eax]
mov eax, dword [ebp + 0x3c]
add eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov cl, byte [eax]
cmp cl, byte [eax + 1]
jne 0x461ec4
mov eax, dword [esp + 0x40]
dec eax
cmp edx, eax
je 0x461ec4
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + edx]
movsx ecx, byte [ecx + edx]
test ecx, ecx
jl 0x461e93
cmp ecx, 0x20
jl 0x461ec4
movsx eax, byte [eax + 1]
test eax, eax
jl 0x461ea0
cmp eax, 0x20
jl 0x461ec4
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
je 0x461eb8
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, eax
je 0x461ec4
cmp ecx, dword [ebp + 0x2c]
je 0x461ec4
mov eax, dword [ebp + 0x34]
dec eax
cmp edx, eax
jne 0x462839
mov ecx, dword [esp + 0x2c]
lea eax, [ecx*4]
mov ecx, dword [ebp + 0x44]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edx*4 + 4]
sub eax, dword [esp + 0x50]
add eax, ebx
inc edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
sub ecx, edx
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x110]
cmp eax, ecx
jg 0x46282c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x108]
cmp edx, eax
jl 0x46282c
mov ecx, dword [esp + 0x34]
xor eax, eax
mov al, byte [ecx]
lea edx, [eax + eax*4]
shl edx, 4
lea ecx, [edx + edi]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
mov ecx, dword [ecx + 0x208]
mov dword [esp + 0x34], ecx
lea ecx, [eax + eax*4 + 0x23]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x461f71
cmp edx, ecx
jl 0x461f71
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x3344]
jge 0x461f71
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x461f71
mov ecx, dword [edi + 0x2de0]
mov dword [esp + 0x34], ecx
cmp edx, dword [ebp + 0x28]
jl 0x46220b
mov ecx, dword [ebp + 0x2c]
cmp edx, ecx
jge 0x46220b
cmp dword [ebp + 0x28], ecx
je 0x462207
mov cl, byte [edi + 0x2d78]
mov byte [esp + 0x7c], 1
test cl, cl
je 0x461fa7
mov edx, dword [edi + 0x2d80]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x4c]
cmp ecx, 0xffffffff
je 0x461fc3
cmp edx, ecx
jl 0x461fc3
mov ecx, dword [ebp + 0x50]
mov byte [esp + 0x64], 1
cmp edx, ecx
jl 0x461fc8
mov byte [esp + 0x64], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
push ebp
push ecx
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x64]
push edi
push eax
call fcn.004611e0
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x30]
mov al, byte [eax + ecx]
cmp al, 9
jne 0x462215
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x31ca]
test al, al
jne 0x462064
mov al, byte [esp + 0x1b]
test al, al
je 0x462038
mov al, byte [esp + 0x13]
test al, al
je 0x46202e
cmp dword [edi + 0x2e3c], 1
jne 0x462038
mov eax, dword [edi + 0x2dac]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x462084
mov al, byte [esp + 0x13]
test al, al
je 0x462171
mov al, byte [edi + 0x2e40]
test al, al
je 0x4620a4
mov al, byte [edi + 0x2d98]
test al, al
je 0x462098
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x462171
mov al, byte [edi + 0x2e40]
test al, al
je 0x462171
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x8c]
cdq
idiv ecx
mov edx, dword [esp + 0x30]
imul eax, ecx
mov ecx, dword [ebp + 0x44]
inc edx
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + edx*4]
jge 0x462171
lea edx, [eax + ebx]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
cmp eax, dword [ecx + edx*4]
jl 0x46214d
test eax, eax
jle 0x46214d
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0x1c]
sete cl
push ecx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x2d64]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x114]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
push esi
call fcn.004612b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
add edx, ecx
add eax, ecx
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
inc edx
cmp eax, dword [ecx + edx*4]
jl 0x4620f1
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x46271d
mov cl, byte [esp + 0x13]
test cl, cl
je 0x462190
cmp eax, 1
jne 0x46271d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
add ecx, 4
mov dword [esp + 0xc0], eax
mov eax, dword [edi + 0x2d6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
dec edx
sub ecx, eax
mov eax, dword [edi + 0x2d64]
mov dword [esp + 0xc8], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xc0]
push eax
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.004608c0
add esp, 0x18
jmp 0x46271d
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x7c], 0
jmp 0x461fab
movsx ecx, al
test ecx, ecx
jl 0x46241d
cmp ecx, 0x20
jge 0x46241d
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
cmp dword [ecx + 0x31bc], 0x20
jge 0x4623b9
push eax
call fcn.0045db80
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
add esp, 4
mov al, byte [edx + 0x31ca]
test al, al
jne 0x462286
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea ebx, [edi + 0xd70]
push ebx
mov ecx, esi
call dword [edx + 0x68]
mov ebp, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 0x2d68]
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, ecx
mov dword [esp + 0x90], ebx
sub ebp, eax
mov eax, dword [esp + 0x20]
add ebp, eax
mov dword [esp + 0x9c], edx
lea eax, [ecx + eax + 1]
inc ebx
mov dword [esp + 0x9c], eax
dec eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [ebp + 1]
mov dword [esp + 0xd8], ebp
sub esp, 0x10
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0xe8]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xb0], ebx
inc ebx
push ecx
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x48]
dec eax
push edx
mov dword [esp + 0xbc], ebp
mov ebp, dword [esi]
push ebx
mov dword [esp + 0xc4], eax
call fcn.004608a0
add esp, 4
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [edi + 0x2d68]
add eax, ebx
push eax
lea eax, [edi + 0xd70]
push eax
mov eax, dword [esp + 0xcc]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xe0]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x4c]
mov ebx, dword [esp + 0x104]
mov ebp, dword [esp + 0x118]
jmp 0x46271d
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov byte [esp + 0x5b], 0
mov cl, byte [eax + 0x31bc]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x5a], cl
mov ecx, dword [esp + 0x48]
push eax
push ecx
mov ecx, dword [edi + 0x2d68]
lea eax, [esp + 0x62]
push 1
push eax
mov eax, dword [esp + 0x30]
add ecx, eax
lea eax, [edi + 0xd70]
push ecx
mov ecx, dword [esp + 0x30]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
jmp 0x46271d
mov edx, dword [esp + 0x80]
mov al, byte [edx + 0x22c]
test al, al
je 0x4624e5
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov cl, byte [eax + 0x31ca]
test cl, cl
je 0x462492
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebp + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x50]
jmp 0x4624e5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebp + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x462509
mov al, byte [esp + 0x13]
test al, al
je 0x46271d
mov al, byte [edi + 0x2e40]
test al, al
je 0x46271d
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
js 0x46271d
lea eax, [edx*4]
mov dword [esp + 0x38], eax
jmp 0x462534
mov edx, dword [esp + 0x2c]
add ecx, edx
mov edx, dword [ebp + 0x38]
cmp byte [ecx + edx], 0x20
jne 0x4626f8
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x462677
mov cl, byte [edi + 0x2d98]
test cl, cl
je 0x462565
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x34], ecx
mov cl, byte [esp + 0x13]
test cl, cl
je 0x462576
cmp eax, 1
jne 0x462677
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x44]
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x38]
mov ebp, dword [ecx + edx]
lea eax, [ecx + eax*4 + 4]
mov dword [esp + 0x88], eax
mov eax, dword [eax]
add eax, ebp
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
mov dl, byte [eax + 0x31ca]
test dl, dl
jne 0x462619
mov al, byte [esp + 0x1b]
test al, al
je 0x462619
mov al, byte [esp + 0x13]
test al, al
je 0x4625ce
cmp dword [edi + 0x2e3c], 1
jne 0x462619
mov edx, dword [edi + 0x2dac]
mov eax, ebx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
add eax, dword [ecx + edx]
mov edx, dword [esp + 0x88]
mov ecx, ebx
mov ebx, dword [edx]
mov edx, dword [esi]
add ecx, ebx
mov ebx, dword [esp + 0x48]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0x50]
sub ebp, eax
mov eax, dword [edi + 0x2d64]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
add ebp, ebx
lea ecx, [eax + 1]
lea edx, [ebp + 1]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0xec], edx
sub esp, 0x10
mov edx, dword [esi]
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x100]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov al, byte [esp + 0x13]
test al, al
je 0x4626fd
mov al, byte [edi + 0x2e40]
test al, al
je 0x4626fd
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ecx]
test eax, eax
mov dword [esp + 0x88], eax
jle 0x4626fd
cdq
idiv dword [esp + 0x8c]
test edx, edx
jne 0x4626fd
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
sete cl
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
add eax, ebx
mov edx, esp
push eax
mov eax, dword [esp + 0x118]
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x2d64]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.004612b0
jmp 0x4626fd
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
jle 0x462530
mov eax, dword [ebp + 0x4c]
cmp eax, 0xffffffff
je 0x4627ac
mov cl, byte [edi + 0x2df0]
test cl, cl
je 0x4627ac
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jl 0x4627ac
cmp ecx, dword [ebp + 0x50]
jge 0x4627ac
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [edx + ecx + 1]
mov edx, dword [esi]
mov dword [esp + 0x70], ecx
inc ecx
mov dword [esp + 0x78], ecx
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x462783
mov ecx, dword [edi + 0x2de0]
jmp 0x462787
mov ecx, dword [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x84]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x88]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x8c]
jmp 0x462824
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x225]
test al, al
je 0x46282c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xac], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [edx + ecx + 1]
mov edx, dword [esi]
mov dword [esp + 0xa4], ecx
inc ecx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x34]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0xb8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
inc edx
cmp edx, eax
mov dword [esp + 0x30], edx
jl 0x461e5c
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [edx + 0x336c]
mov ecx, dword [ecx + 0x498]
shl eax, cl
cmp eax, 0x100
mov dword [esp + 0x38], eax
jge 0x46297a
lea edx, [edi + 0x2d04]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x44], eax
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
jg 0x46295a
test eax, eax
jge 0x4628c0
cmp ecx, dword [esp + 0x40]
jge 0x4628b8
mov edx, dword [ebp + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x38]
test edx, ecx
mov ecx, dword [esp + 0x3c]
je 0x4628b8
mov eax, ecx
mov dword [esp + 0x44], eax
test eax, eax
jl 0x462949
cmp ecx, dword [esp + 0x40]
jge 0x4628d5
mov edx, dword [ebp + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x38]
test edx, ecx
jne 0x462945
mov ecx, dword [ebp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
sub eax, edx
mov edx, dword [esp + 0x44]
add eax, ebx
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov edx, dword [edi + 0x2d68]
add ecx, ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x10c]
add ecx, edx
lea edx, [esp + 0x108]
mov dword [esp + 0x94], ecx
add ecx, 3
lea eax, [esp + 0x90]
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.004b8330
or eax, 0xffffffff
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
inc ecx
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jle 0x462895
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
shl eax, 1
add edx, 0xc
cmp eax, 0x100
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], edx
jl 0x46287a
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x31ca]
test al, al
jne 0x4629f4
mov edx, dword [edi + 0x2da0]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x110]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x128]
push eax
push ebp
mov eax, dword [esp + 0x134]
sub esp, 0x10
mov ecx, esp
push edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x150]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x154]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.004614a0
cmp dword [edi + 0x2e60], 1
jne 0x462a39
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ecx + 0x32b4]
imul eax, dword [edi + 0x2d74]
mov edi, dword [edi + 0x2e5c]
add eax, ebx
push edi
sub esp, 0x10
lea ecx, [eax + 1]
mov edi, esp
mov dword [edi], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret 0x2c