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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67579a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x6d35d0]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov dword [esp + 0x44], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], ebx
test esi, esi
je 0x5b04b7
test edi, edi
je 0x5b04b7
test ebx, ebx
je 0x5b04b7
cmp dword [ebp + 0x14], 0
jg 0x5b03c0
mov eax, dword [edi]
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, edi
fldz
fst dword [esp + 4]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x5b04b9
cmp dword [ebp + 0x14], 0x3ff
jl 0x5b03d3
mov eax, dword [ebx]
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, ebx
jmp 0x5b03af
mov ecx, esi
call fcn.00472726
mov eax, dword [eax + 0xa4]
cmp eax, 2
jb 0x5b0eea
push 4
push ecx
mov ecx, esi
call fcn.00472726
add esp, 4
call fcn.004f9f8e
test al, al
je 0x5b0eea
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp dword [eax], 1
jne 0x5b0eea
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp dword [eax + 4], 1
jne 0x5b0eea
test byte [0x1024b10], 1
jne 0x5b0453
or dword [0x1024b10], 1
mov esi, 0x1024148
call fcn.0049b413
push 0x676d43
call fcn.0062d063
pop ecx
lea ecx, [esp + 0x1e4]
call fcn.004b6dc1
cmp dword [ebp + 0x14], 0x200
jge 0x5b09b2
and dword [esp + 0x2d8], 0
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [eax]
push 0
push 1
push 0x15
mov esi, 0x100
push esi
push eax
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x30], eax
call fcn.004b6f38
test al, al
jne 0x5b04df
or dword [esp + 0x2d8], 0xffffffff
lea ecx, [esp + 0x1e4]
call fcn.004b6ebc
xor al, al
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.0062c8b8
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x1ec]
call fcn.004b7de4
test al, al
je 0x5b04a3
lea ecx, [esp + 0x1ec]
call fcn.004b7f25
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
imul eax, eax, 0x7f
cdq
and edx, 0x1ff
add eax, edx
mov ebx, eax
sar ebx, 9
mov dword [esp + 0x34], esi
push ebx
mov edx, 0x1024148
call fcn.0049b551
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
jle 0x5b058f
push ebx
mov edx, 0x1024148
call fcn.0049b551
test eax, eax
jne 0x5b054b
mov eax, dword [esp + 0x14]
mov dword [eax + esi*4], 0x80808080
inc esi
jmp 0x5b0589
mov dword [esp + 0x18], eax
neg dword [esp + 0x18]
jmp 0x5b0583
cmp esi, dword [esp + 0x1c]
jge 0x5b058f
cmp dword [esp + 0x28], 0
jle 0x5b0568
dec dword [esp + 0x28]
jmp 0x5b0582
mov edx, dword [esp + 0x14]
lea ecx, [eax - 0x80]
and ecx, 0xff
shl ecx, 0x10
or ecx, 0x80008080
mov dword [edx + esi*4], ecx
inc esi
dec eax
cmp eax, dword [esp + 0x18]
jge 0x5b0555
cmp esi, dword [esp + 0x1c]
jl 0x5b052e
lea ecx, [esp + 0x1ec]
call fcn.004b7f6f
add dword [esp + 0x14], eax
dec dword [esp + 0x34]
jne 0x5b0517
lea ecx, [esp + 0x1ec]
call fcn.004b7e76
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
fild dword [eax]
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
fstp qword [esp + 0x20]
mov ecx, edi
call dword [eax + 0x24]
fild dword [eax]
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
fdivr qword [esp + 0x1c]
push ecx
mov ecx, edi
fstp dword [esp + 0x18]
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
fstp qword [esp + 0x20]
call dword [eax + 0x24]
fild dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
fdivr qword [esp + 0x20]
lea ecx, [esp + 0x1f0]
fstp dword [esp + 0x1c]
call fcn.004b7cd4
fild dword [eax]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1f0]
fstp qword [esp + 0x20]
call fcn.004b7d0b
fild dword [eax]
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
fdivr qword [esp + 0x20]
mov ecx, edi
fstp dword [esp + 0x30]
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
fmul qword [0x6a2640]
mov ecx, edi
fstp dword [esp + 0x3c]
call dword [eax + 0x24]
fild dword [eax]
mov eax, dword [edi]
fld1
lea ecx, [esp + 0x1c]
fdivrp st(1)
push ecx
mov ecx, edi
fchs
fstp dword [esp + 0x44]
call dword [eax + 0x24]
fild dword [eax + 4]
fld1
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x40]
fsub st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x104]
fld dword [esp + 0x28]
fsub st(1)
fstp dword [esp + 0x50]
lea eax, [esp + 0xbc]
fld dword [esp + 0x50]
fstp dword [esp + 0x108]
fldz
fst dword [esp + 0x10c]
fst dword [esp + 0x110]
fld dword [esp + 0x18]
fstp dword [esp + 0x114]
fst dword [esp + 0x118]
fld dword [esp + 0x38]
fstp dword [esp + 0x11c]
fld dword [esp + 0x34]
fstp dword [esp + 0x120]
fld dword [esp + 0x28]
fadd st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x134]
fst dword [esp + 0x138]
fld dword [esp + 0x40]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp + 0x13c]
fld dword [esp + 0x50]
fstp dword [esp + 0x140]
fst dword [esp + 0x144]
fld dword [esp + 0x14]
fstp dword [esp + 0x148]
fld dword [esp + 0x18]
fstp dword [esp + 0x14c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x150]
fld dword [esp + 0x38]
fstp dword [esp + 0x154]
fld dword [esp + 0x40]
fstp dword [esp + 0x158]
fld dword [esp + 0x34]
fstp dword [esp + 0x15c]
fst dword [esp + 0x160]
fld dword [esp + 0x14]
fstp dword [esp + 0x164]
fst dword [esp + 0x168]
fld dword [esp + 0x2c]
fstp dword [esp + 0x16c]
fstp dword [esp + 0x170]
call fcn.004fe11a
push 0
push 1
push 4
push 0x202
push 0x1c
xor ebx, ebx
mov byte [esp + 0x2ec], 1
call fcn.004fe1d1
lea ecx, [esp + 0xbc]
test al, al
jne 0x5b07f9
mov byte [esp + 0x2d8], bl
call fcn.004fe186
jmp 0x5b04a3
call fcn.004fe2b9
test al, al
jne 0x5b0812
mov byte [esp + 0x2d8], bl
lea ecx, [esp + 0xbc]
jmp 0x5b07ef
mov edi, dword [esp + 0xe4]
push 0x1c
pop ecx
lea esi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xbc]
call fcn.004fe2fa
mov ebx, dword [esp + 0x58]
xor esi, esi
inc esi
push esi
push esi
xor edi, edi
mov ecx, ebx
call fcn.00470965
push esi
push esi
mov edi, esi
mov ecx, ebx
call fcn.00470965
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
xor edi, edi
push edi
push edi
mov ecx, esi
call dword [eax + 0x28]
cmp eax, edi
je 0x5b0866
lea ecx, [eax + 8]
jmp 0x5b0868
xor ecx, ecx
push edi
mov edi, ebx
call fcn.00470889
push 1
lea ecx, [esp + 0x1f0]
call fcn.00470889
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x10]
mov ecx, ebx
call fcn.0046f7a6
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x40]
mov ecx, ebx
call fcn.00471159
lea edi, [esp + 0xbc]
mov ecx, ebx
call fcn.0046f8e7
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax]
fld1
mov eax, dword [esi]
fdivrp st(1)
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
fmul qword [0x6a1600]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fstp dword [esp + 0x6c]
fld dword [esp + 0x18]
fstp dword [esp + 0x70]
fld dword [esp + 0x1c]
fstp dword [esp + 0x74]
fldz
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fstp dword [esp + 0x8c]
call dword [eax + 0x1c]
fld dword [esp + 0x14]
fidiv dword [eax]
lea ecx, [esp + 0x48]
mov eax, dword [esi]
push ecx
mov ecx, esi
fstp dword [esp + 0x90]
fld dword [esp + 0x1c]
fstp qword [esp + 0x20]
call dword [eax + 0x1c]
fild dword [eax + 4]
push 4
lea eax, [esp + 0x60]
push eax
fdivr qword [esp + 0x24]
mov ecx, ebx
fstp dword [esp + 0x98]
fldz
fst dword [esp + 0x9c]
fstp dword [esp + 0xa0]
call fcn.004711f8
push 6
pop ecx
push 5
pop edi
mov edx, ebx
call fcn.004702b8
mov ecx, ebx
call fcn.004715da
xor edi, edi
mov ecx, ebx
call fcn.0046f7a6
mov ecx, ebx
call fcn.00471159
mov ecx, ebx
call fcn.0046f8e7
push edi
xor ecx, ecx
mov edi, ebx
call fcn.00470889
push 1
xor ecx, ecx
call fcn.00470889
mov byte [esp + 0x2d8], 0
jmp 0x5b0ec3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2d8], 2
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov eax, dword [eax]
push 0
push 1
push 0x15
mov esi, 0x100
push esi
push eax
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x4c], eax
call fcn.004b6f38
test al, al
je 0x5b04a3
lea ecx, [esp + 0x1ec]
call fcn.004b7de4
test al, al
je 0x5b04a3
lea ecx, [esp + 0x1ec]
call fcn.004b7f25
mov dword [esp + 0x18], eax
mov eax, 0x200
sub eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], esi
imul eax, eax, 0x7f
cdq
and edx, 0x1ff
add eax, edx
mov edi, eax
sar edi, 9
add edi, 0x7f
push edi
mov edx, 0x1024148
call fcn.0049b551
xor esi, esi
cmp dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
jle 0x5b0aac
push edi
mov edx, 0x1024148
call fcn.0049b551
test eax, eax
jne 0x5b0a68
mov eax, dword [esp + 0x18]
mov dword [eax + esi*4], 0x80808080
inc esi
jmp 0x5b0aa6
mov dword [esp + 0x14], eax
neg dword [esp + 0x14]
jmp 0x5b0aa0
cmp esi, dword [esp + 0x38]
jge 0x5b0aac
cmp dword [esp + 0x28], 0
jle 0x5b0a85
dec dword [esp + 0x28]
jmp 0x5b0a9f
mov edx, dword [esp + 0x18]
lea ecx, [eax - 0x80]
and ecx, 0xff
shl ecx, 0x10
or ecx, 0x80008080
mov dword [edx + esi*4], ecx
inc esi
dec eax
cmp eax, dword [esp + 0x14]
jge 0x5b0a72
cmp esi, dword [esp + 0x38]
jl 0x5b0a4b
lea ecx, [esp + 0x1ec]
call fcn.004b7f6f
add dword [esp + 0x18], eax
dec dword [esp + 0x2c]
jne 0x5b0a34
lea ecx, [esp + 0x1ec]
call fcn.004b7e76
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
fild dword [eax]
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
fstp qword [esp + 0x30]
mov ecx, ebx
call dword [eax + 0x24]
fild dword [eax]
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
fdivr qword [esp + 0x2c]
push ecx
mov ecx, ebx
fstp dword [esp + 0x18]
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
fstp qword [esp + 0x30]
call dword [eax + 0x24]
fild dword [eax + 4]
lea eax, [esp + 0x38]
push eax
fdivr qword [esp + 0x30]
lea ecx, [esp + 0x1f0]
fstp dword [esp + 0x1c]
call fcn.004b7cd4
fild dword [eax]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1f0]
fstp qword [esp + 0x30]
call fcn.004b7d0b
fild dword [eax]
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
fdivr qword [esp + 0x30]
mov ecx, ebx
fstp dword [esp + 0x2c]
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
fmul qword [0x6a2640]
mov ecx, ebx
fstp dword [esp + 0x38]
call dword [eax + 0x24]
fild dword [eax]
mov eax, dword [ebx]
fld1
lea ecx, [esp + 0x2c]
fdivrp st(1)
push ecx
mov ecx, ebx
fchs
fstp dword [esp + 0x54]
call dword [eax + 0x24]
fild dword [eax + 4]
fld1
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x50]
fsub st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x104]
fld dword [esp + 0x38]
fsub st(1)
fstp dword [esp + 0x40]
lea eax, [esp + 0xbc]
fld dword [esp + 0x40]
fstp dword [esp + 0x108]
fldz
fst dword [esp + 0x10c]
fst dword [esp + 0x110]
fld dword [esp + 0x18]
fstp dword [esp + 0x114]
fst dword [esp + 0x118]
fld dword [esp + 0x34]
fstp dword [esp + 0x11c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x120]
fld dword [esp + 0x38]
fadd st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x134]
fst dword [esp + 0x138]
fld dword [esp + 0x50]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x13c]
fld dword [esp + 0x40]
fstp dword [esp + 0x140]
fst dword [esp + 0x144]
fld dword [esp + 0x14]
fstp dword [esp + 0x148]
fld dword [esp + 0x18]
fstp dword [esp + 0x14c]
fld dword [esp + 0x28]
fstp dword [esp + 0x150]
fld dword [esp + 0x34]
fstp dword [esp + 0x154]
fld dword [esp + 0x2c]
fstp dword [esp + 0x158]
fld dword [esp + 0x38]
fstp dword [esp + 0x15c]
fst dword [esp + 0x160]
fld dword [esp + 0x14]
fstp dword [esp + 0x164]
fst dword [esp + 0x168]
fld dword [esp + 0x28]
fstp dword [esp + 0x16c]
fstp dword [esp + 0x170]
call fcn.004fe11a
push 0
push 1
push 4
push 0x202
push 0x1c
xor ebx, ebx
mov byte [esp + 0x2ec], 3
call fcn.004fe1d1
lea ecx, [esp + 0xbc]
test al, al
jne 0x5b0d12
mov byte [esp + 0x2d8], 2
jmp 0x5b07ef
call fcn.004fe2b9
test al, al
jne 0x5b0d28
mov byte [esp + 0x2d8], 2
jmp 0x5b0809
mov edi, dword [esp + 0xe4]
push 0x1c
pop ecx
lea esi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xbc]
call fcn.004fe2fa
mov esi, dword [esp + 0x58]
push 3
push 3
xor edi, edi
mov ecx, esi
call fcn.00470965
inc edi
push edi
push edi
mov ecx, esi
call fcn.00470965
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
xor edi, edi
push edi
push edi
mov ecx, ebx
call dword [eax + 0x28]
cmp eax, edi
je 0x5b0d7a
lea ecx, [eax + 8]
jmp 0x5b0d7c
xor ecx, ecx
push edi
mov edi, esi
call fcn.00470889
push 1
lea ecx, [esp + 0x1f0]
call fcn.00470889
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x10]
mov ecx, esi
call fcn.0046f7a6
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x40]
mov ecx, esi
call fcn.00471159
lea edi, [esp + 0xbc]
mov ecx, esi
call fcn.0046f8e7
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x1c]
fild dword [eax]
fld1
mov eax, dword [ebx]
fdivrp st(1)
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
fmul qword [0x6a1600]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fstp dword [esp + 0x6c]
fld dword [esp + 0x18]
fstp dword [esp + 0x70]
fld dword [esp + 0x1c]
fstp dword [esp + 0x74]
fldz
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fstp dword [esp + 0x8c]
call dword [eax + 0x1c]
fld dword [esp + 0x14]
fidiv dword [eax]
lea ecx, [esp + 0x48]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp + 0x90]
fld dword [esp + 0x1c]
fstp qword [esp + 0x20]
call dword [eax + 0x1c]
fild dword [eax + 4]
push 4
lea eax, [esp + 0x60]
push eax
fdivr qword [esp + 0x24]
mov ecx, esi
fstp dword [esp + 0x98]
fldz
fst dword [esp + 0x9c]
fstp dword [esp + 0xa0]
call fcn.004711f8
push 6
pop ecx
push 5
pop edi
mov edx, esi
call fcn.004702b8
mov ecx, esi
call fcn.004715da
xor edi, edi
mov ecx, esi
call fcn.0046f7a6
mov ecx, esi
call fcn.00471159
mov ecx, esi
call fcn.0046f8e7
push edi
xor ecx, ecx
mov edi, esi
call fcn.00470889
push 1
xor ecx, ecx
call fcn.00470889
mov byte [esp + 0x2d8], 2
lea ecx, [esp + 0xbc]
call fcn.004fe186
or dword [esp + 0x2d8], 0xffffffff
lea ecx, [esp + 0x1e4]
call fcn.004b6ebc
mov al, 1
jmp 0x5b04b9
lea eax, [esp + 0x9c]
push eax
call fcn.004dd3fe
lea ecx, [esp + 0x104]
mov dword [esp + 0x2d8], 4
call fcn.004b6dc1
cmp dword [ebp + 0x14], 0x200
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d8], 5
push ecx
jge 0x5b1050
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
push dword [eax + 4]
mov ecx, edi
push dword [eax]
mov eax, dword [edi]
call dword [eax + 0xc]
lea ecx, [esp + 0xa4]
call fcn.004dd49c
test al, al
jne 0x5b0f78
lea ecx, [esp + 0x104]
mov byte [esp + 0x2d8], 4
call fcn.004b6ebc
or dword [esp + 0x2d8], 0xffffffff
lea ecx, [esp + 0x9c]
call fcn.004dd45c
jmp 0x5b04b7
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
xor ebx, ebx
push ebx
mov esi, eax
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0xc]
push eax
push dword [esi + 4]
lea ecx, [esp + 0x114]
push dword [esi]
call fcn.004b6f38
test al, al
je 0x5b0f4b
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
xor esi, esi
mov dword [esp + 0x24], ebx
call dword [eax + 0x1c]
push dword [eax + 4]
push dword [eax]
xor eax, eax
push ebx
push esi
push ebx
push eax
lea eax, [esp + 0xb8]
push eax
mov esi, edi
call fcn.004f98f8
add esp, 0x1c
test al, al
je 0x5b0f4b
lea ecx, [esp + 0x10c]
call fcn.004bc9de
test al, al
je 0x5b0f4b
xor eax, eax
xor edx, edx
push edx
lea edi, [esp + 0x20]
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
cdq
xor ecx, ecx
push ecx
sub eax, edx
sar eax, 1
mov ecx, 0x400
sub ecx, eax
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xb4]
call fcn.00541a4a
test al, al
je 0x5b0f4b
fldz
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
lea ecx, [esp + 0x110]
fstp dword [esp]
call fcn.004b89cf
mov bl, al
jmp 0x5b1138
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push dword [eax + 4]
mov ecx, ebx
push dword [eax]
mov eax, dword [ebx]
call dword [eax + 0xc]
lea ecx, [esp + 0xa4]
call fcn.004dd49c
test al, al
je 0x5b0f4b
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
xor edi, edi
push edi
mov esi, eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xc]
push eax
push dword [esi + 4]
lea ecx, [esp + 0x114]
push dword [esi]
call fcn.004b6f38
test al, al
je 0x5b0f4b
mov eax, dword [ebx]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
xor esi, esi
mov dword [esp + 0x24], edi
call dword [eax + 0x1c]
push dword [eax + 4]
push dword [eax]
xor eax, eax
push edi
push esi
push edi
push eax
lea eax, [esp + 0xb8]
push eax
mov esi, ebx
call fcn.004f98f8
add esp, 0x1c
test al, al
je 0x5b0f4b
lea ecx, [esp + 0x10c]
call fcn.004bc9de
test al, al
je 0x5b0f4b
xor eax, eax
lea edi, [esp + 0x1c]
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
add eax, 0xfffffe00
xor edx, edx
push edx
cdq
sub eax, edx
sar eax, 1
xor ecx, ecx
push ecx
add eax, 0x300
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xb4]
call fcn.00541a4a
test al, al
jne 0x5b1030
xor bl, bl
lea ecx, [esp + 0x104]
mov byte [esp + 0x2d8], 4
call fcn.004b6ebc
or dword [esp + 0x2d8], 0xffffffff
lea ecx, [esp + 0x9c]
call fcn.004dd45c
mov al, bl
jmp 0x5b04b9