Function at 0x4b4310
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51a460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0xffffffffffffffff
lea ecx, [edi + 0x190c]
push esi
mov dword [esp + 0xac], edi
mov dword [edi + 0x1908], esi
mov dword [esp + 0x2c], ecx
call fcn.0044e6f0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
cmp eax, esi
jne 0x4b448b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0xc88], esi
mov dword [edi + 0xc90], eax
mov dword [edi + 0xc8c], esi
mov dword [edi + 0xc94], ecx
mov eax, dword [edi + 0xc88]
lea edx, [edi + 8]
mov ecx, esi
mov dword [edi + 0xc98], esi
mov dword [edx], eax
mov eax, dword [edi + 0xc90]
mov dword [edi + 0xca0], esi
mov dword [edi + 0xc9c], esi
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0xc94]
mov dword [edi + 0xca4], esi
mov dword [edi + 0xca8], esi
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc98]
mov dword [edi + 0xcb0], esi
mov dword [edi + 0x30], esi
mov dword [edx + 0xc], ecx
lea edx, [edi + 0x18]
mov ecx, esi
mov dword [edi + 0xcac], 0x3ff00000
mov dword [edx], eax
mov eax, dword [edi + 0xca0]
mov dword [edi + 0xcb4], esi
mov dword [edi + 0x34], esi
mov dword [edx + 4], ecx
push 0xffffffffffffffff
push esi
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0044e6f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0xbff00000
push esi
push 0xbff00000
push esi
lea ecx, [esp + 0x1c0]
call fcn.0047dc80
mov eax, dword [edi + 8]
lea edx, [esp + 0x1a0]
push edx
push eax
mov ecx, edi
mov dword [esp + 0x1d0], esi
call fcn.0044eae0
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00507a00
fld qword [0x520dc0]
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], esi
jle 0x4b44fe
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx*4]
call fcn.0048e7d0
mov ecx, eax
fld qword [ecx + 0x10]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4b44d9
fld qword [ecx + 0x10]
fstp qword [esp + 0x4c]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x4b44ee
fld qword [ecx + 0x18]
fstp qword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4b44b3
fld qword [esp + 0x4c]
fadd qword [0x520dc8]
mov eax, 0x5296f4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
fstp qword [esp + 0x4c]
fld qword [esp + 0x5c]
fadd qword [0x520dc8]
fstp qword [esp + 0x5c]
mov dword [esp + 0x1c8], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc8], 0x522e6c
mov dword [esp + 0x190], 0x47ae147b
mov dword [esp + 0x194], 0x3f847ae1
mov dword [esp + 0x198], 0xd2f1a9fc
mov dword [esp + 0x19c], 0x3f50624d
mov dword [esp + 0x160], esi
mov dword [esp + 0x170], 0xd2f1a9fc
mov dword [esp + 0x174], 0xbf50624d
mov dword [esp + 0x178], 0x9374bc6a
mov dword [esp + 0x17c], 0x3ff00418
mov dword [esp + 0x180], 0xd2f1a9fc
mov dword [esp + 0x184], 0x3f50624d
mov dword [esp + 0x188], 0xd916872b
mov dword [esp + 0x18c], 0x3feff7ce
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 3
call fcn.0047ded0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 0x3f847ae1
push 0x47ae147b
push 0xbff00000
push esi
push 0x3f847ae1
push 0x47ae147b
push ecx
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1e8], 4
call fcn.0047e740
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.004b6bc0
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov dword [esp + 0x28], eax
inc eax
push eax
lea ecx, [esp + 0x38]
call fcn.004ed930
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
shl eax, 4
add eax, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
fld qword [esp + 0x84]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
je 0x4b4a8f
jmp 0x4b46b9
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x58], 0x40000000
test eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jle 0x4b4a6a
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0xac]
call fcn.0047dc60
mov eax, dword [ebx + 4]
mov byte [esp + 0x1c8], 5
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
mov edx, dword [ecx + 0x1b0]
mov ecx, dword [ecx + 0x1b4]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x1b8]
mov ecx, dword [edx + 0x1bc]
mov dword [esp + 0xc0], eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0xa8]
mov dword [esp + 0xc4], ecx
push edx
push eax
lea ecx, [esp + 0xd0]
call fcn.0047ee90
test eax, eax
je 0x4b4865
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 1
je 0x4b47a2
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
jmp 0x4b47be
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x4b47f1
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
jmp 0x4b480d
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
fld qword [esp + 0x54]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x4b4839
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x4b4865
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 4
call fcn.00507a00
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x4b46ef
cmp dword [esp + 0x20], 0xffffffff
je 0x4b4979
fld qword [esp + 0x94]
fmul qword [esp + 0x54]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
fadd qword [esp + 0x80]
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.004ed930
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], edx
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
mov edx, eax
lea ecx, [eax + esi*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + esi*4]
call fcn.0048e7e0
fld qword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
fsub qword [edx + 0x1b0]
fadd qword [ecx + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [eax]
call fcn.0048e7e0
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
fld qword [esp + 0x1c]
mov edx, dword [ecx + esi*4]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
fsub qword [edx + 0x1b8]
fadd qword [eax + 0x18]
lea eax, [esi + 1]
push eax
fstp qword [esp + 0x20]
call fcn.004ed930
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
cmp dword [esp + 0x24], 0xffffffff
je 0x4b4a6a
fld qword [esp + 0x94]
fmul qword [esp + 0x44]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
fadd qword [esp + 0x80]
lea edx, [esi + 1]
push edx
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.004ed930
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x24]
fld qword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
fadd qword [ecx + 0x1b0]
fstp qword [esp + 0x24]
call fcn.0048e7e0
fld qword [esp + 0x24]
fsub qword [eax + 0x10]
mov edx, dword [ebx + 4]
fstp qword [esp + 0x10]
mov ecx, dword [edx + esi*4]
fld qword [esp + 0x18]
fadd qword [ecx + 0x1b8]
fstp qword [esp + 0x24]
call fcn.0048e7e0
fld qword [esp + 0x24]
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
fsub qword [eax + 0x18]
lea eax, [esi + 1]
lea ecx, [esp + 0x34]
push eax
fstp qword [esp + 0x20]
call fcn.004ed930
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
fld qword [esp + 0x84]
fadd qword [0x522ec0]
fst qword [esp + 0x84]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
jne 0x4b46b7
xor esi, esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
fld qword [esp + 0x5c]
fadd qword [0x520868]
push 0xbff00000
push esi
push eax
push ecx
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.0047e740
fld qword [esp + 0x7c]
fcomp qword [0x520870]
fnstsw ax
test ah, 0x41
jne 0x4b4fb7
jmp 0x4b4ad6
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], 0x40000000
test eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
jle 0x4b4f96
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0xac]
call fcn.0047dc60
mov eax, dword [ebx + 4]
mov byte [esp + 0x1c8], 6
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x1b8]
mov eax, dword [ecx + 0x1bc]
mov dword [esp + 0xc0], edx
lea ecx, [esp + 0x7c]
lea edx, [esp + 0xa8]
push ecx
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xcc], eax
call fcn.0047ee90
test eax, eax
je 0x4b4c63
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 1
je 0x4b4ba0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x4b4bbc
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x4b4bef
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
jmp 0x4b4c0b
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x4b4c37
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
fld qword [esp + 0x54]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x4b4c63
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 4
call fcn.00507a00
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x4b4b0c
cmp dword [esp + 0x24], 0xffffffff
je 0x4b4d77
fld qword [esp + 0x94]
fmul qword [esp + 0x44]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
fadd qword [esp + 0x80]
lea eax, [esi + 1]
push eax
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.004ed930
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, edx
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x24]
mov ecx, edx
mov ecx, dword [ecx + esi*4]
lea eax, [edx + esi*4]
mov dword [esp + 0x24], eax
call fcn.0048e7e0
fld qword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
fsub qword [ecx + 0x1b0]
fadd qword [edx + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [eax]
call fcn.0048e7e0
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
fld qword [esp + 0x1c]
mov ecx, dword [edx + esi*4]
mov esi, dword [esp + 0x3c]
fsub qword [ecx + 0x1b8]
lea edx, [esi + 1]
lea ecx, [esp + 0x34]
push edx
fadd qword [eax + 0x18]
fstp qword [esp + 0x20]
call fcn.004ed930
mov eax, dword [esp + 0x34]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
cmp dword [esp + 0x20], 0xffffffff
je 0x4b4f96
fld qword [esp + 0x94]
fmul qword [esp + 0x54]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
fadd qword [esp + 0x80]
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.004ed930
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], edx
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
fld qword [esp + 0x10]
mov ecx, dword [eax + esi*4]
fadd qword [ecx + 0x1b0]
fstp qword [esp + 0x4c]
call fcn.0048e7e0
fld qword [esp + 0x4c]
fsub qword [eax + 0x10]
mov ecx, dword [ebx + 4]
fstp qword [esp + 0x10]
mov esi, dword [ecx + esi*4]
mov ecx, esi
call fcn.0048e7e0
fld qword [esi + 0x1b8]
mov ecx, dword [esp + 0x38]
fsub qword [eax + 0x18]
mov eax, dword [esp + 0x34]
lea esi, [ecx + 1]
test esi, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], esi
fstp qword [esp + 0x18]
jne 0x4b4e60
test eax, eax
je 0x4b4e51
push eax
call fcn.0050b204
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
jmp 0x4b4f72
test eax, eax
jne 0x4b4e8e
mov edx, esi
shl edx, 4
push edx
call fcn.0050b264
add esp, 4
mov dword [esp + 0x34], eax
push esi
push eax
call fcn.00490ce0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
jmp 0x4b4f72
cmp esi, dword [esp + 0x3c]
jg 0x4b4ec6
cmp ecx, esi
jge 0x4b4eb5
mov edx, esi
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00490ce0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], esi
jmp 0x4b4f72
jle 0x4b4ebd
sub ecx, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], esi
jmp 0x4b4f72
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b4ef1
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4b4ee5
mov eax, 4
jmp 0x4b4ef1
cmp eax, 0x400
jle 0x4b4ef1
mov eax, 0x400
mov ecx, dword [esp + 0x3c]
add eax, ecx
cmp esi, eax
mov dword [esp + 0x24], eax
jl 0x4b4f03
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x24]
shl edx, 4
push edx
call fcn.0050b264
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x5c], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, esi
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00490ce0
mov eax, dword [esp + 0x34]
push eax
call fcn.0050b204
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0xa8]
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
fld qword [esp + 0x7c]
fsub qword [0x520da0]
fst qword [esp + 0x7c]
fcomp qword [0x520870]
fnstsw ax
test ah, 0x41
je 0x4b4ad4
xor esi, esi
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, edi
call fcn.004b50f0
mov edx, dword [edi + 0x1908]
shl edx, 4
mov ecx, dword [edx + edi - 8]
lea eax, [edx + edi]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax - 4]
mov dword [eax + 8], ecx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x1908]
inc eax
shl eax, 4
mov dword [eax + edi], esi
mov dword [eax + edi + 4], esi
mov ecx, dword [edi + 0x1908]
shl ecx, 4
mov edx, dword [ecx + edi + 0xc78]
lea eax, [ecx + edi]
mov dword [eax + 0xc88], edx
mov ecx, dword [eax + 0xc7c]
mov dword [eax + 0xc8c], ecx
mov edx, dword [edi + 0x1908]
add edx, 0xc9
mov ecx, dword [ebp + 0x24]
shl edx, 4
mov dword [edx + edi], esi
mov dword [edx + edi + 4], esi
mov eax, dword [edi + 0x1908]
inc eax
mov dword [edi + 0x1908], eax
mov eax, dword [ebp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.004b5900
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 3
call fcn.00507a00
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1c8], 2
call fcn.0047ee20
mov edi, 0x5296f4
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1c8], 7
cmp eax, esi
je 0x4b50a6
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x30], 0x520384
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c8], 8
cmp eax, esi
je 0x4b50ce
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x1c0]
pop edi
fld qword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24