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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x495a81
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x460], ebx
jne case.0x431f8d.4
cmp dword [esi + 0x3d4], ebx
je 0x431ab8
mov edi, dword [esi + 0x188]
mov eax, dword [esi + 0x210]
push 0x4ad110
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.0041fe40
cmp eax, ebx
jge 0x43193a
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x6c]
call fcn.004181f0
jmp 0x431940
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
push ecx
call dword [0x49948c]
mov ebx, dword [esp + 0xc8]
test eax, eax
jne 0x4319be
mov ebp, dword [esi + 0x450]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
lea edi, [ebp + ebp]
sub eax, edi
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0xc4]
mov ecx, eax
mov eax, dword [esp + 0x28]
sar ecx, 1
cmp edx, eax
jl 0x4319be
mov eax, edx
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x4319be
cmp ebx, ecx
jl 0x4319be
add edi, ecx
cmp ebx, edi
jge 0x4319be
mov eax, ebx
sub eax, ecx
cdq
idiv ebp
mov dword [esi + 0x210], eax
mov edi, dword [esi + 0x188]
push 0x4ad278
mov ecx, edi
call fcn.0041fe40
test eax, eax
jge 0x4319e7
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.004181f0
jmp 0x4319ed
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov ebp, dword [0x4994a4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0xc]
push ebx
lea edx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x54], eax
call ebp
test eax, eax
je 0x431a2c
mov dword [esi + 0x210], 0
mov edi, dword [esi + 0x188]
push 0x4ad268
mov ecx, edi
call fcn.0041fe40
test eax, eax
jge 0x431a55
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.004181f0
jmp 0x431a5b
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
push ebx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x54], eax
call ebp
test eax, eax
je 0x431a94
mov dword [esi + 0x210], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x210]
cmp ecx, eax
je case.0x431f8d.4
mov ecx, dword [esi + 0x188]
push 0
call fcn.004202e0
jmp 0x432693
mov eax, dword [esi + 0xd30]
cmp eax, 7
ja case.0x431f8d.4
jmp dword [eax*4 + 0x4326bc]
mov ecx, dword [esi + 0x210]
mov edi, dword [esi + 0x184]
mov dword [esp + 0x10], ecx
push 0x4ad110
mov ecx, edi
call fcn.0041fe40
cmp eax, ebx
jge 0x431afd
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x5c]
call fcn.004181f0
jmp 0x431b03
mov edx, dword [edi + 0x24]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
mov dword [esp + 0x34], edx
push eax
call dword [0x49948c]
test eax, eax
jne 0x431ba0
mov edi, dword [esi + 0x450]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0xc4]
lea edx, [edi + edi*2]
shl edx, 1
sub ecx, edx
add ecx, ebp
mov ebp, dword [esp + 0x28]
shr ecx, 1
cmp eax, ebp
jl 0x431b8f
cmp eax, dword [esp + 0x30]
jge 0x431b8f
mov eax, dword [esp + 0xc8]
cmp eax, ecx
jl 0x431b8f
add edx, ecx
cmp eax, edx
jae 0x431b8f
sub eax, ecx
cdq
idiv edi
mov edi, eax
mov eax, dword [esi + 0x210]
cmp edi, eax
je 0x431b89
push 0x4ab730
mov ecx, esi
call fcn.004420b0
mov dword [esi + 0x210], edi
mov ecx, dword [esi + 0x184]
push ebx
call fcn.004202e0
jmp case.0x431f8d.4
mov dword [esi + 0x210], 0xffffffff
xor ebp, ebp
mov ebx, 0x49a6f4
mov edi, dword [esi + 0x184]
mov eax, dword [ebx]
push eax
mov ecx, edi
call fcn.0041fe40
test eax, eax
jge 0x431bd8
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
call fcn.004181f0
jmp 0x431bde
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x48], eax
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call dword [0x4994a4]
test eax, eax
je 0x431c1e
mov dword [esi + 0x210], ebp
add ebx, 4
inc ebp
cmp ebx, 0x49a728
jb 0x431bb1
mov eax, dword [esi + 0x210]
mov edi, dword [esp + 0x10]
cmp eax, edi
je case.0x431f8d.4
cmp eax, 0xffffffff
je 0x431c63
mov ecx, dword [eax*4 + 0x49a6f4]
push ecx
push 0x4ad254
push esi
call fcn.00442320
add esp, 0xc
mov ecx, esi
push 0x4ab730
call fcn.004420b0
cmp edi, 0xffffffff
je 0x431c7b
mov edx, dword [edi*4 + 0x49a6f4]
mov ecx, dword [esi + 0x184]
push edx
call fcn.004202e0
mov eax, dword [esi + 0x210]
cmp eax, 0xffffffff
je case.0x431f8d.4
mov eax, dword [eax*4 + 0x49a6f4]
mov ecx, dword [esi + 0x184]
push eax
call fcn.004202e0
jmp case.0x431f8d.4
mov edi, dword [esi + 0x194]
push 0x4ad154
mov ecx, edi
call fcn.0041fe40
cmp eax, ebx
jge 0x431cc7
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x5c]
call fcn.004181f0
jmp 0x431ccd
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
push ecx
call dword [0x49948c]
test eax, eax
jne 0x431daf
mov ebp, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push ebp
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4994a4]
test eax, eax
je case.0x431f8d.4
mov ebx, dword [esi + 0x2b0]
mov edi, dword [esi + 0x448]
mov ecx, ebx
mov edx, dword [esp + 0x2c]
imul ecx, edi
add ecx, edx
cmp ebp, ecx
jge case.0x431f8d.4
mov eax, ebp
mov ecx, dword [esi + 0x2ac]
sub eax, edx
cdq
idiv edi
mov edi, eax
mov eax, ecx
cdq
idiv ebx
mov eax, dword [0x4aa0d8]
sub edi, edx
add edi, ecx
cmp edi, eax
jge case.0x431f8d.4
cmp ecx, edi
je case.0x431f8d.4
push 0x4ab730
mov ecx, esi
call fcn.004420b0
mov ecx, esi
mov dword [esi + 0x2ac], edi
call fcn.00429360
sub esp, 0x10
mov edx, dword [0x4aa0d0]
mov ebx, esp
xor eax, eax
mov edi, dword [0x4aa0d4]
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00402ee0
jmp case.0x431f8d.4
mov edi, dword [esi + 0x2b0]
test edi, edi
jle case.0x431f8d.4
mov ecx, dword [esi + 0x2ac]
mov eax, ecx
cdq
idiv edi
sub ecx, edx
mov edx, dword [0x4afb38]
add ecx, ebx
mov dword [esp + 0x10], edx
mov edi, ecx
push ebx
lea eax, [esp + 0x14]
push 0x4ad148
push eax
mov dword [esp + 0xc4], 0
call fcn.00483e7d
mov eax, dword [0x4aa0d8]
add esp, 0xc
cmp edi, eax
jge 0x431eb9
cmp dword [esi + 0x2ac], edi
je 0x431eb9
mov ecx, dword [esp + 0x10]
mov ebp, dword [esi + 0x194]
push ecx
mov ecx, ebp
call fcn.0041fe40
test eax, eax
jge 0x431e38
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
call fcn.004181f0
jmp 0x431e3e
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x7c], edx
push eax
lea edx, [esp + 0x74]
push ecx
push edx
call dword [0x4994a4]
test eax, eax
je 0x431eb9
mov ecx, esi
mov dword [esi + 0x2ac], edi
call fcn.00429360
sub esp, 0x10
mov edx, dword [0x4aa0d0]
mov ebp, esp
xor eax, eax
mov edi, dword [0x4aa0d4]
xor ecx, ecx
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00402ee0
push 0x4ab730
mov ecx, esi
call fcn.004420b0
lea ecx, [esp + 0x10]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0048542a
mov edi, dword [esi + 0x2b0]
inc ebx
cmp ebx, edi
jl 0x431dbd
jmp case.0x431f8d.4
mov edi, dword [esi + 0x1c]
call dword [0x4994a8]
cmp eax, edi
mov eax, dword [esi + 0x390]
jne 0x4320da
mov edi, dword [esi + 0x194]
lea eax, [eax + eax*4]
mov ecx, edi
mov eax, dword [eax*4 + 0x4ab9b4]
push eax
call fcn.0041fe40
cmp eax, ebx
jge 0x431f2a
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
jmp 0x431f30
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov edi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x390]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [eax*4 + 0x4ab9b4]
push ecx
mov ecx, dword [esi + 0x194]
push edx
call fcn.0041ffe0
sub esp, 0x10
mov ecx, dword [esp + 0x68]
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, esi
call fcn.00402ee0
mov ecx, dword [esi + 0x390]
lea eax, [ecx - 3]
cmp eax, 7
ja case.0x431f8d.4
jmp dword [eax*4 + 0x4326dc]
mov ebp, dword [esp + 0x10]
mov eax, ebp
sub edi, ebp
cdq
sub eax, edx
sub edi, ebx
mov edx, eax
mov eax, dword [esp + 0xc4]
sar edx, 1
sub eax, edx
sub eax, ebx
shl eax, 8
cdq
idiv edi
mov dword [esi + ecx*4 + 0x2b8], eax
mov eax, dword [esi + 0x390]
lea ecx, [esi + eax*4 + 0x2b8]
mov eax, dword [esi + eax*4 + 0x2b8]
test eax, eax
jle 0x431fdc
cmp eax, 0x100
jge 0x431fe8
xor edx, edx
test eax, eax
setle dl
dec edx
and eax, edx
jmp 0x431fed
mov eax, 0x100
mov dword [ecx], eax
xor ebx, ebx
mov edi, str._n_b_n_t_n
mov eax, dword [edi]
mov ecx, dword [esi + 0x390]
cmp eax, ecx
jne 0x43200a
push ebx
mov ecx, esi
call fcn.00442970
add edi, 4
inc ebx
cmp edi, 0x49a80c
jl 0x431ff6
jmp case.0x431f8d.4
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub edi, ecx
cdq
sub eax, edx
sub edi, ebx
mov edx, eax
mov eax, dword [esp + 0xc4]
sar edx, 1
sub eax, edx
sub eax, ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv edi
test eax, eax
mov dword [esi + 0x2c4], eax
jle 0x43205d
cmp eax, 0x64
jge 0x43206a
mov dword [esi + 0x2c4], eax
jmp case.0x431f8d.4
xor eax, eax
mov dword [esi + 0x2c4], eax
jmp case.0x431f8d.4
mov eax, 0x64
mov dword [esi + 0x2c4], eax
jmp case.0x431f8d.4
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub edi, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xc4]
sar eax, 1
sub eax, edx
sub edi, ebx
add eax, ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv edi
add eax, 0x78
test eax, eax
mov dword [esi + 0x2d4], eax
jle 0x4320bd
cmp eax, 0x78
jge 0x4320ca
mov dword [esi + 0x2d4], eax
jmp case.0x431f8d.4
xor eax, eax
mov dword [esi + 0x2d4], eax
jmp case.0x431f8d.4
mov eax, 0x78
mov dword [esi + 0x2d4], eax
jmp case.0x431f8d.4
mov dword [esp + 0x38], eax
mov dword [esi + 0x390], 0xffffffff
xor ebx, ebx
mov ebp, 0x4ab8d8
mov eax, dword [ebp]
test eax, eax
je 0x432175
mov edi, dword [esi + 0x194]
push eax
mov ecx, edi
call fcn.0041fe40
test eax, eax
jge 0x432120
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
jmp 0x432126
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x88], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x8c], eax
push ecx
lea eax, [esp + 0x84]
push edx
push eax
call dword [0x4994a4]
test eax, eax
je 0x432175
mov dword [esi + 0x390], ebx
add ebp, 4
inc ebx
cmp ebp, str.SCRN
jl 0x4320ef
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x390]
cmp ecx, eax
je case.0x431f8d.4
cmp eax, 0xffffffff
je 0x4321af
mov ecx, dword [eax*4 + 0x4ab8d8]
push ecx
mov ecx, dword [esi + 0x194]
call fcn.004202e0
mov eax, dword [esi + 0x390]
cmp eax, 0xffffffff
je case.0x431f8d.4
mov edx, dword [eax*4 + 0x4ab8d8]
mov ecx, dword [esi + 0x194]
push edx
call fcn.004202e0
jmp case.0x431f8d.4
mov edi, dword [esi + 0x1c]
call dword [0x4994a8]
cmp eax, edi
jne 0x4322b2
mov edi, dword [esi + 0x198]
push 0x4aaf28
mov ecx, edi
call fcn.0041fe40
cmp eax, ebx
jge 0x432213
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
jmp 0x432219
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov edi, dword [esi + 0x7f8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 0xc]
mov eax, dword [esp + 0xc8]
sub ecx, ebx
sub eax, dword [esi + 0x3b8]
mov ebx, dword [esi + 0x3a0]
shl ecx, 1
imul eax, edi
sub ecx, edx
mov dword [esp + 0x34], ebp
cdq
add ecx, ebp
idiv ecx
mov edx, dword [esi + 0x39c]
add eax, ebx
xor ebx, ebx
test eax, eax
setle bl
dec ebx
and ebx, eax
mov eax, edi
sub eax, edx
cmp ebx, eax
jl 0x432277
mov ebx, eax
cmp dword [esi + 0x398], ebx
je 0x4322a7
sub esp, 0x10
mov edx, dword [0x4aa0d0]
mov ebp, esp
xor eax, eax
mov edi, dword [0x4aa0d4]
xor ecx, ecx
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00402ee0
mov dword [esi + 0x398], ebx
jmp case.0x431f8d.4
xor ebp, ebp
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x398]
mov edx, dword [esi + 0x39c]
mov edi, eax
sub edi, ecx
cmp edi, edx
jge 0x4322d2
sub eax, ecx
jmp 0x4322d4
mov eax, edx
cmp ebp, eax
jge case.0x431f8d.4
mov edx, dword [0x4afb38]
mov dword [esp + 0x10], edx
push ebp
lea eax, [esp + 0x14]
push 0x4ad24c
push eax
mov dword [esp + 0xc4], 1
call fcn.00483e7d
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 0x198]
add esp, 0xc
push ecx
mov ecx, edi
call fcn.0041fe40
cmp eax, ebx
jge 0x432330
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
jmp 0x432336
mov edx, dword [edi + 0x24]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa4], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xac], edx
push eax
lea edx, [esp + 0xa4]
push ecx
push edx
call dword [0x4994a4]
test eax, eax
je 0x4323d4
mov eax, dword [esi + 0x398]
mov ecx, dword [esi + 0x394]
add eax, ebp
cmp ecx, eax
je 0x4323c6
sub esp, 0x10
mov edx, dword [0x4aa0d0]
mov ebx, esp
xor eax, eax
mov edi, dword [0x4aa0d4]
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00402ee0
push 0x4ab730
mov ecx, esi
call fcn.004420b0
xor ebx, ebx
mov ecx, dword [esi + 0x398]
add ecx, ebp
mov dword [esi + 0x394], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0048542a
inc ebp
jmp 0x4322b4
cmp dword [0x4bb004], ebx
jne case.0x431f8d.4
mov ecx, dword [esi + 0x1f8]
cmp ecx, ebx
je 0x432426
mov eax, dword [esp + 0xc8]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push eax
call dword [edx + 0xc]
jmp case.0x431f8d.4
cmp dword [esi + 0xd2c], 4
jne case.0x431f8d.4
mov ecx, dword [esi + 0x20c]
mov edi, dword [esi + 0x13c]
mov dword [esp + 0x10], ecx
push 0x4ad110
mov ecx, edi
mov dword [esi + 0x20c], 0xffffffff
call fcn.0041fe40
cmp eax, ebx
jge 0x432473
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
jmp 0x432479
mov edx, dword [edi + 0x24]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov edi, dword [esi + 0x814]
mov ebx, dword [esi + 0x450]
mov dword [esp + 0x54], edx
mov edx, edi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
imul edx, ebx
mov eax, dword [eax + 0xc]
sub eax, edx
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0xc4]
sar ecx, 1
cmp eax, ebp
jl 0x4324d4
cmp eax, dword [esp + 0x54]
jge 0x4324d4
mov eax, dword [esp + 0xc8]
cmp eax, ecx
jl 0x4324d4
imul edi, ebx
add edi, ecx
cmp eax, edi
jge 0x4324d4
sub eax, ecx
cdq
idiv ebx
mov dword [esi + 0x20c], eax
mov eax, dword [esi + 0x814]
xor ebp, ebp
xor ebx, ebx
cmp eax, ebp
jle 0x43265f
mov ecx, dword [0x4afb38]
mov dword [esp + 0x38], ecx
push ebx
lea edx, [esp + 0x3c]
push 0x4ad238
push edx
mov dword [esp + 0xc4], 2
call fcn.00483e7d
mov edi, dword [esi + 0x13c]
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0041fe40
cmp eax, ebp
jge 0x43253a
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x18]
jmp 0x432540
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x9c], eax
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call dword [0x4994a4]
test eax, eax
je 0x43258f
mov dword [esi + 0x20c], ebx
cmp ebx, dword [esi + 0x814]
jge 0x4325ac
cmp ebx, ebp
jl 0x4325ac
mov eax, dword [esi + 0x80c]
je 0x4325ae
mov ecx, ebx
mov eax, dword [eax]
dec ecx
jne 0x4325a5
jmp 0x4325ae
xor eax, eax
add eax, 8
lea ecx, [esp + 0x6c]
push eax
push 0x4ad224
push ecx
call fcn.004856e7
mov eax, dword [eax]
mov edi, dword [esi + 0x13c]
push eax
mov ecx, edi
call fcn.0041fe40
cmp eax, ebp
jge 0x4325eb
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
lea eax, [esp + 0x4c]
jmp 0x4325f1
mov edx, dword [edi + 0x24]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x68], edx
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call dword [0x4994a4]
lea ecx, [esp + 0x6c]
mov edi, eax
call fcn.0048542a
cmp edi, ebp
je 0x43263c
mov dword [esi + 0x20c], ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0048542a
mov eax, dword [esi + 0x814]
inc ebx
cmp ebx, eax
jl 0x4324e6
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20c]
cmp ecx, eax
je case.0x431f8d.4
mov ecx, dword [esi + 0x13c]
push ebp
call fcn.004202e0
cmp dword [esi + 0x20c], 0xffffffff
je case.0x431f8d.4
cmp dword [esi + 0x180], ebp
je 0x432693
test byte [esi + 0x1b0], 2
je case.0x431f8d.4
push 0x4ab730
mov ecx, esi
call fcn.004420b0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret 0xc