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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474d5b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x48d034]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x48d034]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], eax
mov word [esp + 0xb4], ax
mov dword [esp + 0x138], eax
mov eax, dword [esi + 0x14]
push 0x481dbc
mov edi, 3
call fcn.00404670
test eax, eax
mov eax, dword [esi + 0x14]
push str.MODIFY
mov edi, 6
mov ecx, esi
sete byte [esp + 0x27]
call fcn.00404670
test eax, eax
push ebx
mov ecx, esi
sete byte [esp + 0x1e]
call fcn.004141b0
test eax, eax
je 0x45ac2d
mov esi, dword [eax + 0x18]
test esi, esi
je 0x45a094
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45a0cd
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45a080
xor eax, eax
test eax, eax
mov dword [esp + 0x24], eax
je 0x45ac2d
jmp 0x45a0b0
push 0x1f0
mov byte [esp + 0x1f], 0
call fcn.0045ca98
add esp, 4
test eax, eax
je 0x45a0d8
call fcn.004594d0
jmp 0x45a0da
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x45a096
xor eax, eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x18]
test esi, esi
mov ebx, eax
mov dword [esp + 0x14], ebx
je 0x45a108
jmp 0x45a0f0
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45a182
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45a0f0
xor eax, eax
test eax, eax
mov edi, eax
mov dword [esp + 0x28], edi
je 0x45aba3
jmp 0x45a120
mov eax, edi
lea ecx, [esp + 0xcc]
call fcn.00414170
test edi, edi
mov byte [esp + 0x138], 1
je 0x45a14e
lea ecx, [esp + 0xb0]
call fcn.00414250
test al, al
jne 0x45a1d2
cmp byte [esp + 0x1a], 0
jne 0x45a1d2
test edi, edi
je 0x45a1a1
mov esi, dword [edi + 0x28]
test esi, esi
je 0x45a178
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45a190
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45a164
xor eax, eax
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x45a1a7
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x45a10a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x45a1a7
xor edi, edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x138], 0
cmp dword [esp + 0xe4], 8
jb 0x45ab3b
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0045ca7a
add esp, 4
jmp 0x45ab3b
mov eax, dword [esp + 0xe0]
cmp eax, 2
mov edi, eax
jb 0x45a1e5
mov edi, 2
cmp dword [esp + 0xe4], 8
mov esi, dword [esp + 0xd0]
jae 0x45a1fd
lea esi, [esp + 0xd0]
test edi, edi
mov ecx, 0x481f90
jbe 0x45a225
mov dx, word [esi]
cmp dx, word [ecx]
jne 0x45a21b
add esi, 2
add ecx, 2
sub edi, 1
jne 0x45a206
jmp 0x45a225
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x45a236
cmp eax, 2
jb 0x45a352
xor ecx, ecx
cmp eax, 2
setne cl
test ecx, ecx
jne 0x45a352
cmp byte [esp + 0x1a], cl
mov eax, dword [esp + 0xb4]
je 0x45a330
cmp dword [esp + 0xc8], 8
jae 0x45a260
lea eax, [esp + 0xb4]
push eax
call fcn.0045cfcf
mov esi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
add esp, 4
lea eax, [esp + 0x34]
push eax
add esi, 0x70
lea eax, [esp + 0x4c]
call fcn.0042c5d0
mov ebx, dword [esp + 0x48]
test ebx, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x78], ecx
je 0x45a295
cmp ebx, esi
je 0x45a29a
call fcn.0045cf3a
mov edi, dword [esp + 0x4c]
cmp edi, dword [esp + 0x78]
je 0x45ab61
cmp dword [esp + 0x14], 0
je 0x45a2c3
mov esi, dword [esp + 0x14]
call fcn.00459b70
mov edx, esi
push edx
call fcn.0045ca7a
add esp, 4
test ebx, ebx
jne 0x45a2cc
call fcn.0045cf3a
cmp edi, dword [ebx + 4]
jne 0x45a2d6
call fcn.0045cf3a
cmp edi, dword [ebx + 4]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jne 0x45a2e7
call fcn.0045cf3a
cmp dword [edi + 0x10], 0
je 0x45aace
cmp edi, dword [ebx + 4]
jne 0x45a2fb
call fcn.0045cf3a
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add eax, 0xc8
push esi
call fcn.0045b200
cmp edi, dword [ebx + 4]
jne 0x45a31b
call fcn.0045cf3a
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, 0x20
push esi
call fcn.0045b2c0
jmp 0x45aace
cmp dword [esp + 0xc8], 8
jae 0x45a341
lea eax, [esp + 0xb4]
push eax
call fcn.0045cfcf
add esp, 4
mov dword [ebx + 0x1c], eax
jmp 0x45aace
cmp eax, 8
mov edi, eax
jb 0x45a35e
mov edi, 8
cmp dword [esp + 0xe4], 8
mov esi, dword [esp + 0xd0]
jae 0x45a376
lea esi, [esp + 0xd0]
test edi, edi
mov ecx, str.GameName
jbe 0x45a39f
nop
mov dx, word [esi]
cmp dx, word [ecx]
jne 0x45a395
add esi, 2
add ecx, 2
sub edi, 1
jne 0x45a380
jmp 0x45a39f
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x45a3ac
cmp eax, 8
jb 0x45a3c7
xor ecx, ecx
cmp eax, 8
setne cl
test ecx, ecx
jne 0x45a3c7
push 0xffffffffffffffff
push ecx
lea eax, [esp + 0xb8]
push eax
mov eax, ebx
call fcn.00403490
jmp 0x45aace
cmp eax, 7
mov esi, eax
jb 0x45a3d3
mov esi, 7
cmp dword [esp + 0xe4], 8
mov edx, dword [esp + 0xd0]
jae 0x45a3eb
lea edx, [esp + 0xd0]
test esi, esi
mov ecx, str.ExeName
jbe 0x45a419
mov di, word [edx]
cmp di, word [ecx]
jne 0x45a409
add edx, 2
add ecx, 2
sub esi, 1
jne 0x45a3f4
jmp 0x45a419
mov dx, word [edx]
cmp dx, word [ecx]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x45a426
cmp eax, 7
jb 0x45a442
xor ecx, ecx
cmp eax, 7
setne cl
test ecx, ecx
jne 0x45a442
push 0xffffffffffffffff
push ecx
lea eax, [esp + 0xb8]
push eax
lea eax, [ebx + 0x20]
call fcn.00403490
jmp 0x45aace
push str.Description
mov edi, 0xb
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a474
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [ebx + 0x3c]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push str.Company
mov edi, 7
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a4ad
push 0xffffffffffffffff
push eax
lea edx, [esp + 0xb8]
push edx
lea eax, [ebx + 0x58]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push str.InternalName
mov edi, 0xc
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a4e6
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [ebx + 0x74]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push str.OriginalName
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a51d
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [ebx + 0x90]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push str.DigitalSignature
mov edi, 0x10
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a559
push 0xffffffffffffffff
push eax
lea edx, [esp + 0xb8]
push edx
lea eax, [ebx + 0xac]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push 0x47c470
mov edi, 3
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a595
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [ebx + 0xc8]
call fcn.00403490
jmp 0x45aace
mov eax, dword [esp + 0xe0]
push str.Size
mov edi, 4
lea ecx, [esp + 0xd0]
call fcn.00404670
test eax, eax
jne 0x45a5e4
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a5ce
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], edx
jmp 0x45aace
mov esi, str.Publish
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a626
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a611
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov byte [ebx + 0xf0], al
mov byte [esp + 0x1b], 1
jmp 0x45aace
mov esi, str.Type
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a663
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a653
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov byte [ebx + 0xf1], al
jmp 0x45aace
mov esi, str.Home
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a693
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [ebx + 0xf4]
call fcn.00403490
jmp 0x45aace
mov esi, str.Register
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a6c3
push 0xffffffffffffffff
push eax
lea edx, [esp + 0xb8]
push edx
lea eax, [ebx + 0x110]
call fcn.00403490
jmp 0x45aace
mov esi, str.Login
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a6f3
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [ebx + 0x12c]
call fcn.00403490
jmp 0x45aace
mov esi, str.Advert
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a723
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [ebx + 0x148]
call fcn.00403490
jmp 0x45aace
mov esi, str.Help
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a753
push 0xffffffffffffffff
push eax
lea edx, [esp + 0xb8]
push edx
lea eax, [ebx + 0x164]
call fcn.00403490
jmp 0x45aace
mov esi, str.League
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a790
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a780
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov byte [ebx + 0x180], al
jmp 0x45aace
mov esi, str.UninstallKey
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a7c0
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [ebx + 0x184]
call fcn.00403490
jmp 0x45aace
mov esi, str.Status
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a822
lea edi, [esp + 0xb0]
lea eax, [esp + 0xe8]
call fcn.00414020
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
jae 0x45a800
lea eax, [esp + 0xec]
mov ecx, dword [eax]
mov dword [ebx + 0x1dc], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xe8]
mov dword [ebx + 0x1e0], edx
call fcn.00403210
jmp 0x45aace
mov esi, 0x481e34
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a85f
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a84f
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov byte [ebx + 0x1a0], al
jmp 0x45aace
mov esi, 0x481e2c
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a96e
push 1
push 0x481fb4
lea edx, [esp + 0xb8]
call fcn.00403540
mov esi, eax
test esi, esi
je 0x45a946
lea eax, [esp + 0x108]
push eax
mov eax, esi
lea edx, [esp + 0xb4]
call fcn.0040b880
add esp, 4
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esi + 1]
or eax, 0xffffffff
mov byte [esp + 0x140], 2
call fcn.0040b8b0
mov eax, dword [esp + 0x114]
mov esi, 8
add esp, 8
cmp dword [esp + 0x120], esi
jae 0x45a8f0
lea eax, [esp + 0x10c]
call fcn.0040b3e0
cmp dword [esp + 0x100], esi
mov byte [ebx + 0x1a1], al
mov eax, dword [esp + 0xec]
jae 0x45a912
lea eax, [esp + 0xec]
push eax
call fcn.0046ffec
fstp dword [ebx + 0x1a4]
add esp, 4
lea esi, [esp + 0xe8]
call fcn.00401230
lea esi, [esp + 0x108]
mov byte [esp + 0x138], 1
call fcn.00401230
jmp 0x45aace
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a95e
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov byte [ebx + 0x1a1], al
jmp 0x45aace
mov esi, str.Memory
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a9ab
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a99b
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov dword [ebx + 0x1a8], eax
jmp 0x45aace
mov esi, str.Video
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45a9e8
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45a9d8
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov dword [ebx + 0x1ac], eax
jmp 0x45aace
mov esi, str.InstallSize
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45aa2b
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45aa15
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1b4], edx
jmp 0x45aace
mov esi, str.Depend
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45aa66
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45aa58
lea eax, [esp + 0xb4]
call fcn.0040b3e0
mov word [ebx + 0x1b8], ax
jmp 0x45aace
mov esi, str.Synopsis
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45aa93
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xb8]
push ecx
lea eax, [ebx + 0x1bc]
call fcn.00403490
jmp 0x45aace
mov esi, str.DLType
lea ecx, [esp + 0xcc]
call fcn.00404640
test eax, eax
jne 0x45aace
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x45aac0
lea eax, [esp + 0xb4]
call fcn.0040b3e0
movzx edx, ax
mov dword [ebx + 0x1d8], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45ab0f
mov esi, dword [eax + 0x28]
test esi, esi
je 0x45aaf4
lea ecx, [ecx]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x45aafe
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45aae0
xor eax, eax
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x45ab15
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x45ab15
xor edi, edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x138], 0
cmp dword [esp + 0xe4], 8
jb 0x45ab37
mov eax, dword [esp + 0xd0]
push eax
call fcn.0045ca7a
add esp, 4
mov ebx, dword [esp + 0x14]
xor eax, eax
test edi, edi
mov word [esp + 0xd0], ax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 7
jne 0x45a120
jmp 0x45aba3
mov byte [esp + 0x138], 0
cmp dword [esp + 0xe4], 8
jb 0x45ab83
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0045ca7a
add esp, 4
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], eax
mov word [esp + 0xd0], ax
cmp byte [esp + 0x1a], 0
jne 0x45ac92
cmp dword [ebx + 0x1c], 0
lea edi, [ebx + 0x1c]
jbe 0x45ac92
mov esi, dword [esp + 0x1c]
add esi, 0x70
push edi
lea eax, [esp + 0x54]
call fcn.0042c5d0
mov eax, dword [esp + 0x50]
test eax, eax
mov ebx, dword [esi + 4]
je 0x45abdb
cmp eax, esi
je 0x45abe0
call fcn.0045cf3a
cmp dword [esp + 0x54], ebx
je 0x45ac6d
mov esi, dword [esp + 0x14]
call fcn.00459b70
push esi
call fcn.0045ca7a
mov edx, dword [esp + 0x28]
mov esi, dword [edx + 0x28]
add esp, 4
test esi, esi
je 0x45ac1f
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x45b1f0
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45ac07
xor eax, eax
test eax, eax
mov dword [esp + 0x24], eax
jne 0x45a0b0
cmp dword [esp + 0xc8], 8
jb 0x45ac47
mov eax, dword [esp + 0xb4]
push eax
call fcn.0045ca7a
add esp, 4
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0045ca6b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
push edx
lea eax, [esp + 0x90]
push eax
push esi
mov dword [esp + 0x50], ecx
call fcn.004290d0
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x1c], 0
lea eax, [ebx + 0x1c]
jbe 0x45ae0c
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xf0], 0
je 0x45ae0c
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea edx, [eax + 0x94]
mov dword [esp + 0x108], edx
lea ecx, [eax + 0xa4]
lea edx, [eax + 0xb4]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
lea ecx, [eax + 0xc4]
lea edx, [eax + 0xd4]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
lea ecx, [eax + 0xe4]
lea edx, [eax + 0xf4]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
lea ecx, [eax + 0x104]
lea edx, [eax + 0x114]
add eax, 0x124
mov dword [esp + 0x58], 0x459440
mov dword [esp + 0x5c], 0x459450
mov dword [esp + 0x60], 0x459470
mov dword [esp + 0x64], 0x459490
mov dword [esp + 0x68], 0x4594b0
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], eax
xor ebx, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + ebx + 0x58]
push eax
call ecx
add esp, 4
test al, al
je 0x45ae00
mov esi, dword [esp + ebx + 0x108]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45ad8a
xor edx, edx
jmp 0x45ad92
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x45adb2
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x45adb2
mov eax, dword [esi + 8]
mov edx, dword [edi + 0x1c]
mov dword [eax], edx
add eax, 4
mov dword [esi + 8], eax
jmp 0x45addb
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x45adbe
call fcn.0045cf3a
mov eax, dword [esp + 0x14]
push edi
add eax, 0x1c
push esi
push eax
lea eax, [esp + 0x90]
push eax
mov eax, esi
call fcn.0045b490
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x23], 0
jne 0x45ade9
cmp byte [esp + 0x1a], 0
je 0x45ae00
cmp byte [esp + 0x1b], 0
je 0x45ae00
mov esi, dword [esp + ebx + 0xe8]
lea eax, [edi + 0x1c]
push eax
call fcn.0045b3b0
add ebx, 4
cmp ebx, 0x14
jb 0x45ad63
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x1c], 0
lea edi, [ebx + 0x1c]
jbe 0x45ae40
cmp byte [ebx + 0xf0], 0
jne 0x45ae40
cmp byte [esp + 0x1a], 0
je 0x45ae40
cmp byte [esp + 0x1b], 0
je 0x45ae40
mov esi, dword [esp + 0x1c]
push edi
add esi, 0x134
call fcn.0045b3b0
mov eax, dword [edi]
lea ecx, [eax - 1]
cmp ecx, 0x4e1e
ja 0x45afff
cmp dword [ebx + 0xdc], 0
je 0x45b1c8
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add esi, 0xc8
push esi
lea edx, [esp + 0x30]
push edx
add edi, 0x7c
push edi
call fcn.00429050
mov eax, dword [edi + 4]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x70], eax
je 0x45ae90
cmp dword [esp + 0x2c], edi
je 0x45ae95
call fcn.0045cf3a
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x70]
je 0x45af15
cmp dword [esp + 0x2c], ebx
jne 0x45aeae
call fcn.0045cf3a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp ecx, dword [edx + 4]
jne 0x45aec0
call fcn.0045cf3a
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x28]
cmp eax, ebx
jne 0x45aef0
mov eax, dword [esp + 0x2c]
cmp ecx, dword [eax + 4]
jne 0x45aed9
call fcn.0045cf3a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x28], eax
mov dword [eax + 0x1e8], ebx
jmp 0x45b1c8
mov ecx, dword [eax + 0x1e8]
cmp ecx, ebx
je 0x45af00
mov eax, ecx
cmp eax, ebx
jne 0x45aef0
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1e8], ecx
mov dword [ecx + 0x1e8], ebx
jmp 0x45b1c8
mov ecx, dword [esp + 0x14]
push ecx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push esi
mov word [eax + 4], bx
call fcn.00403490
lea esi, [esp + 0x128]
call fcn.0045b8d0
add esp, 0x20
mov esi, eax
push 0xffffffffffffffff
mov byte [esp + 0x13c], 3
push ebx
push esi
lea eax, [esp + 0xf4]
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
call fcn.00403490
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x104], edx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0xa8]
push ecx
push edi
mov byte [esp + 0x144], 4
call fcn.0042c650
mov esi, 8
cmp dword [esp + 0x100], esi
jb 0x45afc3
mov edx, dword [esp + 0xec]
push edx
call fcn.0045ca7a
add esp, 4
mov byte [esp + 0x138], 0
cmp dword [esp + 0x120], esi
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
jb 0x45b1c8
mov eax, dword [esp + 0x10c]
push eax
jmp 0x45b1c0
lea ecx, [eax - 0x4e21]
cmp ecx, 0x4e1e
jbe 0x45b01d
add eax, 0xffff63bf
cmp eax, 0x270e
ja 0x45b1c8
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x34], 0
je 0x45b1c8
mov edi, dword [esp + 0x1c]
mov esi, edx
add esi, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
add edi, 0x88
push edi
call fcn.00429050
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x80], ecx
je 0x45b05c
cmp ebx, edi
je 0x45b061
call fcn.0045cf3a
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x80]
je 0x45b0dd
test ebx, ebx
jne 0x45b07b
call fcn.0045cf3a
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [ebx + 4]
jne 0x45b089
call fcn.0045cf3a
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x28]
test eax, eax
jne 0x45b0b4
cmp ecx, dword [ebx + 4]
jne 0x45b09e
call fcn.0045cf3a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x28], eax
mov dword [eax + 0x1e8], 0
jmp 0x45b1c8
mov ecx, dword [eax + 0x1e8]
test ecx, ecx
je 0x45b0c4
mov eax, ecx
test eax, eax
jne 0x45b0b4
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1e8], ecx
mov dword [ecx + 0x1e8], 0
jmp 0x45b1c8
mov edx, dword [esp + 0x14]
push edx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x54], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push esi
mov word [eax + 4], bx
call fcn.00403490
lea esi, [esp + 0x128]
call fcn.0045b8d0
add esp, 0x20
mov esi, eax
push 0xffffffffffffffff
mov byte [esp + 0x13c], 5
push ebx
push esi
lea eax, [esp + 0xf4]
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
call fcn.00403490
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x104], eax
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x9c]
push edx
push edi
mov byte [esp + 0x144], 6
call fcn.0042c650
mov esi, 8
cmp dword [esp + 0x100], esi
jb 0x45b18d
mov eax, dword [esp + 0xec]
push eax
call fcn.0045ca7a
add esp, 4
mov byte [esp + 0x138], 0
cmp dword [esp + 0x120], esi
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
jb 0x45b1c8
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0045ca7a
add esp, 4
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x45ac1f
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x45b1f0
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x45b1d7
jmp 0x45ac1f
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x45ac21