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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5192f4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5750c8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
call fcn.0048fe70
fmul qword [0x554b90]
fstp qword [esp + 0x14]
call fcn.0048fe70
fstp qword [esp + 0x84]
call fcn.0048fe70
fmul qword [0x554e48]
mov eax, dword [esi + 0x34]
fsubr qword [esp + 0x84]
fmul qword [0x554b90]
fsubr qword [esp + 0x14]
fstp dword [esp + 0x10]
cmp eax, dword [esi + 0x88]
je 0x50340d
cmp dword [esi + 0xb8], 0
jle 0x503d34
fld1
fcomp dword [esi + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x50318e
call fcn.0048fe70
fstp qword [esp + 0x84]
call fcn.0048fe70
fmul qword [0x554e48]
fsubr qword [esp + 0x84]
fld dword [esi + 0x7c]
fld1
fsubrp st(1)
fmulp st(1)
fmul qword [0x554e40]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fldz
mov ebx, 1
test byte [0x5fcd2c], bl
jne 0x503223
mov eax, dword [0x5b2c30]
fld dword [0x5768e0]
mov ecx, dword [0x5b2c30]
fstp dword [esp + 0x94]
mov ecx, dword [ecx + 0x2c]
or dword [0x5fcd2c], ebx
mov eax, dword [eax + 0x30]
inc ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jns 0x5031d6
fadd dword [0x554b74]
inc eax
fstp dword [esp + 0xb0]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jns 0x5031ee
fadd dword [0x554b74]
fstp dword [esp + 0xb4]
lea ecx, [esp + 0x94]
mov eax, 0x5fcd20
lea edx, [esp + 0xb0]
fstp dword [esp + 0xb8]
call fcn.004037a0
push 0x5290f0
call fcn.0045f177
fldz
add esp, 4
cmp dword [esi + 0xb8], 0x3ffc
fld dword [0x5fcd20]
fst dword [esp + 0x14]
fld dword [0x5fcd24]
fst dword [esp + 0x18]
fld dword [0x5fcd28]
fst dword [esp + 0x1c]
jge 0x503290
movzx ecx, word [esi + 0xb8]
shr ecx, 4
fld dword [ecx*4 + 0x547b98]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdiv qword [0x5551b8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x14]
fld st(2)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fmulp st(1)
fstp dword [esp + 0x1c]
jmp 0x503296
fstp st(2)
fstp st(0)
fstp st(0)
fld dword [esp + 0x14]
mov byte [0x578454], 0
fstp dword [esp + 0x34]
mov ecx, 0x10
fld dword [esp + 0x18]
mov esi, 0x57c348
fstp dword [esp + 0x48]
mov edi, 0x577c14
fld dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x5c]
fld1
fstp dword [esp + 0x70]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
add dword [0x578458], ebx
fst dword [esp + 0x54]
mov ecx, 0x10
fst dword [esp + 0x58]
lea esi, [esp + 0x34]
fstp dword [esp + 0x60]
mov edi, 0x578414
fld dword [esp + 0x10]
push ebx
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x68]
fld qword [0x5551b0]
fadd st(1)
fstp dword [esp + 0x6c]
fadd st(0), st(0)
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], ebx
mov ebx, 0x576b80
call fcn.0041b7e0
xor edi, edi
mov dword [esp + 0x80], edi
mov esi, dword [0x5b2c30]
cmp esi, edi
je 0x50335d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [esp + 0x84]
push ecx
call esi
cmp eax, edi
je 0x503382
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
mov dword [esp + 0x128], edi
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0x7f], al
mov eax, esp
mov byte [eax], cl
mov cl, byte [esp + 0x7f]
mov dl, ch
mov dword [esp + 0x18], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
push edi
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x130], 0xffffffff
call esi
cmp eax, edi
je 0x503d34
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
jmp 0x503d34
fld1
mov ebx, 1
fcomp dword [esi + 0x7c]
mov dword [esi + 0x34], ebx
fnstsw ax
test ah, 0x41
jne 0x5036c3
call fcn.0048fe70
fstp qword [esp + 0x84]
call fcn.0048fe70
fmul qword [0x554e48]
mov ecx, dword [0x5b2c10]
mov edx, dword [ecx]
fsubr qword [esp + 0x84]
mov eax, dword [edx + 8]
fld dword [esi + 0x7c]
fld1
fsubrp st(1)
fmulp st(1)
fmul qword [0x554e40]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
call eax
call fcn.0048fdd0
fadd qword [0x554b68]
fstp dword [esp + 0x24]
call fcn.0048fe70
fmul qword [0x554e48]
mov ecx, dword [esi + 0x98]
mov esi, 0x57c348
mov edi, 0x577c14
fadd qword [0x554b68]
push ebx
fstp dword [esp + 0x38]
fld dword [esp + 0x28]
fstp dword [esp + 0x4c]
fldz
fst dword [esp + 0x60]
fld1
fstp dword [esp + 0x74]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [ecx + 8]
mov byte [0x578454], 0
fstp dword [esp + 0x18]
mov ecx, 0x10
fld dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x68]
fadd st(0), st(0)
add dword [0x578458], ebx
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
mov ecx, 0x10
fst dword [esp + 0x6c]
lea esi, [esp + 0x38]
mov edi, 0x578414
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], ebx
mov ebx, 0x576b80
call fcn.0041b7e0
movzx edx, byte [0x576b6c]
fld dword [0x5551ac]
sub esp, 0x14
mov eax, esp
mov byte [eax], dl
movzx ecx, byte [0x576b6d]
fstp dword [esp + 0x10]
fld dword [0x5551a8]
fstp dword [esp + 0xc]
fld dword [0x5551a4]
mov byte [eax + 1], cl
movzx edx, byte [0x576b6e]
fstp dword [esp + 8]
fld dword [0x554c08]
fstp dword [esp + 4]
mov dword [esp + 0x28], esp
mov byte [eax + 2], dl
movzx ecx, byte [0x576b6f]
mov byte [eax + 3], cl
call fcn.00403670
add esp, 0x14
call fcn.0048fdd0
fadd qword [0x554b68]
fstp dword [esp + 0x30]
call fcn.0048fe70
fstp qword [esp + 0x14]
call fcn.0048fe70
fmul qword [0x554e48]
mov byte [0x578454], 0
mov eax, 1
mov ecx, 0x10
fsubr qword [esp + 0x14]
mov esi, 0x57c348
mov edi, 0x577c14
rep movsd dword es:[edi], dword [esi]
fadd qword [0x554b68]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fstp dword [esp + 0x48]
fldz
fst dword [esp + 0x5c]
fld1
fstp dword [esp + 0x70]
add dword [0x578458], eax
mov ecx, 0x10
lea esi, [esp + 0x34]
fst dword [esp + 0x38]
mov edi, 0x578414
fst dword [esp + 0x3c]
push eax
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fadd qword [0x554c18]
fstp dword [esp + 0x68]
fld dword [esp + 0x28]
fst dword [esp + 0x6c]
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
movzx edx, byte [0x576b6c]
fld dword [0x5551ac]
sub esp, 0x14
mov eax, esp
mov byte [eax], dl
movzx ecx, byte [0x576b6d]
fstp dword [esp + 0x10]
fld dword [0x5551a8]
fstp dword [esp + 0xc]
fld dword [0x5551a0]
mov byte [eax + 1], cl
movzx edx, byte [0x576b6e]
fstp dword [esp + 8]
fld dword [0x5551a4]
fstp dword [esp + 4]
mov byte [eax + 2], dl
movzx ecx, byte [0x576b6f]
mov dword [esp + 0x28], esp
mov byte [eax + 3], cl
call fcn.00403670
mov ecx, dword [0x5b2c10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 0x14
call eax
jmp 0x5037de
call fcn.0048fdd0
fadd qword [0x554b68]
fstp dword [esp + 0x78]
call fcn.0048fe70
fadd qword [0x554b68]
mov byte [0x578454], 0
mov ecx, 0x10
mov esi, 0x57c348
fstp dword [esp + 0x34]
mov edi, 0x577c14
fld dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x48]
fldz
fst dword [esp + 0x5c]
fld1
fstp dword [esp + 0x70]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
add dword [0x578458], ebx
fst dword [esp + 0x40]
fst dword [esp + 0x44]
mov ecx, 0x10
fst dword [esp + 0x4c]
lea esi, [esp + 0x34]
fst dword [esp + 0x50]
mov edi, 0x578414
fst dword [esp + 0x54]
push ebx
fst dword [esp + 0x5c]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], ebx
mov ebx, 0x576b80
call fcn.0041b7e0
mov ecx, dword [0x5b2c10]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
movzx ecx, byte [0x576b6c]
fld dword [0x5551ac]
sub esp, 0x14
mov eax, esp
mov byte [eax], cl
movzx edx, byte [0x576b6d]
fstp dword [esp + 0x10]
fld dword [0x5551a8]
fstp dword [esp + 0xc]
fld dword [0x5551a0]
mov byte [eax + 1], dl
movzx ecx, byte [0x576b6e]
fstp dword [esp + 8]
fld dword [0x554c08]
fstp dword [esp + 4]
mov byte [eax + 2], cl
movzx edx, byte [0x576b6f]
mov dword [esp + 0x28], esp
mov byte [eax + 3], dl
call fcn.00403670
mov ecx, dword [0x5b2c10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
add esp, 0x14
call edx
mov eax, dword [0x5b2c08]
fld dword [0x5768e0]
mov ecx, dword [0x5b2c08]
fstp dword [esp + 0x7c]
mov ecx, dword [ecx + 0x2c]
mov eax, dword [eax + 0x30]
inc ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jns 0x50380a
fadd dword [0x554b74]
inc eax
fstp dword [esp + 0x98]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jns 0x503822
fadd dword [0x554b74]
fstp dword [esp + 0x9c]
lea ecx, [esp + 0x7c]
fldz
lea eax, [esp + 0xbc]
lea edx, [esp + 0x98]
fstp dword [esp + 0xa0]
call fcn.004037a0
fld dword [eax]
fstp dword [esp + 0x7c]
mov ecx, 0x10
fld dword [eax + 4]
mov esi, 0x57c348
fstp dword [esp + 0x78]
mov edi, 0x577c14
fld dword [eax + 8]
mov ebx, 0x576b80
fstp dword [esp + 0x94]
mov byte [0x578454], 0
fld dword [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x34]
fld dword [esp + 0x78]
fstp dword [esp + 0x48]
fld dword [esp + 0x94]
fstp dword [esp + 0x5c]
fld1
fstp dword [esp + 0x70]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
mov eax, 1
fst dword [esp + 0x40]
add dword [0x578458], eax
fst dword [esp + 0x44]
mov ecx, 0x10
fst dword [esp + 0x4c]
lea esi, [esp + 0x34]
fst dword [esp + 0x50]
mov edi, 0x578414
fst dword [esp + 0x54]
push eax
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fsub qword [0x554fd0]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x68]
fld qword [0x554dc8]
fsubr st(1)
fstp dword [esp + 0x6c]
fadd st(0), st(0)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x9c]
mov eax, dword [ecx + 0x7c]
call fcn.00492d90
test al, al
je 0x50395e
fld dword [0x5b30ac]
fmul qword [0x554cf0]
fadd dword [0x5bca90]
fld1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x503981
fstp st(1)
jmp 0x503983
fld dword [0x5bca90]
fld dword [0x5b30ac]
fmul qword [0x554cf0]
fsubp st(1)
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x503981
fstp st(1)
jmp 0x503983
fstp st(0)
fstp dword [0x5bca90]
fld dword [0x5bca90]
fmul qword [0x555198]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fsubr qword [0x554b78]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
mov bl, byte [esp + 0x28]
mov ecx, dword [0x5b2c08]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
fldcw word [esp + 0x30]
call eax
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov byte [eax], bl
mov byte [eax + 1], bl
mov byte [eax + 2], bl
mov byte [eax + 3], 0xff
call fcn.0041bbf0
mov ecx, dword [0x5b2c08]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
fld dword [0x5768e0]
mov eax, dword [0x5b2c0c]
fstp dword [esp + 0x90]
mov ecx, dword [0x5b2c0c]
mov ecx, dword [ecx + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
test ecx, ecx
jns 0x503a22
fadd qword [0x5554d0]
fmul qword [0x5554c8]
inc eax
mov dword [esp + 0x14], eax
fadd qword [0x554b68]
fstp dword [esp + 0xa4]
fild dword [esp + 0x14]
jns 0x503a46
fadd dword [0x554b74]
fstp dword [esp + 0xa8]
lea ecx, [esp + 0x90]
fldz
lea eax, [esp + 0xc8]
lea edx, [esp + 0xa4]
fstp dword [esp + 0xac]
call fcn.004037a0
fld dword [eax]
fstp dword [esp + 0x28]
mov ecx, 0x10
fld dword [eax + 4]
mov esi, 0x57c348
fstp dword [esp + 0x30]
mov edi, 0x577c14
fld dword [eax + 8]
mov ebx, 0x576b80
fstp dword [esp + 0x14]
mov byte [0x578454], 0
fld dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fstp dword [esp + 0x48]
fld dword [esp + 0x14]
fstp dword [esp + 0x5c]
fld1
fstp dword [esp + 0x70]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
mov eax, 1
fst dword [esp + 0x40]
add dword [0x578458], eax
fst dword [esp + 0x44]
mov ecx, 0x10
fst dword [esp + 0x4c]
lea esi, [esp + 0x34]
fst dword [esp + 0x50]
mov edi, 0x578414
fst dword [esp + 0x54]
push eax
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x68]
fadd qword [0x5554c0]
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fstp dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
mov ecx, dword [0x5b2c0c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0x8b], al
mov eax, esp
mov byte [eax], cl
mov cl, byte [esp + 0x8b]
mov dl, ch
mov dword [esp + 0x18], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [0x5b2c0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [eax + 0x80]
push edx
lea eax, [esp + 0xdc]
push str._u__u_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, 2
add esp, 0x10
test byte [0x5fcd2c], al
jne 0x503bec
or dword [0x5fcd2c], eax
mov eax, dword [0x5b3674]
add eax, 0x28
je 0x503be2
mov eax, dword [eax + 0x24]
mov edx, dword [0x5b367c]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
test eax, eax
je 0x503be2
mov eax, dword [eax]
mov dword [0x5fcd1c], eax
jmp 0x503bec
mov dword [0x5fcd1c], 0x54fa50
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x8c], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x130], 1
fldz
push ecx
fst dword [esp]
fld1
push 0
push ecx
fstp dword [esp]
fld dword [0x55526c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], 0xff745d3b
fld dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
mov dword [esp + 0xbc], esp
fld dword [0x5554b8]
fstp dword [eax + 4]
fstp dword [eax + 8]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x60], esp
mov byte [esp + 0x160], 3
mov edx, dword [0x5fcd1c]
push ecx
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
add esp, 4
or esi, 0xffffffff
push eax
mov dword [esp + 0x164], esi
call fcn.0041fa70
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x8c], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x130], 4
fldz
push ecx
fst dword [esp]
fld1
push 0
push ecx
fstp dword [esp]
fld dword [0x55526c]
push 0xf
sub esp, 8
fstp dword [esp + 4]
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], 0xff745d3b
fld dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
mov dword [esp + 0xbc], esp
fld dword [0x554fd8]
fstp dword [eax + 4]
fstp dword [eax + 8]
mov byte [esp + 0x154], 6
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x60], esp
push ecx
lea edx, [esp + 0x110]
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
add esp, 4
push eax
mov dword [esp + 0x164], esi
call fcn.0041fa70
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret 4