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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f64c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov al, byte [0x534510]
push ebx
push esi
push edi
test al, 1
mov edi, 0x50142c
mov esi, 0x5013c8
jne 0x4a4547
mov bl, al
push 0xa
or bl, 1
mov ecx, 0x534570
mov byte [0x534510], bl
call fcn.004a0474
push 0x4a5560
mov dword [0x534570], edi
mov dword [0x53458c], esi
call fcn.004a1052
add esp, 4
push 0xa
lea ecx, [esp + 0x20]
call fcn.004a0474
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], esi
mov eax, dword [0x5346f8]
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
jne 0x4a4679
call dword [0x500cac]
push 0x52d5c8
push 0x9c73
call dword [0x500cb0]
push edi
push 0x52d5cc
push 0x534728
push 0xa442
call dword [0x500cf0]
push 0x52d60c
push 0x9c6d
call dword [0x500c6c]
mov esi, dword [0x500c70]
push 0x40768000
push edi
push 0xc0768000
push edi
push 0x5346f0
push 0x9c8a
call esi
push 0x408f4000
push edi
push 0x3f50624d
push 0xd2f1a9fc
push 0x52d600
push 0x9c8e
call esi
add esp, 0x50
push edi
push 0x52d5cc
push 0x64
push 1
push 0x52d608
push 0x9c56
call dword [0x500c5c]
add esp, 0x18
mov dword [0x5346f8], 1
mov eax, dword [0x52d5f8]
mov ebx, 0x3f0
cmp eax, ebx
je 0x4a483a
mov eax, dword [0x4ffa0c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp edx, edi
mov edx, dword [eax + 0x1c]
sete cl
mov esi, ecx
lea ecx, [eax + 0x1c]
call dword [edx + 4]
cmp esi, 1
je 0x4a4770
mov eax, dword [0x4ffa0c]
push 0x534570
push eax
call dword [0x4ffc70]
mov edx, dword [0x53457c]
add esp, 8
xor ecx, ecx
cmp edx, edi
mov edx, dword [0x53458c]
sete cl
mov esi, ecx
mov ecx, 0x53458c
call dword [edx + 4]
cmp esi, 1
je 0x4a4770
mov dword [0x52d5f8], ebx
push 0x534570
call dword [0x4ff3c0]
add esp, 4
cmp eax, 1
jne 0x4a4824
mov dword [0x52d5f8], 0x3ef
mov dword [0x534720], edi
mov dword [0x534724], edi
mov dword [0x5346f8], edi
call dword [0x500cac]
call dword [0x500cf8]
mov eax, dword [0x4ffa0c]
xor edx, edx
mov ecx, dword [eax + 0xc]
cmp ecx, edi
lea ecx, [eax + 0x1c]
sete dl
mov eax, dword [ecx]
mov esi, edx
call dword [eax + 4]
cmp esi, 1
je 0x4a53b2
mov ecx, dword [0x4ffa0c]
push 0xfffffffffffffffd
push ecx
call dword [0x4ff3e8]
mov edx, dword [0x4ffa0c]
push edx
call dword [0x4ff3dc]
jmp 0x4a53af
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x500734]
push edi
push 0x534570
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [0x4ff8f8]
push eax
push edi
mov edx, dword [ecx]
push edx
call dword [0x500bac]
add esp, 0x1c
cmp eax, 0x3ea
mov dword [0x52d5f8], eax
jne 0x4a480b
mov dword [0x52d5f8], 0x3ef
mov dword [0x534720], edi
mov dword [0x534724], edi
mov dword [0x5346f8], edi
call dword [0x500cac]
mov eax, dword [0x4ffa0c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp edx, edi
mov edx, dword [eax + 0x1c]
sete cl
mov esi, ecx
lea ecx, [eax + 0x1c]
call dword [edx + 4]
cmp esi, 1
je 0x4a552a
mov eax, dword [0x4ffa0c]
push 0xfffffffffffffffd
push eax
call dword [0x4ff3e8]
mov ecx, dword [0x4ffa0c]
push ecx
call dword [0x4ff3dc]
jmp 0x4a5527
cmp eax, ebx
je 0x4a46ee
mov dword [0x534720], edi
mov dword [0x534724], edi
jmp 0x4a552a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], edi
mov dword [ecx], edi
cmp dword [0x52d5f8], ebx
jne 0x4a4975
cmp dword [0x534724], edi
jne 0x4a4975
push 0x534570
call dword [0x4ffddc]
add esp, 4
test eax, eax
je 0x4a4965
lea edx, [esp + 0x3c]
mov dword [0x534720], 1
push edx
push 0x534570
call dword [0x4ffde0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [0x5344b8], eax
mov eax, dword [esp + 0x60]
mov dword [0x5344bc], ecx
mov ecx, dword [esp + 0x44]
mov dword [0x5344c0], edx
mov edx, dword [esp + 0x48]
mov dword [0x5344c4], eax
mov eax, dword [esp + 0x4c]
mov dword [0x533d50], ecx
mov ecx, dword [esp + 0x50]
mov dword [0x533d54], edx
mov edx, dword [esp + 0x54]
mov dword [0x533d58], eax
mov eax, dword [esp + 0x58]
mov dword [0x533d5c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [0x534258], edx
mov edx, dword [esp + 0x50]
mov dword [0x53425c], eax
mov eax, dword [esp + 0x44]
mov dword [0x534260], ecx
mov ecx, dword [esp + 0x48]
mov dword [0x534264], edx
mov edx, dword [esp + 0x5c]
mov dword [0x533ed0], eax
mov eax, dword [esp + 0x60]
add esp, 8
mov dword [0x5344c8], 0
mov dword [0x5344cc], 0
mov dword [0x533d60], 0
mov dword [0x533d64], 0
mov dword [0x534268], 0
mov dword [0x53426c], 0
mov dword [0x533ed4], ecx
mov dword [0x533ed8], edx
mov dword [0x533edc], eax
mov dword [0x533ee0], 0
mov dword [0x533ee4], 0
jmp 0x4a496b
mov dword [0x534720], edi
mov dword [0x534724], 1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 2
jne 0x4a4a07
call dword [0x4ff8c0]
cmp dword [0x534720], edi
je 0x4a49e2
push 0xfffffffffffffffb
mov ecx, 6
sub esp, 0x18
mov esi, 0x534540
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534360
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x533e58
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534390
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff390]
add esp, 0x64
jmp 0x4a49f0
push 0x534570
call dword [0x4ffdd8]
add esp, 4
call dword [0x4ff8d0]
mov edx, dword [0x500628]
mov dword [edx], 1
jmp 0x4a552a
cmp eax, 1
jne 0x4a4de3
call dword [0x4ff8c0]
mov eax, dword [0x500628]
mov ebx, dword [0x4ff390]
cmp dword [eax], 1
jne 0x4a4a2a
mov dword [eax], edi
jmp 0x4a4a8d
cmp dword [0x534720], edi
je 0x4a4a7f
push 0xfffffffffffffffb
mov ecx, 6
sub esp, 0x18
mov esi, 0x534540
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534360
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x533e58
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534390
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call ebx
add esp, 0x64
jmp 0x4a4a8d
push 0x534570
call dword [0x4ffdd8]
add esp, 4
mov eax, dword [0x500ba0]
mov ecx, 6
mov esi, eax
mov edi, 0x5346d8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x52d60c]
test ecx, ecx
jne 0x4a4afb
push 0x5346d8
push 0x5346c0
sub esp, 0x18
mov ecx, 6
mov esi, eax
mov edi, esp
mov eax, dword [0x53471c]
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov edi, esp
mov ecx, 6
mov esi, 0x5346c0
push 0x40690000
push 0
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x534718]
push 2
push 0
push eax
push ecx
push 0x534700
call dword [0x4ffdd4]
add esp, 0x58
mov edx, dword [0x52d600]
mov eax, dword [0x52d604]
mov ecx, dword [0x5346f0]
mov dword [0x5343c0], edx
mov edx, dword [0x5346f4]
mov dword [0x5343c4], eax
mov eax, edx
mov dword [0x534020], ecx
push eax
push ecx
mov dword [0x534024], edx
call fcn.0041b0c0
mov edx, dword [0x50069c]
add esp, 8
fstp qword [0x534470]
cmp dword [edx], 1
jne 0x4a4c3b
mov edx, dword [0x5346cc]
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x94]
push eax
mov eax, dword [0x5346c8]
push ecx
mov ecx, dword [0x5346c4]
push edx
mov edx, dword [0x5346c0]
push eax
mov eax, dword [0x500640]
push ecx
push edx
mov esi, dword [0x4ff3b8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500644]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500648]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call esi
mov edx, dword [0x5346e4]
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xac]
push eax
mov eax, dword [0x5346e0]
push ecx
mov ecx, dword [0x5346dc]
push edx
mov edx, dword [0x5346d8]
push eax
mov eax, dword [0x500640]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500644]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [0x500648]
push ecx
push edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call esi
fld qword [esp + 0xdc]
fsub qword [esp + 0xf4]
add esp, 0x60
fstp qword [esp + 0x74]
fld qword [esp + 0x84]
fsub qword [esp + 0x9c]
mov edx, dword [esp + 0x78]
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
push 0x52a1f4
call dword [0x500bd8]
add esp, 0x14
mov ecx, dword [0x500738]
mov eax, dword [0x5343c4]
mov edx, dword [0x534474]
push ecx
mov ecx, dword [0x5343c0]
push eax
push ecx
push eax
mov eax, dword [0x534470]
push ecx
mov ecx, dword [0x5346e4]
push 0
push 0
push edx
mov edx, dword [0x5346e0]
push eax
mov eax, dword [0x5346dc]
push ecx
mov ecx, dword [0x5346d8]
push edx
mov edx, dword [0x5346cc]
push eax
mov eax, dword [0x5346c8]
push ecx
mov ecx, dword [0x5346c4]
push edx
mov edx, dword [0x5346c0]
push eax
push ecx
push edx
call fcn.0041ba90
mov eax, dword [0x534720]
add esp, 0x44
test eax, eax
je 0x4a4dca
mov eax, dword [0x500738]
mov ecx, dword [0x5344c4]
mov edx, dword [0x5344c0]
push 0x534398
push 0x534390
push eax
mov eax, dword [0x5344bc]
push ecx
mov ecx, dword [0x5344b8]
push edx
push eax
push ecx
call fcn.0041bb60
mov edx, dword [0x500738]
mov eax, dword [0x533d5c]
mov ecx, dword [0x533d58]
push 0x534368
push 0x534360
push edx
mov edx, dword [0x533d54]
push eax
mov eax, dword [0x533d50]
push ecx
push edx
push eax
call fcn.0041bb60
mov ecx, dword [0x500738]
mov edx, dword [0x534264]
mov eax, dword [0x534260]
push 0x534548
push 0x534540
push ecx
mov ecx, dword [0x53425c]
push edx
mov edx, dword [0x534258]
push eax
push ecx
push edx
call fcn.0041bb60
mov eax, dword [0x500738]
mov ecx, dword [0x533edc]
mov edx, dword [0x533ed8]
add esp, 0x54
push 0x533e60
push 0x533e58
push eax
mov eax, dword [0x533ed4]
push ecx
mov ecx, dword [0x533ed0]
push edx
push eax
push ecx
call fcn.0041bb60
add esp, 0x1c
mov ecx, 6
mov esi, 0x534540
push 0xfffffffffffffffb
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534360
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x533e58
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x534390
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call ebx
add esp, 0x64
call dword [0x4ff8d0]
jmp 0x4a552a
push 0x534570
call dword [0x4ffdd8]
add esp, 4
call dword [0x4ff8d0]
jmp 0x4a552a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, edi
je 0x4a5510
dec eax
je 0x4a53e0
dec eax
jne 0x4a552a
cmp dword [0x52d60c], edi
jne 0x4a4e31
push edi
lea eax, [esp + 0x18]
push 0x5346d8
push eax
sub esp, 0x18
mov ecx, 6
mov esi, 0x5346c0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x500bb8]
add esp, 0x24
mov esi, eax
xor edi, edi
jmp 0x4a4e41
push 0x5346d8
call dword [0x500ba8]
add esp, 4
mov esi, eax
call fcn.0044b470
cmp esi, 0x3ea
je 0x4a532c
cmp esi, 0x3e9
je 0x4a532c
cmp dword [0x52d60c], edi
jne 0x4a4f6c
cmp esi, 0x7da
jne 0x4a4f15
mov ecx, dword [0x50068c]
fld qword [ecx]
fchs
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4a4ee3
fld qword [esp + 0x14]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
je 0x4a4ee3
push 0x5346d8
push 0x5346c0
sub esp, 0x18
mov ecx, 6
mov esi, 0x5346d8
mov edi, esp
mov edx, dword [esp + 0x34]
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x5346c0
mov edi, esp
mov eax, dword [0x53471c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [0x534718]
push edx
push 0
push 1
push 0
push eax
push ecx
jmp 0x4a4f5c
push 0xffffffffffffffff
push edi
push 0xa015
call fcn.004a017a
push 0x9c9d
call dword [0x500cc4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esp, 4
mov dword [edx], 1
mov dword [eax], 1
jmp 0x4a552a
push 0x5346d8
push 0x5346c0
sub esp, 0x18
mov ecx, 6
mov esi, 0x5346d8
mov edi, esp
mov edx, dword [0x534718]
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, 0x5346c0
mov edi, esp
push 0x40690000
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x53471c]
push 0
push 0
push 2
push 0
push ecx
push edx
push 0x534700
call dword [0x4ffdd4]
add esp, 0x58
xor edi, edi
mov eax, dword [0x5346f4]
mov ecx, dword [0x5346f0]
push eax
push ecx
call fcn.0041b0c0
mov edx, dword [0x500738]
mov eax, dword [0x52d604]
mov ecx, dword [0x52d600]
push edx
fstp qword [0x534470]
mov edx, dword [0x5346e4]
push eax
push ecx
push eax
mov eax, dword [0x534474]
push ecx
mov ecx, dword [0x534470]
push edi
push edi
push eax
mov eax, dword [0x5346e0]
push ecx
mov ecx, dword [0x5346dc]
push edx
mov edx, dword [0x5346d8]
push eax
mov eax, dword [0x5346cc]
push ecx
mov ecx, dword [0x5346c8]
push edx
mov edx, dword [0x5346c4]
push eax
mov eax, dword [0x5346c0]
push ecx
push edx
push eax
call fcn.0041ba90
mov eax, dword [0x52d5cc]
add esp, 0x4c
cmp eax, edi
jne 0x4a5235
fld qword [0x5346d8]
fsub qword [0x5346c0]
fstp qword [esp + 0xb4]
fld qword [0x5346e0]
fsub qword [0x5346c8]
fstp qword [esp + 0xac]
call dword [0x4ff3b4]
cmp dword [0x52d608], edi
jle 0x4a51bc
mov ebx, dword [0x4ff3e8]
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
push ecx
push 0x534570
call dword [0x4ffc70]
fild dword [esp + 0x18]
fld qword [esp + 0xbc]
mov edx, dword [0x500738]
mov eax, dword [0x52d604]
fmul st(1)
mov ecx, dword [0x52d600]
push edx
push eax
push ecx
fadd qword [0x5346c0]
push eax
mov eax, dword [0x534474]
push ecx
mov ecx, dword [0x534470]
push edi
push edi
fstp qword [0x5346d8]
fld qword [esp + 0xd0]
fmul st(1)
push eax
push ecx
mov ecx, dword [0x5346dc]
fadd qword [0x5346c8]
fstp qword [0x5346e0]
mov edx, dword [0x5346e4]
mov eax, dword [0x5346e0]
push edx
mov edx, dword [0x5346d8]
push eax
mov eax, dword [0x5346cc]
push ecx
mov ecx, dword [0x5346c8]
push edx
mov edx, dword [0x5346c4]
push eax
mov eax, dword [0x5346c0]
push ecx
push edx
push eax
fstp st(0)
call fcn.0041ba90
add esp, 0x4c
lea ecx, [esp + 0x1c]
push ecx
call dword [0x4ffc6c]
lea edx, [esp + 0x20]
push 0xfffffffffffffffd
push edx
call ebx
mov eax, dword [0x534728]
add esp, 0xc
cmp eax, 1
jne 0x4a518b
push 0x158
call fcn.004a021c
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
cmp esi, edi
mov byte [esp + 0xc8], 1
je 0x4a515f
mov eax, dword [0x500730]
mov edx, dword [0x500798]
mov cl, byte [eax]
mov al, byte [edx]
push ecx
mov ecx, dword [0x500794]
push eax
mov dl, byte [ecx]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x530a8c
call fcn.0049ffc4
push 0x5346d8
mov ecx, esi
call dword [0x4ffdd0]
mov dword [esi], 0x501058
jmp 0x4a5161
xor esi, esi
cmp esi, edi
mov byte [esp + 0xc8], 0
jne 0x4a5173
call dword [0x50064c]
lea eax, [esp + 0x1c]
push 1
push eax
push esi
call dword [0x4ff394]
push esi
call dword [0x4ff398]
add esp, 0x10
mov edx, dword [0x4ff8f8]
lea ecx, [esp + 0x1c]
push 1
push ecx
mov eax, dword [edx]
push eax
call dword [0x4ff3b0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x52d608]
add esp, 0xc
inc eax
mov dword [esp + 0x10], eax
dec eax
cmp eax, ecx
jl 0x4a5039
call fcn.0044b420
push 1
call dword [0x500c28]
lea ecx, [esp + 0x20]
push ecx
call dword [0x4ff3dc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
mov dword [edx], 1
lea edx, [esp + 0x64]
push ecx
push edx
push 0x534718
push 0x534700
mov dword [eax], 1
call dword [0x4fe0dc]
mov eax, dword [0x52d60c]
add esp, 0x18
cmp eax, edi
jne 0x4a5213
push 0x9c9d
jmp 0x4a5218
push 0x9c91
call dword [0x500cc4]
add esp, 4
push edi
push 0xffff
call dword [0x500cc8]
add esp, 8
jmp 0x4a552a
lea eax, [esp + 0x1c]
push eax
push 0x534570
call dword [0x4ffc70]
add esp, 8
call dword [0x4ff3b4]
mov eax, dword [0x4ffa0c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp edx, edi
mov edx, dword [eax + 0x1c]
sete cl
mov esi, ecx
lea ecx, [eax + 0x1c]
call dword [edx + 4]
cmp esi, 1
push 0xfffffffffffffffa
jne 0x4a528b
mov esi, dword [0x4ff3e8]
push 0x534570
call esi
mov eax, dword [0x4ff8f8]
push 0x534570
mov ecx, dword [eax]
push ecx
jmp 0x4a52a9
mov edx, dword [0x4ffa0c]
mov esi, dword [0x4ff3e8]
push edx
call esi
mov ecx, dword [0x4ff8f8]
mov eax, dword [0x4ffa0c]
push eax
mov edx, dword [ecx]
push edx
call dword [0x4ff3d4]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call dword [0x4ffc6c]
lea ecx, [esp + 0x20]
push 0xfffffffffffffffd
push ecx
call esi
mov eax, dword [0x4ff8f8]
lea edx, [esp + 0x28]
push 1
push edx
mov ecx, dword [eax]
push ecx
call dword [0x4ff3b0]
call fcn.0044b420
push 1
call dword [0x500c28]
mov esi, dword [0x4ff3dc]
push 0x534570
mov dword [0x52d5f8], 0x3ef
mov dword [0x534720], edi
mov dword [0x534724], edi
call esi
lea edx, [esp + 0x3c]
push edx
call esi
add esp, 0x24
mov dword [0x5346f8], edi
call dword [0x500cf8]
call dword [0x500cac]
jmp 0x4a552a
mov dword [0x5346f8], edi
mov dword [0x534720], edi
mov dword [0x534724], edi
mov edi, dword [0x4ff3e8]
push 0xfffffffffffffffd
push 0x534570
mov dword [0x52d5f8], 0x3ef
mov dword [0x52d608], 1
call edi
mov ebx, dword [0x4ff3dc]
push 0x534570
call ebx
add esp, 0xc
call dword [0x500cac]
call dword [0x500cf8]
mov eax, dword [0x4ffa0c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
mov edx, dword [eax + 0x1c]
sete cl
mov esi, ecx
lea ecx, [eax + 0x1c]
call dword [edx + 4]
cmp esi, 1
je 0x4a53b2
mov eax, dword [0x4ffa0c]
push 0xfffffffffffffffd
push eax
call edi
mov ecx, dword [0x4ffa0c]
push ecx
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a0480
mov eax, 0x3ea
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5346c0
call dword [0x500ba8]
add esp, 4
mov esi, eax
call fcn.0044b470
cmp esi, 0x3ea
je 0x4a545a
cmp esi, 0x3e9
je 0x4a545a
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov eax, dword [0x52d60c]
cmp eax, edi
jne 0x4a541e
push 0x9c9d
jmp 0x4a5423
push 0x9c91
call dword [0x500cc4]
add esp, 4
push edi
push 0xffff
call dword [0x500cc8]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x64]
push eax
push ecx
push 0x534718
push 0x534700
call dword [0x4fe0dc]
add esp, 0x18
jmp 0x4a552a
mov dword [0x5346f8], edi
mov edi, dword [0x4ff3e8]
push 0xfffffffffffffffd
push 0x534570
call edi
mov ebx, dword [0x4ff3dc]
push 0x534570
call ebx
xor esi, esi
add esp, 0xc
mov dword [0x52d5f8], 0x3ef
mov dword [0x534720], esi
mov dword [0x534724], esi
mov dword [0x52d608], 1
call dword [0x500cac]
call dword [0x500cf8]
mov eax, dword [0x4ffa0c]
xor edx, edx
mov ecx, dword [eax + 0xc]
cmp ecx, esi
lea ecx, [eax + 0x1c]
sete dl
mov eax, dword [ecx]
mov esi, edx
call dword [eax + 4]
cmp esi, 1
je 0x4a54e2
mov ecx, dword [0x4ffa0c]
push 0xfffffffffffffffd
push ecx
call edi
mov edx, dword [0x4ffa0c]
push edx
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a0480
mov eax, 0x3ea
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x9c61
call dword [0x500cc4]
push edi
push 0xffff
call dword [0x500cc8]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a0480
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov eax, 0x3ef
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret