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

Disassembly:
push 0xffffffffffffffff
push 0x61f138
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov esi, dword [ecx + 0x5978]
lea eax, [ecx + 0x5978]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x597c]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + 0x78]
movzx ebx, word [ecx + 2]
mov eax, dword [ecx + 0x14]
mov edx, eax
imul edx, ebx
mov dword [esp + 0x50], ecx
movzx ecx, word [ecx + 0xe]
mov dword [esp + 0x38], edx
shr ecx, 3
xor edx, edx
div ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], esi
mov dword [esp + 0x24], ebx
mov ebp, eax
call fcn.0049c800
mov edi, ebx
imul edi, ebp
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0
mov dword [esp + 0x60], edi
call fcn.004f6ef0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov ecx, eax
sub ecx, esi
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x44], edx
jl 0x4dbc76
fld qword [0x649088]
mov ecx, dword [esi]
cmp ecx, 0x64685353
jne 0x4dba88
mov ecx, dword [esi + 4]
lea esi, [esi + ecx + 8]
jmp 0x4dbc66
cmp ecx, 0x64625353
jne 0x4dbaa3
mov ecx, dword [esp + 0x34]
add esi, 8
mov byte [ecx + 0x5950], 1
jmp 0x4dbc66
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x5950], 0
je 0x4dbca3
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x3c], ecx
jle 0x4dbc0c
mov edi, esi
lea eax, [esi + ebp*2]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
xor edx, edx
cmp ebx, 4
jl 0x4dbb91
mov eax, dword [esp + 0x30]
lea ebx, [ecx + ebp*2]
lea ecx, [ecx + ebp*2]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
add ebx, ebp
add ecx, 0xfffffffc
lea ebx, [esi + ebx*2]
shr ecx, 2
add ecx, 1
mov dword [esp + 0x20], ebx
lea ebx, [ecx*4]
lea edx, [ebp*8]
mov dword [esp + 0x4c], ebx
movsx ebx, word [edi]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x18]
add dword [esp + 0x18], edx
fild dword [esp + 0x48]
add eax, 0x10
add edi, edx
fmul st(1)
fstp dword [eax - 0x10]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x1c], edx
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 0xc]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x20]
add dword [esp + 0x20], edx
sub ecx, 1
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 8]
movsx ebx, word [ebx]
mov dword [esp + 0x48], ebx
fild dword [esp + 0x48]
fmul st(1)
fstp dword [eax - 4]
jne 0x4dbb23
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jge 0x4dbbde
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
add eax, edx
lea edi, [edi + eax*4]
mov eax, edx
imul eax, ebp
add eax, ecx
lea eax, [esi + eax*2]
mov dword [esp + 0x20], eax
mov eax, ebx
sub eax, edx
mov ebx, dword [esp + 0x20]
movsx edx, word [ebx]
mov dword [esp + 0x4c], edx
lea edx, [ebp + ebp]
add ebx, edx
fild dword [esp + 0x4c]
add edi, 4
sub eax, 1
mov dword [esp + 0x20], ebx
fmul st(1)
fstp dword [edi - 4]
jne 0x4dbbb4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
add dword [esp + 0x28], 2
add dword [esp + 0x2c], ebx
add ecx, 1
lea eax, [ebx*4]
add dword [esp + 0x30], eax
add edi, 2
cmp ecx, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
jl 0x4dbad7
fstp st(0)
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 2]
mov edx, dword [eax + 4]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004da490
mov edi, eax
test edi, edi
jne 0x4dbcba
add esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
sub edi, esi
push edi
push esi
mov esi, dword [esp + 0x5c]
push esi
call fcn.005e12d0
fld qword [0x649088]
mov edx, dword [esp + 0x50]
add esp, 0xc
add edi, esi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, esi
cmp ecx, dword [esp + 0x38]
jge 0x4dba72
fstp st(0)
mov ecx, dword [esp + 0x5c]
push 0xffffffffffffffff
sub eax, esi
push eax
call fcn.004e2370
lea ecx, [esp + 0x60]
call fcn.00598980
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
test edi, edi
fstp st(0)
jle 0x4dbc0e
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x4dbc0e
lea ecx, [esp + 0x60]
call fcn.00598980
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret