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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aff26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov ecx, dword [esi + 0xc]
push 0x604
push 0x4e44d4
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x48de3b
mov al, byte [esi + 0x14]
test al, al
je 0x48de3b
call dword [0x4b1d24]
mov dword [esp + 0x18], eax
mov al, byte [0x4e44d4]
cmp al, 0x80
jne 0x48de3b
mov cl, byte [0x4e44d5]
mov edi, dword [0x4e44d8]
mov ebx, dword [0x4e44dc]
mov byte [esp + 0x14], cl
xor edx, edx
and edi, 0xff
mov dl, byte [0x4e44d6]
xor ecx, ecx
mov cl, byte [0x4e44d9]
mov ebp, edx
shl edi, 8
xor eax, eax
add edi, ecx
mov al, byte [0x4e44d7]
xor edx, edx
mov dl, byte [0x4e44da]
and ebx, 0xff
shl ebp, 8
xor ecx, ecx
add ebp, eax
mov cl, byte [0x4e44dd]
xor eax, eax
mov al, byte [0x4e44db]
mov dword [esp + 0x20], ebp
shl edi, 8
shl ebx, 8
add edi, edx
add ebx, ecx
xor edx, edx
lea ecx, [esi + 0x8c]
mov dl, byte [0x4e44de]
push ecx
shl edi, 8
shl ebx, 8
add edi, eax
add ebx, edx
xor eax, eax
mov al, byte [0x4e44df]
shl ebx, 8
add ebx, eax
call dword [0x4b1128]
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x48d93a
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x4c]
mov cx, word [esi + 0xac]
mov dword [esi + 0x60], edx
mov word [eax + 0x50], cx
mov edx, dword [esi + 0x4c]
mov byte [esp + 0x12], 1
mov dword [edx + 0x44], ebx
jmp 0x48db0b
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x44]
cmp eax, ebx
sete dl
test dl, dl
mov byte [esp + 0x12], dl
jne 0x48d9e6
add eax, 2
cmp eax, ebx
jne 0x48dc97
cmp byte [esp + 0x14], 0x7f
jne 0x48dc97
test ebp, ebp
jne 0x48dc97
test edi, edi
jne 0x48dc97
push 0x4e0874
lea ecx, [esp + 0x1c]
call fcn.004a2850
mov dword [esp + 0x98], edi
mov al, byte [edi + 0x4e44e0]
lea ecx, [esp + 0x18]
push eax
call fcn.004a2ea4
inc edi
cmp edi, 0x14
jl 0x48d98c
push 0x4da0c0
lea ecx, [esp + 0x1c]
call fcn.004a2fac
cmp eax, 0xffffffff
je 0x48d9cd
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004a2b3e
mov ecx, esi
call fcn.0048d460
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call fcn.004a2856
jmp 0x48dc97
mov eax, dword [esi + 0x68]
cmp ebp, eax
jbe 0x48d9f3
sub ebp, eax
dec ebp
mov dword [ecx + 0x54], ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [esi + 0x64]
mov eax, ebp
mov dword [esp + 0x28], 0
sub eax, ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x24], eax
fild qword [esp + 0x24]
fcom qword [ecx + 0x68]
fnstsw ax
test ah, 1
jne 0x48da21
cmp dword [ecx + 0x48], 2
jae 0x48da24
fst qword [ecx + 0x68]
mov ecx, dword [esi + 0x4c]
fcom qword [ecx + 0x60]
fnstsw ax
test ah, 0x41
jne 0x48da36
fstp qword [ecx + 0x60]
jmp 0x48da38
fstp st(0)
mov ecx, dword [esi + 0x60]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esi + 0x4c]
xor edx, edx
mov dword [esp + 0x28], 0
div dword [ecx + 0x48]
mov dword [esp + 0x24], eax
mov eax, ebp
fild qword [esp + 0x24]
mov dword [esp + 0x28], 0
fstp qword [ecx + 0x58]
mov edx, dword [esi + 0x6c]
mov ecx, edi
sub ecx, edx
mov edx, dword [esi + 0x64]
shr ecx, 3
sub eax, ecx
mov ecx, dword [esi + 0x4c]
sub eax, edx
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
mov dword [esp + 0x24], ebp
fild qword [esp + 0x24]
fcom qword [ecx + 0x80]
fnstsw ax
test ah, 1
jne 0x48da9a
cmp dword [ecx + 0x48], 2
jae 0x48daa0
fst qword [ecx + 0x80]
mov ecx, dword [esi + 0x4c]
fcom qword [ecx + 0x78]
fnstsw ax
test ah, 0x41
jne 0x48dab2
fstp qword [ecx + 0x78]
jmp 0x48dab4
fstp st(0)
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x4c]
add edx, ebp
mov dword [esp + 0x28], 0
mov dword [esi + 0x70], edx
mov eax, edx
xor edx, edx
div dword [ecx + 0x48]
mov dword [esp + 0x24], eax
mov eax, ebp
fild qword [esp + 0x24]
cdq
fstp qword [ecx + 0x70]
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fsub qword [esi + 0x78]
fmul qword [0x4b2800]
fadd qword [esi + 0x78]
fstp qword [esi + 0x78]
call fcn.0044c3b0
cmp dword [eax + 0x4c], ebp
jae 0x48db07
mov eax, dword [esi + 0x4c]
inc dword [eax + 0x40]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], edi
mov edi, dword [eax + 0x48]
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [eax + 0x48], edi
mov eax, dword [esi + 0x4c]
mov edx, dword [eax + 0x4c]
add edx, ecx
mov ecx, 0x64
mov dword [eax + 0x4c], edx
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 0x48]
xor edx, edx
div ecx
test edx, edx
jne 0x48dc32
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.0048d510
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0xa0], 1
call fcn.004a2b3e
mov ecx, esi
call fcn.0048d4b0
mov eax, dword [esi + 0x3c]
mov byte [esp + 0x2c], 0x80
cmp eax, 2
mov byte [esp + 0x2d], 0x7f
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0
jne 0x48dbac
lea eax, [ebx + 3]
jmp 0x48dbb2
mov eax, dword [esi + 0x30]
add eax, 2
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov byte [esp + 0x34], cl
mov ecx, eax
shr edx, 0x10
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x18]
shr ecx, 8
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], al
mov ecx, dword [edx - 8]
xor eax, eax
test ecx, ecx
jle 0x48dbf7
mov ebp, edx
lea ecx, [esp + 0x38]
sub ebp, ecx
lea edi, [esp + eax + 0x38]
inc eax
mov cl, byte [edi + ebp]
mov byte [edi], cl
mov ecx, dword [edx - 8]
cmp eax, ecx
jl 0x48dbe6
mov eax, dword [esi + 0xb8]
mov edx, dword [edx - 8]
push 0
push eax
xor eax, eax
add edx, 0xc
mov ax, word [esi + 0xae]
lea ecx, [esp + 0x34]
push eax
push edx
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004a3510
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call fcn.004a2856
mov edx, dword [esi + 0x4c]
xor cl, cl
xor eax, eax
mov edi, dword [edx + 0x8c]
mov edx, dword [edi + 8]
test edx, edx
jle 0x48dc69
test cl, cl
jne 0x48dc97
mov ebp, dword [edi + 4]
xor edx, edx
mov dl, byte [eax + ebp]
movsx ebp, byte [esp + 0x14]
cmp edx, ebp
jne 0x48dc5d
mov cl, 1
mov edx, dword [edi + 8]
inc eax
cmp eax, edx
jl 0x48dc46
test cl, cl
jne 0x48dc97
mov eax, dword [esi + 0x40]
test eax, eax
je 0x48dc80
cmp dword [esi + 0x3c], 2
jne 0x48dc80
mov eax, dword [esi + 0x4c]
mov cl, byte [esp + 0x14]
mov byte [eax + 0x28], cl
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [edx + 0x8c]
mov edx, dword [ecx + 8]
push edx
call fcn.004a34d4
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x84]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x48dd31
mov al, byte [esp + 0x12]
test al, al
je 0x48dd31
mov edx, dword [esp + 0x1c]
push edx
push 0x4e44d4
call fcn.00451460
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00451190
mov eax, dword [eax]
push 0x4e0874
push eax
call dword [0x4b1b08]
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a2856
mov al, byte [esp + 0x13]
test al, al
je 0x48dd31
mov ecx, dword [0x4e44d4]
and ecx, 0xff
push ecx
mov ecx, dword [esi + 0x18]
call fcn.00443800
mov ecx, dword [esi + 0x18]
push eax
call fcn.004437d0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004a2b3e
mov ecx, dword [esi + 0x40]
call fcn.00451240
mov eax, dword [esi + 0x3c]
dec eax
je 0x48de25
dec eax
jne 0x48de3b
mov al, byte [esi + 0x14]
test al, al
je 0x48de3b
mov al, byte [esp + 0x12]
test al, al
je 0x48de3b
inc ebx
push 0
mov edx, ebx
mov eax, ebx
mov ecx, ebx
mov byte [0x4e44df], bl
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
mov byte [0x4e44dc], dl
mov byte [0x4e44dd], al
mov byte [0x4e44de], cl
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xc]
xor edx, edx
mov dx, word [esi + 0xae]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push 0x4e44d4
call fcn.004a3510
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x48ddd2
mov dx, word [esi + 0xae]
mov word [ecx + 0xc], dx
mov ecx, dword [esi + 0x4c]
mov dword [ecx], ebx
mov edx, dword [esi + 0x4c]
mov cl, byte [esp + 0x14]
mov byte [edx + 0x28], cl
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x48ddd2
mov dword [ecx], ebx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + 0x60]
mov dword [ecx + 0x18], edx
mov edx, dword [ecx + 0x64]
mov dword [ecx + 0x1c], edx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + 0x68]
mov dword [ecx + 0x20], edx
mov edx, dword [ecx + 0x6c]
mov dword [ecx + 0x24], edx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + 0x58]
mov dword [ecx + 0x10], edx
mov edx, dword [ecx + 0x5c]
mov dword [ecx + 0x14], edx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + 4]
inc edx
mov dword [ecx + 4], edx
mov esi, dword [esi + 0x4c]
add dword [esi + 8], eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
push eax
push 0x4e44d4
call fcn.00441250
mov ecx, eax
call fcn.00442270
mov ecx, dword [esp + 0x90]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret