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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7417
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4d8684]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
call 0x52cc48
push eax
lea ecx, [esp + 0x14]
call fcn.004bf36f
mov dword [esp + 0x80], ebx
call 0x52cc48
push eax
lea ecx, [esp + 0x1c]
call fcn.004bf36f
mov byte [esp + 0x80], 1
fldz
cmp dword [esi + 0x22c4], ebx
fst qword [esp + 0x2c]
fstp qword [esp + 0x54]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
jne 0x4d657a
call dword [fcn.004af368]
mov dword [esi + 0x22c4], eax
mov dword [esp + 0x20], 1
call dword [fcn.004af368]
sub eax, dword [esi + 0x22c8]
mov dword [esp + 0x14], eax
jne 0x4d6594
mov dword [esp + 0x14], 1
fldz
lea ecx, [esi + 0x237c]
fstp qword [esi + 0x22e0]
mov dword [esp + 0x38], ecx
call fcn.004bf584
cmp dword [esi + 0x1f88], ebx
je 0x4d669e
mov eax, dword [esi + 0x1f6c]
cmp dword [eax + 0x34], ebx
je 0x4d669e
lea edx, [esi + 0x1eb4]
mov dword [esp + 0x1c], 0x28
mov eax, dword [edx]
cmp eax, ebx
je 0x4d6682
mov ecx, dword [eax + 0x1b8]
or ecx, dword [eax + 0x1bc]
jne 0x4d6604
mov ecx, dword [eax + 0x1a8]
mov dword [eax + 0x1b8], ecx
mov ecx, dword [eax + 0x1ac]
mov dword [eax + 0x1bc], ecx
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1a8]
sub eax, dword [ecx + 0x1b8]
mov edi, dword [ecx + 0x1ac]
sbb edi, dword [ecx + 0x1bc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
fild qword [esp + 0x44]
fmul qword [0x4be9b8]
fild dword [esp + 0x14]
fdiv qword [0x4be9e0]
fdivp st(1)
fstp qword [esp + 0x5c]
fld qword [esp + 0x5c]
fst qword [ecx + 0x1d0]
fcomp qword [0x4be9e8]
fnstsw ax
test ah, 0x41
jne 0x4d665c
call fcn.004e67bc
mov eax, dword [edx]
fld qword [esp + 0x5c]
mov ecx, dword [eax + 0x1a8]
fadd qword [esp + 0x54]
mov dword [eax + 0x1b8], ecx
mov ecx, dword [eax + 0x1ac]
fstp qword [esp + 0x54]
mov dword [eax + 0x1bc], ecx
add edx, 4
dec dword [esp + 0x1c]
jne 0x4d65d4
fld qword [esp + 0x54]
fstp qword [esi + 0x22e8]
jmp 0x4d71a9
mov eax, dword [esi + 0x1f6c]
call fcn.004cbda8
test eax, eax
je 0x4d67fc
lea edi, [esi + 0x1eb4]
mov dword [esp + 0x1c], 0x28
mov eax, dword [edi]
cmp eax, ebx
je 0x4d67ef
mov ecx, dword [eax + 0x198]
or ecx, dword [eax + 0x19c]
jne 0x4d66ef
mov ecx, dword [eax + 0x188]
mov dword [eax + 0x198], ecx
mov ecx, dword [eax + 0x18c]
mov dword [eax + 0x19c], ecx
fild dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax + 0x188]
sub ecx, dword [eax + 0x198]
fdiv qword [0x4be9e0]
mov edx, dword [eax + 0x18c]
sbb edx, dword [eax + 0x19c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
push ecx
push ecx
fstp qword [esp + 0x64]
fild qword [esp + 0x74]
fmul qword [0x4be9b8]
fdiv qword [esp + 0x64]
fstp qword [esp]
call fcn.004e6740
mov eax, dword [edi]
mov ecx, dword [eax + 0x188]
mov dword [eax + 0x198], ecx
mov ecx, dword [eax + 0x18c]
mov dword [eax + 0x19c], ecx
mov eax, dword [edi]
mov ecx, dword [eax + 0x1b8]
or ecx, dword [eax + 0x1bc]
jne 0x4d6779
mov ecx, dword [eax + 0x1a8]
mov dword [eax + 0x1b8], ecx
mov ecx, dword [eax + 0x1ac]
mov dword [eax + 0x1bc], ecx
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1a8]
sub eax, dword [ecx + 0x1b8]
mov edx, dword [ecx + 0x1ac]
sbb edx, dword [ecx + 0x1bc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [0x4be9b8]
fdiv qword [esp + 0x5c]
fstp qword [esp + 0x5c]
fld qword [esp + 0x5c]
fst qword [ecx + 0x1d0]
fcomp qword [0x4be9e8]
fnstsw ax
test ah, 0x41
jne 0x4d67c9
call fcn.004e67bc
mov eax, dword [edi]
fld qword [esp + 0x5c]
mov ecx, dword [eax + 0x1a8]
fadd qword [esp + 0x54]
mov dword [eax + 0x1b8], ecx
mov ecx, dword [eax + 0x1ac]
fstp qword [esp + 0x54]
mov dword [eax + 0x1bc], ecx
add edi, 4
dec dword [esp + 0x1c]
jne 0x4d66bf
cmp dword [esi + 0x1fa4], ebx
jne 0x4d71a9
mov ecx, dword [esi + 0x1f6c]
mov eax, ecx
call fcn.004cbda8
test eax, eax
jne 0x4d6821
cmp dword [esi + 0x1f88], ebx
jne 0x4d6837
mov eax, ecx
call fcn.004cbda8
test eax, eax
je 0x4d6873
mov eax, ecx
call fcn.004cbe10
test eax, eax
je 0x4d6873
lea eax, [esp + 0x20]
push 0x198
push eax
call 0x51ff94
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 2
call fcn.004bf4cc
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
jmp 0x4d71a9
push esi
lea edi, [esp + 0x68]
lea edx, [esp + 0x28]
lea ebx, [esp + 0x40]
call fcn.004d5678
lea ecx, [esp + 0x4c]
mov edx, esi
call fcn.004d5818
lea eax, [esp + 0x24]
push eax
mov eax, ebx
push eax
mov ebx, edi
call fcn.004d5bed
cmp dword [esp + 0x20], 0
je 0x4d68ba
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x22d0], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x22d4], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esi + 0x22d0]
mov ecx, dword [esp + 0x50]
sbb ecx, dword [esi + 0x22d4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fild qword [esp + 0x44]
mov eax, dword [esp + 0x64]
fld qword [0x4be9b8]
mov ecx, eax
add ecx, dword [esp + 0x3c]
fmul st(1), st(0)
fild dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
mov edx, ecx
fdiv qword [0x4be9e0]
adc edx, dword [esp + 0x40]
add eax, dword [esp + 0x24]
mov dword [esp + 0x48], edx
adc ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
xor ebx, ebx
cmp dword [esi + 0x22dc], ebx
fdivp st(2)
fxch st(1)
fstp qword [esp + 0x5c]
fild qword [esp + 0x44]
fmul st(1)
fild qword [esp + 0x6c]
fmulp st(2)
fsubrp st(1)
fstp qword [esp + 0x6c]
jne 0x4d6942
mov dword [esi + 0x2370], ebx
mov eax, dword [esi + 0x2370]
fld qword [esp + 0x5c]
fstp qword [esi + eax*8 + 0x22f8]
mov eax, dword [esi + 0x2370]
inc eax
push 0xf
pop ecx
cdq
mov edi, ecx
idiv edi
mov eax, dword [esi + 0x22dc]
cmp eax, ecx
mov dword [esi + 0x2370], edx
jge 0x4d69a7
inc eax
cmp eax, ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x22dc], eax
jle 0x4d699d
mov ecx, dword [esi + 0x22dc]
lea eax, [esi + 0x22f8]
fld qword [eax]
add eax, 8
dec ecx
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
jne 0x4d698d
fild dword [esp + 0x20]
fdivr qword [esp + 0x2c]
jmp 0x4d69c7
lea eax, [esi + 0x22f8]
fld qword [eax]
add eax, 8
dec ecx
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
jne 0x4d69ad
fld qword [esp + 0x2c]
fdiv qword [0x4be9d8]
fstp qword [esp + 0x2c]
fldz
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4d69ef
push 0x1e
fst qword [esp + 0x30]
lea edi, [esi + 0x22f8]
pop ecx
xor eax, eax
mov dword [esi + 0x22dc], ebx
rep stosd dword es:[edi], eax
cmp dword [esi + 0x2180], ebx
je 0x4d6a61
push ecx
fstp st(0)
fld qword [esp + 0x60]
push ecx
lea eax, [esp + 0x24]
fstp qword [esp]
push eax
call 0x520202
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x20]
push 0x4b8810
push eax
mov byte [esp + 0x88], 3
call 0x51ff3b
pop ecx
pop ecx
push edi
mov byte [esp + 0x84], 4
mov ecx, dword [esi + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004bf355
fldz
cmp dword [esi + 0x1fe0], ebx
jne 0x4d6a6f
fld qword [esp + 0x2c]
jmp 0x4d6a73
fld qword [esp + 0x5c]
fstp qword [esi + 0x22e0]
fld qword [esp + 0x54]
fstp qword [esi + 0x22e8]
fld qword [esp + 0x5c]
fstp qword [esi + 0x22f0]
fcom qword [esi + 0x22e0]
fnstsw ax
test ah, 0x44
jp 0x4d6aa6
mov dword [esp + 0x14], ebx
mov dword [esi + 0x22dc], ebx
jmp 0x4d6ab9
fld qword [esp + 0x6c]
fdiv qword [esi + 0x22e0]
call 0x54cbf0
mov dword [esp + 0x14], eax
fcomp qword [esi + 0x22e0]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x22d8], eax
push 0x3c
pop edi
fnstsw ax
mov ebx, 0xe10
test ah, 1
je 0x4d6b64
mov eax, dword [esi + 0x22d0]
cmp eax, dword [esp + 0x24]
jne 0x4d6af4
mov eax, dword [esi + 0x22d4]
cmp eax, dword [esp + 0x28]
je 0x4d6b64
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
je 0x4d6b64
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x48]
je 0x4d6b64
lea eax, [esp + 0x1c]
push 0x17a
push eax
call 0x51ff94
mov byte [esp + 0x88], 5
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edi
idiv ecx
push edx
cdq
idiv ecx
mov eax, dword [esp + 0x20]
mov ecx, ebx
push edx
cdq
idiv ecx
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x28]
push eax
call fcn.004bf640
mov byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x38]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.004bf355
jmp 0x4d6b6d
lea ecx, [esp + 0x10]
call fcn.004bf584
lea eax, [esp + 0x10]
lea ecx, [esi + 0x2374]
push eax
call fcn.004bf4cc
call 0x548325
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4d6b9f
mov edi, dword [esi + 0x1f6c]
lea eax, [esp + 0x10]
push eax
call fcn.004c9066
push 0x3c
pop edi
cmp dword [ebp + 0xc], 0
jne 0x4d702a
mov eax, dword [0x4dd494]
mov dword [esp + 0x20], eax
call 0x530a1e
mov eax, dword [eax + 4]
push 0
push 0x4b881c
push dword [esp + 0x28]
mov ecx, eax
call 0x52fe67
fldz
test eax, eax
fcomp qword [esi + 0x22e0]
je 0x4d6cf5
mov eax, dword [esp + 0x14]
cdq
idiv ebx
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
cdq
idiv edi
fnstsw ax
test ah, 1
mov edi, edx
jne 0x4d6c18
lea eax, [esp + 0x20]
push 0x318
push eax
call 0x51ff94
mov byte [esp + 0x88], 6
jmp 0x4d6cd5
xor ebx, ebx
inc ebx
cmp dword [esp + 0x1c], ebx
jle 0x4d6c3f
lea eax, [esp + 0x20]
push 0x313
push eax
call 0x51ff94
push edi
mov byte [esp + 0x8c], 7
push dword [esp + 0x28]
jmp 0x4d6c5a
jne 0x4d6c6c
lea eax, [esp + 0x20]
push 0x314
push eax
call 0x51ff94
push edi
mov byte [esp + 0x8c], 8
push ebx
mov eax, dword [eax]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004bf640
add esp, 0x18
jmp 0x4d6ce4
cmp edi, ebx
jle 0x4d6c8a
lea eax, [esp + 0x20]
push 0x315
push eax
call 0x51ff94
mov byte [esp + 0x88], 9
push edi
jmp 0x4d6ca4
jne 0x4d6cb6
lea eax, [esp + 0x20]
push 0x316
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xa
push ebx
mov eax, dword [eax]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bf640
add esp, 0x14
jmp 0x4d6ce4
test edi, edi
jne 0x4d702a
lea eax, [esp + 0x20]
push 0x317
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xb
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.004bf640
add esp, 0x10
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x20]
jmp 0x4d6e99
fnstsw ax
test ah, 1
je 0x4d7021
mov eax, dword [esi + 0x22d0]
cmp eax, dword [esp + 0x24]
jne 0x4d6d1c
mov eax, dword [esi + 0x22d4]
cmp eax, dword [esp + 0x28]
je 0x4d7021
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
jne 0x4d6ea6
call dword [fcn.004af368]
fld qword [0x4be9e0]
sub eax, dword [esi + 0x22c4]
fcomp qword [esi + 0x22e0]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [esp + 0x14], eax
fnstsw ax
test ah, 5
jp 0x4d6dba
lea eax, [esp + 0x1c]
push 0xa5
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xc
fld qword [esi + 0x22e0]
mov eax, dword [eax]
fmul qword [0x4be9b8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cdq
fstp qword [esp]
mov ecx, edi
idiv ecx
push edx
cdq
idiv edi
mov eax, dword [esp + 0x20]
push edx
cdq
idiv ebx
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x28]
push eax
call fcn.004bf640
mov byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x38]
add esp, 0x1c
jmp 0x4d6e99
fld qword [0x4be9f8]
fcomp qword [esi + 0x22e0]
fnstsw ax
test ah, 0x41
jne 0x4d6e40
lea eax, [esp + 0x2c]
push 0xb9
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xd
fld qword [esi + 0x22e0]
mov eax, dword [eax]
fmul qword [0x4be9f0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edi
idiv ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
call 0x54cbf0
push eax
mov eax, dword [esp + 0x28]
cdq
idiv edi
push dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push edx
cdq
idiv ebx
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x2c]
push eax
call fcn.004bf640
mov byte [esp + 0xa0], 1
mov ecx, dword [esp + 0x4c]
add esp, 0x20
jmp 0x4d6e99
lea eax, [esp + 0x24]
push 0xa6
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xe
fld qword [esi + 0x22e0]
mov eax, dword [eax]
fstp qword [esp]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edi
idiv ecx
push edx
cdq
idiv edi
mov eax, dword [esp + 0x20]
push edx
cdq
idiv ebx
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x28]
push eax
call fcn.004bf640
add esp, 0x1c
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
jmp 0x4d702a
fld qword [0x4be9e0]
fcomp qword [esi + 0x22e0]
fnstsw ax
test ah, 5
jp 0x4d6ee1
lea eax, [esp + 0x24]
push 0xa7
push eax
call 0x51ff94
mov byte [esp + 0x88], 0xf
fld qword [esi + 0x22e0]
fmul qword [0x4be9b8]
jmp 0x4d6f84
fld qword [0x4be9f8]
fcomp qword [esi + 0x22e0]
fnstsw ax
test ah, 0x41
jne 0x4d6f67
lea eax, [esp + 0x1c]
push 0xba
push eax
call 0x51ff94
mov byte [esp + 0x88], 0x10
fld qword [esi + 0x22e0]
mov eax, dword [eax]
fmul qword [0x4be9f0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edi
idiv ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
call 0x54cbf0
push eax
mov eax, dword [esp + 0x30]
cdq
idiv edi
push dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push edx
cdq
idiv ebx
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x2c]
push eax
call fcn.004bf640
mov byte [esp + 0xa0], 1
mov ecx, dword [esp + 0x3c]
add esp, 0x20
jmp 0x4d6fc0
lea eax, [esp + 0x24]
push 0xa8
push eax
call 0x51ff94
mov byte [esp + 0x88], 0x11
fld qword [esi + 0x22e0]
mov eax, dword [eax]
fstp qword [esp]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
cdq
mov ecx, edi
idiv ecx
push edx
cdq
idiv edi
mov eax, dword [esp + 0x20]
push edx
cdq
idiv ebx
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x28]
push eax
call fcn.004bf640
mov byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x40]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.004bf355
cmp dword [esi + 0x2180], 0
je 0x4d702a
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x34]
push 0x4b882c
push eax
mov byte [esp + 0x90], 0x12
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x84], 0x13
mov ecx, dword [esi + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004bf355
jmp 0x4d6e8d
lea ecx, [esp + 0x10]
call fcn.004bf584
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x22d0], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x22d4], eax
call dword [fcn.004af368]
mov dword [esi + 0x22c8], eax
mov eax, dword [esi + 0x1f6c]
cmp dword [eax + 0x34], 0
je 0x4d7118
lea ecx, [esp + 0x10]
call 0x51f4c8
test eax, eax
jne 0x4d7118
fldz
push 0x28
lea eax, [esi + 0x1eb4]
pop edx
mov ecx, dword [eax]
test ecx, ecx
je 0x4d7082
fadd qword [ecx + 0x1d0]
add eax, 4
dec edx
jne 0x4d7076
fld qword [0x4bea08]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4d7116
push ecx
push ecx
lea eax, [esp + 0x34]
fstp qword [esp]
push eax
call 0x522bbd
add esp, 0xc
mov byte [esp + 0x80], 0x14
push dword [eax]
lea eax, [esp + 0x1c]
push 0x586
push eax
call fcn.004d84f2
mov byte [esp + 0x8c], 1
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004bf355
lea eax, [esp + 0x2c]
push 0x4b883c
push eax
lea ecx, [esp + 0x20]
call fcn.004c2a78
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0x15
call fcn.004bf17b
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004bf355
jmp 0x4d7118
fstp st(0)
cmp dword [esi + 0x2180], 0
je 0x4d719b
mov eax, dword [esi + 0x1f6c]
mov eax, dword [eax + 0x1b0c]
lea ebx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004d5e35
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
call 0x5201d8
mov edi, eax
lea eax, [esp + 0x34]
push 0x4b8840
push eax
mov byte [esp + 0x90], 0x16
call 0x51ff3b
add esp, 0x10
push edi
mov byte [esp + 0x84], 0x17
mov ecx, dword [esi + 0x2180]
push eax
call fcn.00506e02
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004bf355
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.004bf4cc
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004bf622
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004bf355
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004bf355
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8