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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x513f89
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x514b68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 8]
mov esi, eax
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [0x59e944]
mov eax, dword [eax]
mov eax, dword [eax + 0x150]
mov eax, dword [eax + 4]
call fcn.004a5360
push edx
push eax
call fcn.00438150
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x514b84
call fcn.0042b2b0
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bb0
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x34], eax
push 0x14
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x78
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bb0
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x78
mov ecx, 0x320
mov edx, dword [ebp - 0x6c]
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x84]
push eax
push ebp
lea eax, [ebp - 0xa0]
call fcn.00513e40
pop ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004da4b0
lea edx, [ebp - 0xa4]
call fcn.0056c5a0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0x11
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x40]
call fcn.004bf770
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0x11
lea edx, [ebp - 0x9c]
mov eax, dword [0x59f0cc]
mov eax, dword [eax]
mov ecx, 2
call fcn.00443710
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x14]
call fcn.00460cf0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, 3
add eax, 3
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x68]
sub ecx, 0x1a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x1c]
add edx, 3
mov eax, dword [ebp - 0x70]
call fcn.0040ae44
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bcc
mov dl, 1
mov eax, dword [0x45e848]
call fcn.004567f0
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x74]
add dword [ebp - 0x6c], 0x17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 8], 1
jge 0x514193
add dword [ebp - 0x6c], 0x28
jmp 0x51482d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x51482d
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x10]
call fcn.00428f80
mov dword [ebp - 0x30], eax
push 3
push 1
push 1
push 0x4a
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
inc edx
mov ecx, 0x4a
mov eax, dword [ebp - 0x70]
call fcn.0042a5e0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x30]
call fcn.004da090
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.0054c240
mov dword [ebp - 0x28], eax
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514be0
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x44], 4
jne 0x5146f5
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 2
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0x320
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bfc
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x2c], eax
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x16
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0x1f4
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x30]
call fcn.004da0c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x48], 0
jne 0x5142d3
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x24]
call fcn.0041cbf8
cmp dword [ebp - 0xac], 0
jne 0x514435
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514c18
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x40], eax
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x33
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0xc8
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor edx, edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 4]
lea edx, [ebp - 0xb0]
mov eax, dword [0x59ed48]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514c34
mov dl, 1
mov eax, dword [0x512918]
call fcn.004567f0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov dword [eax + 0x80], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x84], ecx
lea edx, [ebp - 0xb4]
mov eax, dword [0x59ea4c]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0x19
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x32
mov eax, dword [ebp - 0x70]
add eax, 0x118
mov ecx, 0x12c
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0x514c4c
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x48]
call fcn.0041d074
push dword [ebp - 0xbc]
push 0x514c7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea eax, [ebp - 0xc0]
call fcn.0041d09c
push dword [ebp - 0xc0]
lea eax, [ebp - 0xb8]
mov edx, 4
call fcn.00407478
mov edx, dword [ebp - 0xb8]
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004363e0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x513b70
jmp 0x51475b
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514c18
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x40], eax
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x33
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0x3c
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor edx, edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 4]
lea edx, [ebp - 0xc4]
mov eax, dword [0x59f12c]
mov eax, dword [eax]
call fcn.00443690
lea eax, [ebp - 0xc4]
mov edx, 0x514c94
call fcn.00407398
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [0x59f148]
mov eax, dword [eax]
mov edx, 0x514ca4
call fcn.004564a0
mov dword [ebp - 0x5c], eax
mov ax, word [0x514cac]
push eax
mov eax, dword [ebp - 0x5c]
mov edx, 0x1f4
sub edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x5c]
sub edx, dword [eax + 0x4c]
push edx
push 0x7fffffff
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x24]
call fcn.0044cc30
cmp dword [ebp - 0xc8], 0x14
setg byte [ebp - 0x51]
cmp byte [ebp - 0x51], 0
jne 0x51451d
mov edx, dword [ebp - 0x24]
mov eax, 0x514cbc
call fcn.0040772c
test eax, eax
jle 0x51458d
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514ca4
mov dl, 1
mov eax, dword [0x45de68]
call fcn.004567f0
mov dword [ebp - 0x3c], eax
push 0x31
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x29
mov eax, dword [ebp - 0x70]
add eax, 0x55
add eax, 0x2c
mov ecx, 0x1f4
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
call fcn.004645e0
lea ecx, [ebp - 0xcc]
xor edx, edx
xor eax, eax
call fcn.0040ae74
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x3c]
call fcn.00464080
add dword [ebp - 0x6c], 0xa
jmp 0x5145da
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514ca4
mov dl, 1
mov eax, dword [0x45dd30]
call fcn.004567f0
mov dword [ebp - 0x3c], eax
push 0x16
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x32
mov eax, dword [ebp - 0x70]
add eax, 0x55
add eax, 0x2c
mov ecx, 0x1f4
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
call fcn.004645e0
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0x3c]
add eax, 4
mov edx, 0x514ccc
call fcn.00406970
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514c34
mov dl, 1
mov eax, dword [0x45d2f0]
call fcn.004567f0
mov dword [ebp - 0x4c], eax
push 0x19
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ecx, 0x78
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea edx, [ebp - 0xd0]
mov eax, dword [0x59ed44]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x513c90
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514c34
mov dl, 1
mov eax, dword [0x51227c]
call fcn.004567f0
mov dword [ebp - 0x48], eax
push 0x19
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x14]
sub edx, 0x1d
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x18]
add eax, 0xa
mov ecx, 0x78
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea edx, [ebp - 0xd4]
mov eax, dword [0x59ee28]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x513dc0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov dword [eax + 0x78], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x7c], ecx
jmp 0x51475b
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 8
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0x320
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bfc
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x2c], eax
push 0x14
lea eax, [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x6c]
add edx, 0x23
mov eax, dword [ebp - 0x70]
add eax, 0x55
mov ecx, 0x1f4
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x1c]
call fcn.00460cf0
lea edx, [ebp - 0xdc]
mov eax, dword [0x59e7d0]
mov eax, dword [eax]
call fcn.00443690
push dword [ebp - 0xdc]
push 0x514cf8
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
call fcn.0056c5a0
push dword [ebp - 0xe0]
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00407478
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 4]
add dword [ebp - 0x6c], 0x50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 8]
dec eax
cmp eax, dword [ebp - 0x10]
jle 0x514821
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514bcc
mov dl, 1
mov eax, dword [0x45e848]
call fcn.004567f0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
sub eax, 0
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x68]
sub ecx, 0xb4
mov edx, dword [ebp - 0x6c]
sub edx, 3
mov eax, dword [ebp - 0x70]
call fcn.0040ae44
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x60]
mov byte [eax + 0x22], 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x58]
jne 0x5141b0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x44], 4
jne 0x51486a
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514d0c
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x18], eax
jmp 0x514aa4
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514d24
mov dl, 1
mov eax, dword [0x5885c4]
call fcn.004567f0
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0xe8]
mov eax, dword [0x59e794]
mov eax, dword [eax]
call fcn.00443690
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00427c80
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0xe
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0042a580
mov edx, dword [ebp - 0xc8]
add edx, 0x17
mov eax, dword [ebp - 0x68]
sub eax, 0x5a
sub eax, 0x41
mov ecx, 0x3c
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], fcn.00513df0
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x3c], 1
lea edx, [ebp - 0xec]
mov eax, dword [0x59e8b0]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x44]
add eax, 0x38
call fcn.00406970
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514d24
mov dl, 1
mov eax, dword [0x5885c4]
call fcn.004567f0
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0xf4]
mov eax, dword [0x59eb70]
mov eax, dword [eax]
call fcn.00443690
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.00427c80
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0xe
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0042a580
mov edx, dword [ebp - 0xc8]
add edx, 0x17
mov eax, dword [ebp - 0x68]
sub eax, 0x5a
add eax, 5
mov ecx, 0x3c
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x513b40
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x3c], 1
lea edx, [ebp - 0xf8]
mov eax, dword [0x59ecbc]
mov eax, dword [eax]
call fcn.00443690
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x44]
add eax, 0x38
call fcn.00406970
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x44]
sub eax, 2
jne 0x514a8c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514d3c
mov dl, 1
mov eax, dword [0x5885c4]
call fcn.004567f0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x513e10
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x44]
call fcn.00512a70
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0x28
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0042a580
mov edx, dword [ebp - 0xc8]
sub edx, 0x12
mov eax, dword [ebp - 0x68]
sub eax, 0x96
mov ecx, 0x78
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x514aa4
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x514d54
mov dl, 1
mov eax, dword [0x45d6f4]
call fcn.004567f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x514b13
push 0x28
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call fcn.0042a580
mov edx, dword [ebp - 0xc8]
sub edx, 0x12
mov eax, dword [ebp - 0x68]
sub eax, 0x96
mov ecx, 0x78
call fcn.0042a5e0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x44]
call fcn.00512a70
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, 0xf
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514b6f
lea eax, [ebp - 0x100]
mov edx, 0xd
call fcn.0040660c
lea eax, [ebp - 0xc4]
mov edx, 0xa
call fcn.0040660c
lea eax, [ebp - 0x84]
call fcn.004065ac
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040660c
ret