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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x45c731
cmp eax, 4
jl 0x45c731
push 4
push edx
add ecx, 0x1c
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
cmp eax, edi
je 0x45c752
cmp eax, 8
jl 0x45c752
push 4
add ecx, 4
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
cmp dword [esp + 0x1c], edi
mov esi, 8
mov dword [esp + 0x20], edi
jle 0x45c803
mov ecx, dword [esp + 0x28]
add ecx, 0x38
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c792
lea edx, [esi + 4]
cmp eax, edx
jl 0x45c792
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
add esi, 4
test ecx, ecx
jne 0x45c7a4
xor eax, eax
jmp 0x45c7ac
mov eax, dword [eax + 0x14]
sub eax, ecx
sar eax, 2
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45c7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
add edi, 4
mov dword [ecx + 0x10], edi
jmp 0x45c7f0
cmp ecx, edi
jbe 0x45c7d9
call fcn.0049eacd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00469800
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x45c770
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c825
lea edx, [esi + 4]
cmp eax, edx
jl 0x45c825
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jle 0x45c8e4
mov ecx, dword [esp + 0x28]
add ecx, 0x68
lea edx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c86e
cmp eax, dword [esp + 0x24]
jl 0x45c86e
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
add dword [esp + 0x24], 4
add esi, 4
test eax, eax
jne 0x45c885
xor ecx, ecx
jmp 0x45c88d
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x45c8b1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
add edi, 4
mov dword [ecx + 0x10], edi
jmp 0x45c8d1
cmp eax, edi
jbe 0x45c8ba
call fcn.0049eacd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00469800
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x45c84d
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c906
lea edx, [esi + 4]
cmp eax, edx
jl 0x45c906
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jle 0x45c9c5
mov ecx, dword [esp + 0x28]
add ecx, 0x50
lea edx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c94f
cmp eax, dword [esp + 0x24]
jl 0x45c94f
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
add dword [esp + 0x24], 4
add esi, 4
test eax, eax
jne 0x45c966
xor ecx, ecx
jmp 0x45c96e
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x45c992
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
add edi, 4
mov dword [ecx + 0x10], edi
jmp 0x45c9b2
cmp eax, edi
jbe 0x45c99b
call fcn.0049eacd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00469800
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x45c92e
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
test eax, eax
je 0x45c9e7
lea edx, [esi + 4]
cmp eax, edx
jl 0x45c9e7
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x38]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
jle 0x45d2d5
lea ecx, [ecx]
push 0x114
call fcn.0048dcc8
add esp, 4
mov dword [esp + 0x34], eax
xor edi, edi
mov dword [esp + 0x90], edi
cmp eax, edi
je 0x45ca2d
mov ecx, eax
call fcn.0045c2d0
mov edi, eax
mov dword [esp + 0x18], eax
jmp 0x45ca31
mov dword [esp + 0x18], edi
mov ecx, edi
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x34], edi
call fcn.0045bce0
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x108], ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ca72
lea edx, [esi + 4]
cmp eax, edx
jl 0x45ca72
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [edi + 4]
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45ca96
lea edx, [esi + 4]
cmp eax, edx
jl 0x45ca96
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [edi + 0xc]
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45caba
lea edx, [esi + 4]
cmp eax, edx
jl 0x45caba
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [edi + 8]
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45cade
lea edx, [esi + 4]
cmp eax, edx
jl 0x45cade
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [edi + 0x14]
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45cb02
lea edx, [esi + 4]
cmp eax, edx
jl 0x45cb02
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004a0750
add esp, 0xc
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0xc]
add edi, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [edi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
add ecx, 0xa8
add esi, 4
call fcn.00458cc0
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cb55
lea edx, [esi + 4]
cmp eax, edx
jl 0x45cb55
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jle 0x45cca4
lea edx, [esi + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cb93
cmp eax, dword [esp + 0x2c]
jl 0x45cb93
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
add eax, 0x18
test ecx, ecx
jne 0x45cba5
xor eax, eax
jmp 0x45cbad
mov eax, dword [eax + 0x14]
sub eax, ecx
sar eax, 2
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 0x28]
add edx, 0x18
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45cbd7
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x18
mov dword [eax + 0x10], edi
jmp 0x45cbfb
cmp ecx, edi
jbe 0x45cbe0
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x14]
push edx
add ecx, 0x18
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00469800
mov eax, dword [ebx + 8]
add dword [esp + 0x2c], 4
dec dword [esp + 0x14]
add esi, 4
test eax, eax
je 0x45cc28
cmp eax, dword [esp + 0x2c]
jl 0x45cc28
mov ecx, dword [ebx]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x3c]
add edx, 0x30
test ecx, ecx
jne 0x45cc3a
xor eax, eax
jmp 0x45cc42
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45cc65
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x30
mov dword [eax + 0x10], edi
jmp 0x45cc89
cmp ecx, edi
jbe 0x45cc6e
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x30]
lea edx, [esp + 0x14]
push edx
add ecx, 0x30
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00469800
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 4
inc eax
add esi, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x45cb72
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ccc6
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45ccc6
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jle 0x45ce0e
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cd04
cmp eax, dword [esp + 0x2c]
jl 0x45cd04
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x54]
add edx, 0x48
test ecx, ecx
jne 0x45cd16
xor eax, eax
jmp 0x45cd1e
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45cd41
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x48
mov dword [eax + 0x10], edi
jmp 0x45cd65
cmp ecx, edi
jbe 0x45cd4a
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
lea edx, [esp + 0x14]
push edx
add ecx, 0x48
push edi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00469800
mov eax, dword [ebx + 8]
add dword [esp + 0x2c], 4
dec dword [esp + 0x14]
add esi, 4
test eax, eax
je 0x45cd92
cmp eax, dword [esp + 0x2c]
jl 0x45cd92
mov ecx, dword [ebx]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x6c]
add edx, 0x60
test ecx, ecx
jne 0x45cda4
xor eax, eax
jmp 0x45cdac
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45cdcf
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x60
mov dword [eax + 0x10], edi
jmp 0x45cdf3
cmp ecx, edi
jbe 0x45cdd8
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x60]
lea edx, [esp + 0x14]
push edx
add ecx, 0x60
push edi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00469800
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 4
inc eax
add esi, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x45cce3
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ce30
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45ce30
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jle 0x45cf89
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ce6e
cmp eax, dword [esp + 0x2c]
jl 0x45ce6e
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x84]
add edx, 0x78
test ecx, ecx
jne 0x45ce83
xor eax, eax
jmp 0x45ce8b
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45ceae
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x78
mov dword [eax + 0x10], edi
jmp 0x45ced2
cmp ecx, edi
jbe 0x45ceb7
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x78]
lea edx, [esp + 0x14]
push edx
add ecx, 0x78
push edi
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00469800
mov eax, dword [ebx + 8]
add dword [esp + 0x2c], 4
dec dword [esp + 0x14]
add esi, 4
test eax, eax
je 0x45ceff
cmp eax, dword [esp + 0x2c]
jl 0x45ceff
mov ecx, dword [ebx]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x9c]
add edx, 0x90
test ecx, ecx
jne 0x45cf17
xor eax, eax
jmp 0x45cf1f
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45cf44
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0x90
mov dword [eax + 0x10], edi
jmp 0x45cf6e
cmp ecx, edi
jbe 0x45cf4d
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x90]
lea edx, [esp + 0x14]
push edx
add ecx, 0x90
push edi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00469800
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 4
inc eax
add esi, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x45ce4d
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cfab
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45cfab
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jle 0x45d112
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cfe9
cmp eax, dword [esp + 0x2c]
jl 0x45cfe9
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xb4]
add edx, 0xa8
test ecx, ecx
jne 0x45d001
xor eax, eax
jmp 0x45d009
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45d02e
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0xa8
mov dword [eax + 0x10], edi
jmp 0x45d058
cmp ecx, edi
jbe 0x45d037
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xa8]
lea edx, [esp + 0x14]
push edx
add ecx, 0xa8
push edi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00469800
mov eax, dword [ebx + 8]
add dword [esp + 0x2c], 4
dec dword [esp + 0x14]
add esi, 4
test eax, eax
je 0x45d085
cmp eax, dword [esp + 0x2c]
jl 0x45d085
mov ecx, dword [ebx]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xcc]
add edx, 0xc0
test ecx, ecx
jne 0x45d09d
xor eax, eax
jmp 0x45d0a5
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45d0ca
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add edi, 4
add eax, 0xc0
mov dword [eax + 0x10], edi
jmp 0x45d0f7
cmp ecx, edi
jbe 0x45d0d3
call fcn.0049eacd
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc0]
lea edx, [esp + 0x14]
push edx
add ecx, 0xc0
push edi
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00469800
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 4
inc eax
add esi, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x45cfc8
mov eax, dword [ebx + 8]
test eax, eax
je 0x45d139
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d139
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0xd8
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d163
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d163
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0xdc
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d18d
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d18d
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0xe4
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d1b7
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d1b7
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0xe8
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d1e1
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d1e1
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0x100
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x100], 1
jne 0x45d206
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [eax + 0xe0], 2
mov dword [edx + 0xf4], ecx
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d230
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d230
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0x104
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d25a
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d25a
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
push 4
add edx, esi
push edx
add eax, 0x110
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x2c]
add eax, 0x20
add esi, 4
test ecx, ecx
jne 0x45d271
mov dword [esp + 0x2c], ecx
jmp 0x45d27d
mov edx, dword [eax + 0x14]
sub edx, ecx
sar edx, 2
mov dword [esp + 0x2c], edx
mov edi, dword [eax + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, dword [esp + 0x2c]
jae 0x45d29b
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
add edi, 4
mov dword [eax + 0x10], edi
jmp 0x45d2c2
cmp ecx, edi
jbe 0x45d2a4
call fcn.0049eacd
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x34]
push edx
add ecx, 0x20
push edi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00469800
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jl 0x45ca00
mov eax, dword [ebx + 8]
test eax, eax
je 0x45d2f7
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d2f7
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jle 0x45d3bc
mov ecx, dword [esp + 0x28]
add ecx, 0x108
lea edx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 8]
test eax, eax
je 0x45d343
cmp eax, dword [esp + 0x24]
jl 0x45d343
mov eax, dword [ebx]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
add dword [esp + 0x24], 4
add esi, 4
test eax, eax
jne 0x45d35a
xor ecx, ecx
jmp 0x45d362
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x45d386
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
add edi, 4
mov dword [ecx + 0x10], edi
jmp 0x45d3a9
cmp eax, edi
jbe 0x45d38f
call fcn.0049eacd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push edi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00469800
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x45d322
mov eax, dword [ebx + 8]
test eax, eax
je 0x45d3e6
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d3e6
mov edx, dword [ebx]
mov edi, dword [esp + 0x28]
push 4
add edx, esi
push edx
lea eax, [edi + 0xfc]
push eax
call fcn.004a0750
add esp, 0xc
jmp 0x45d3ea
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d411
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d411
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [edi + 0x100]
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d438
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d438
mov edx, dword [ebx]
push 4
add edx, esi
push edx
lea eax, [edi + 0x104]
push eax
call fcn.004a0750
add esp, 0xc
mov eax, dword [ebx + 8]
add esi, 4
test eax, eax
je 0x45d45f
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45d45f
mov edx, dword [ebx]
push 4
add edx, esi
push edx
add edi, 0x124
push edi
call fcn.004a0750
add esp, 0xc
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4