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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51bb25
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5750c8]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, ecx
fld dword [eax + 0x20]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x34]
add eax, 8
fld dword [eax + 0x1c]
mov ecx, 0x10
fstp dword [esp + 0x20]
lea esi, [esp + 0x54]
fld dword [eax + 0x20]
mov edi, 0x578414
fstp dword [esp + 0x28]
push 1
fld dword [esp + 0x38]
mov ebx, 0x576b80
fstp dword [esp + 0x58]
mov dword [esp + 0x34], 0
fld dword [esp + 0x24]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x6c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x80]
fld1
fstp dword [esp + 0x94]
fldz
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fstp dword [esp + 0x84]
fld dword [eax]
fstp dword [esp + 0x24]
fld dword [eax + 4]
fstp dword [esp + 0x2c]
fld dword [eax + 8]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x2c]
fadd st(1)
fstp dword [esp + 0x8c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
inc dword [0x578458]
call fcn.0041b7e0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0x2b], al
mov eax, esp
mov dl, ch
mov byte [eax], cl
movzx ecx, byte [esp + 0x2b]
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 [esi + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
fldz
push ecx
fst dword [esp]
push 0
movzx ecx, byte [0x576b6c]
sub esp, 0x10
mov eax, esp
mov byte [eax], cl
movzx edx, byte [0x576b6d]
fst dword [esp + 0xc]
fst dword [esp + 8]
fld dword [0x55526c]
mov byte [eax + 1], dl
fstp dword [esp + 4]
movzx ecx, byte [0x576b6e]
mov byte [eax + 2], cl
movzx edx, byte [0x576b6f]
mov edi, 3
mov dword [esp + 0x2c], esp
mov byte [eax + 3], dl
mov eax, dword [esp + 0x4c]
sub esp, 0x18
xor ebx, ebx
mov dword [esp + 0x1a0], ebx
fstp dword [esp + 0x14]
mov ecx, esp
fld dword [esi + 0xc]
lea edx, [esi + 0xac]
fadd qword [0x555708]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
mov dword [esp + 0x4c], esp
fstp dword [esp + 0x10]
fld dword [eax]
fstp dword [esp + 0xc]
push ecx
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
add esp, 4
push eax
mov ecx, edi
mov dword [esp + 0x1a4], 0xffffffff
call fcn.0041f9d0
mov ecx, dword [esi + 0x90]
sub ecx, dword [esi + 0x8c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x1c], ebx
je 0x4b6154
mov dword [esp + 0x38], ebx
mov edx, dword [esi + 0x7c]
cmp dword [edx + ebx*4], 0
lea eax, [edx + ebx*4]
je 0x4b6126
mov ecx, dword [eax]
cmp dword [ecx + 0x98], 0
je 0x4b6126
mov edi, dword [ecx + 0x98]
mov eax, dword [edi + 0xa8]
add edi, 0xa8
test eax, eax
jne 0x4b5934
call fcn.004f76a0
mov ecx, dword [edi]
test ecx, ecx
je 0x4b6126
mov edi, dword [esp + 0x38]
add edi, dword [esi + 0x8c]
mov edx, dword [esp + 0x34]
mov ecx, edi
lea eax, [esp + 0x94]
call fcn.00403dd0
mov ecx, dword [esi + 0x8c]
mov edx, dword [esp + 0x38]
fld dword [edx + ecx + 8]
lea eax, [edx + ecx + 8]
fstp dword [esp + 0x24]
fld1
fcom dword [eax]
fnstsw ax
test ah, 5
jp 0x4b599e
fld dword [edi + 8]
fld1
fsub st(1), st(0)
fxch st(1)
fdiv qword [0x554f40]
fld dword [esi + 0xa8]
fsub st(2)
fmulp st(1)
faddp st(1)
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov ecx, 0x10
fmul qword [0x554b80]
lea esi, [esp + 0x54]
mov edi, 0x578414
push 1
fstp dword [esp + 0x28]
mov ebx, 0x576b80
fld dword [esp + 0x28]
fst dword [esp + 0x58]
fstp dword [esp + 0x6c]
fst dword [esp + 0x80]
fstp dword [esp + 0x94]
fldz
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fstp dword [esp + 0x84]
fld dword [esp + 0x98]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x9c]
fadd st(1)
fstp dword [esp + 0x8c]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
inc dword [0x578458]
call fcn.0041b7e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x7c]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x9c], 0
mov ebx, dword [eax + 0x98]
mov dword [esp + 0x18], 0xff808080
jne 0x4b5ba1
mov eax, dword [ebx + 4]
cmp eax, dword [0x5b3094]
jg 0x4b5b08
cmp dword [ecx + 0x140], 3
jge 0x4b5b08
mov eax, dword [ebx + 0xa8]
lea edi, [ebx + 0xa8]
test eax, eax
jne 0x4b5a9d
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push ecx
movzx ecx, byte [0x576b6c]
mov eax, esp
mov byte [eax], cl
movzx edx, byte [0x576b6d]
mov byte [eax + 1], dl
movzx ecx, byte [0x576b6e]
mov byte [eax + 2], cl
movzx edx, byte [0x576b6f]
mov dword [esp + 0x18], esp
mov byte [eax + 3], dl
call fcn.00403590
mov eax, dword [edi]
add esp, 4
test eax, eax
jne 0x4b5ae7
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x3c], 0xff8b4f22
lea esi, [esp + 0x3c]
lea eax, [esp + 0xb0]
jmp 0x4b5b8a
mov ecx, dword [ebx + 0xb8]
lea edi, [ebx + 0xb8]
test ecx, ecx
jne 0x4b5b1d
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
movzx eax, byte [0x576b6e]
mov ecx, dword [0x576b6c]
mov byte [esp + 0x2a], al
movzx eax, byte [0x576b6f]
push ecx
mov byte [esp + 0x2f], al
mov eax, esp
mov dl, ch
mov byte [eax], cl
mov cl, byte [esp + 0x2e]
mov byte [eax + 1], dl
mov dl, byte [esp + 0x2f]
mov dword [esp + 0x18], esp
mov byte [eax + 2], cl
mov byte [eax + 3], dl
call fcn.0041bbf0
mov eax, dword [edi]
add esp, 4
test eax, eax
jne 0x4b5b71
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x40], 0xff808080
lea esi, [esp + 0x40]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x18]
call fcn.00403890
mov eax, dword [ebx + 4]
push eax
push 0x54d594
jmp 0x4b5e73
lea esi, [esp + 0x44]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0xff3c7801
call fcn.00403890
mov ecx, dword [ebx + 0xb8]
lea edi, [ebx + 0xb8]
test ecx, ecx
jne 0x4b5bcf
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
movzx eax, byte [0x576b6e]
mov ecx, dword [0x576b6c]
mov byte [esp + 0x22], al
movzx eax, byte [0x576b6f]
push ecx
mov byte [esp + 0x27], al
mov eax, esp
mov dl, ch
mov byte [eax], cl
mov cl, byte [esp + 0x26]
mov byte [eax + 1], dl
mov dl, byte [esp + 0x27]
mov dword [esp + 0x18], esp
mov byte [eax + 2], cl
mov byte [eax + 3], dl
call fcn.0041bbf0
mov eax, dword [edi]
add esp, 4
test eax, eax
jne 0x4b5c23
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
fild dword [ebx + 0xc0]
mov ecx, dword [ebx]
mov dword [esp + 0x14], ecx
fmul qword [0x554cc0]
mov eax, dword [0x576b6c]
mov dl, byte [0x576b6e]
mov byte [esp + 0x48], al
fidiv dword [esp + 0x14]
mov al, byte [0x576b6f]
mov byte [esp + 0x49], ah
mov byte [esp + 0x4a], dl
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x140], eax
fadd qword [0x5554e0]
fstp dword [esp + 0x14]
fldz
fst dword [esp + 0xc4]
fst dword [esp + 0xcc]
fst dword [esp + 0xc8]
fld1
fst dword [esp + 0xd0]
fld dword [esp + 0x14]
fld qword [0x554b90]
fsubr st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0xc0]
fld1
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0xdc]
fld dword [0x554d18]
fst dword [esp + 0xbc]
fxch st(4)
fst dword [esp + 0xd8]
fst dword [esp + 0xe8]
fst dword [esp + 0xf0]
fst dword [esp + 0xec]
fxch st(3)
fst dword [esp + 0xf4]
fxch st(2)
fstp dword [esp + 0xe4]
fstp dword [esp + 0x100]
fld dword [0x5768e0]
fst dword [esp + 0xe0]
fxch st(1)
fst dword [esp + 0xfc]
fxch st(2)
fst dword [esp + 0x10c]
fst dword [esp + 0x114]
fst dword [esp + 0x110]
fxch st(2)
fst dword [esp + 0x118]
fld dword [0x555704]
fst dword [esp + 0x108]
fld dword [0x5551a0]
fst dword [esp + 0x124]
fxch st(5)
fstp dword [esp + 0x104]
fxch st(3)
fst dword [esp + 0x120]
fst dword [esp + 0x130]
fst dword [esp + 0x138]
fstp dword [esp + 0x134]
fst dword [esp + 0x13c]
fstp dword [esp + 0x144]
fxch st(1)
fstp dword [esp + 0x12c]
fxch st(1)
fstp dword [esp + 0x148]
fstp dword [esp + 0x128]
mov ecx, dword [ebx + 0xb0]
lea edi, [ebx + 0xb0]
test ecx, ecx
jne 0x4b5dd3
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
test byte [esp + 0x30], 1
je 0x4b5e0c
and dword [esp + 0x30], 0xfffffffe
push 0
lea ecx, [esp + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x4b5e0c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
lea ecx, [esp + 0xbc]
push 2
push ecx
mov ecx, 4
call fcn.0041cd60
add esp, 8
test byte [esp + 0x30], 2
je 0x4b5e53
and dword [esp + 0x30], 0xfffffffd
push 0
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x4b5e53
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
mov ecx, dword [edi]
test ecx, ecx
jne 0x4b5e5e
call fcn.004f76a0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 0xc0]
push ecx
push str.READY
lea edx, [esp + 0x158]
call fcn.004198f0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add esp, 8
cmp edx, dword [ecx + 0x9c]
jne 0x4b5ff3
fldz
push ecx
fst dword [esp]
mov esi, 0xf
push 0
sub esp, 0x10
fst dword [esp + 0xc]
mov eax, esp
fld dword [0x555700]
mov dword [esp + 0x68], esp
fstp dword [esp + 8]
mov dword [eax], 0xffd1250b
fld dword [0x554dc0]
fstp dword [esp + 4]
mov dword [esp + 0x188], 3
sub esp, 8
fstp dword [esp + 4]
fld dword [ecx + 0xc]
fsub qword [0x555200]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.0048fe70
mov edi, dword [esp + 0x54]
fchs
fmul qword [0x554d78]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x7c], esp
fsub qword [0x554ca0]
lea eax, [ebx + 0x88]
fadd dword [edi]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0xc]
push ecx
push eax
call fcn.00404370
mov eax, dword [0x5b30cc]
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0x1a4], 0xffffffff
call fcn.0041f9d0
fldz
push ecx
fst dword [esp]
push 0
sub esp, 0x10
fst dword [esp + 0xc]
mov eax, esp
fld dword [0x555700]
mov dword [esp + 0x68], esp
fstp dword [esp + 8]
mov dword [eax], 0xff745d3b
fld dword [0x554dc0]
fstp dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x188], 4
sub esp, 8
fstp dword [esp + 4]
fld dword [ecx + 0xc]
fsub qword [0x5556f8]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.0048fe70
fchs
sub esp, 0x10
fmul qword [0x554d78]
mov ecx, esp
mov dword [esp + 0x7c], esp
add ebx, 8
fsub qword [0x554ca0]
fadd dword [edi]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0xc]
push ecx
push ebx
call fcn.00404370
mov edx, dword [0x5b30cc]
add esp, 4
push edx
mov ecx, esi
mov dword [esp + 0x1a4], 0xffffffff
call fcn.0041f9d0
mov ecx, dword [esp + 0x2c]
fldz
movzx edx, byte [esp + 0x18]
push ecx
mov edi, 0xf
fst dword [esp]
push 0
sub esp, 0x10
mov eax, esp
mov byte [eax], dl
fst dword [esp + 0xc]
movzx edx, byte [esp + 0x31]
fst dword [esp + 8]
fld dword [0x555390]
mov byte [eax + 1], dl
fstp dword [esp + 4]
movzx edx, byte [esp + 0x32]
mov byte [eax + 2], dl
movzx edx, byte [esp + 0x33]
mov dword [esp + 0x68], esp
mov byte [eax + 3], dl
sub esp, 0x18
mov ebx, 5
mov dword [esp + 0x1a0], ebx
mov eax, dword [ecx + 0x8c]
fstp dword [esp + 0x14]
add eax, dword [esp + 0x68]
fld dword [esp + 0xc8]
mov dword [esp + 0x7c], esp
mov esi, esp
fld dword [eax + 8]
lea eax, [esp + 0xd0]
fmul qword [0x554ca0]
mov dword [esp + 0xd0], vtable.Mortar::Utf8StringProxy.0
fsubp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x10]
fld dword [esp + 0xc4]
fstp dword [esp + 0xc]
push eax
lea eax, [esp + 0x184]
call fcn.00421200
mov byte [esp + 0x1a0], 6
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xd0]
call eax
mov edx, dword [esp + 0xd0]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0xd0]
call eax
cmp dword [esp + 0xdc], 0
mov dword [esi], eax
je 0x4b60ec
lea eax, [edi - 0xe]
call fcn.00421560
jmp 0x4b60f3
mov dword [esi + 8], 0
mov byte [esp + 0x1a0], bl
mov ecx, dword [0x5b30cc]
push ecx
mov ecx, edi
mov dword [esp + 0xd4], vtable.Mortar::Utf8StringProxy.0
mov dword [esp + 0x1a4], 0xffffffff
call fcn.0041f9d0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x90]
sub ecx, dword [esi + 0x8c]
add dword [esp + 0x38], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x1c], ebx
cmp ebx, eax
jb 0x4b58fa
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret 4