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

Disassembly:
mov eax, 0x22dc
call fcn.0044fbe0
mov eax, dword [esp + 0x22e0]
mov ecx, dword [esp + 0x22e4]
push ebx
push ebp
push esi
lea edx, [esp + 0x34]
push edi
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
call fcn.0048f680
add esp, 4
lea eax, [esp + 0x38]
push 0x1000
push eax
call fcn.0048f6e0
mov ebp, dword [esp + 0x2300]
add esp, 8
cmp ebp, 0x1000
mov ebx, 0x1000
ja 0x48ed89
mov ebx, ebp
mov esi, dword [esp + 0x10]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x38]
push ebx
add esi, ebx
push eax
sub ebp, ebx
mov dword [esp + 0x18], esi
call fcn.0048f780
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0048f920
add esp, 0x10
cmp eax, 1
je 0x48edd9
cmp ebx, 0x1000
jl 0x48f1a6
lea eax, [esp + 0x28]
push eax
call fcn.0048f390
push eax
lea ecx, [esp + 0x18c]
push ecx
call fcn.0048f3f0
lea edx, [esp + 0x60]
push edx
call fcn.0048ffb0
lea eax, [esp + 0x84]
push eax
call fcn.0048ff00
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x19c]
push edx
call fcn.0048f980
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1a4]
push ecx
call fcn.0048fd70
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00490200
xor ebx, ebx
add esp, 0x30
cmp ebx, 2
jge 0x48eec9
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0048f920
add esp, 8
test eax, eax
je 0x48eec9
cmp eax, 1
jne 0x48eec4
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x188]
push edx
call fcn.0048f980
add esp, 8
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.0048fd70
add esp, 8
test eax, eax
je 0x48eec4
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00490200
add esp, 0xc
inc ebx
cmp ebx, 2
jge 0x48eec9
jmp 0x48ee86
cmp ebx, 2
jl 0x48ee56
lea edx, [esp + 0x38]
push 0x1000
push edx
call fcn.0048f6e0
add esp, 8
cmp ebp, 0x1000
mov edx, 0x1000
ja 0x48eeea
mov edx, ebp
mov esi, dword [esp + 0x10]
mov ecx, edx
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
sub ebp, edx
add edi, edx
push ecx
mov dword [esp + 0x2300], ebp
mov dword [esp + 0x18], edi
call fcn.0048f780
add esp, 8
cmp ebx, 2
jl 0x48ee56
mov eax, 0x1000
cdq
idiv dword [esp + 0x58]
lea edx, [esp + 0x54]
push edx
mov ebp, eax
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x20], ebp
call fcn.00491030
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.004907b0
add esp, 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0048f920
add esp, 8
test eax, eax
je 0x48f0f9
jl 0x48ef64
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x188]
push eax
call fcn.0048f980
add esp, 8
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x188]
push edx
call fcn.0048fd70
add esp, 8
test eax, eax
je 0x48f0e3
jl 0x48ef95
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.00491770
add esp, 8
test eax, eax
jne 0x48efeb
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.00491070
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.004916e0
add esp, 8
test eax, eax
jle 0x48ef95
cmp eax, ebp
jge 0x48f00a
mov ebp, eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x48f07f
lea esi, [esp + 0x2ec]
mov dword [esp + 0x1c], esi
test ebp, ebp
mov edx, dword [esp + 0x14]
mov edi, dword [edx + ecx*4]
jle 0x48f06b
mov ebx, ebp
fld dword [edi]
fmul dword [0x4a8a90]
call fcn.00408160
cmp eax, 0x7fff
jle 0x48f04b
mov eax, 0x7fff
jmp 0x48f057
cmp eax, 0xffff8000
jge 0x48f057
mov eax, 0xffff8000
mov word [esi], ax
mov eax, dword [esp + 0x58]
add edi, 4
dec ebx
lea esi, [esi + eax*2]
jne 0x48f030
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
add esi, 2
cmp ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
jl 0x48f023
mov ecx, ebp
imul ecx, eax
mov eax, dword [esp + 0x24]
shl ecx, 1
mov edx, ecx
shr ecx, 2
mov edi, eax
lea esi, [esp + 0x2ec]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
imul ecx, dword [esp + 0x58]
lea edx, [eax + ecx*2]
lea eax, [esp + 0xa4]
push ebp
push eax
mov dword [esp + 0x2c], edx
call fcn.00491740
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.004916e0
mov ebp, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jg 0x48f004
jmp 0x48ef95
lea eax, [esp + 0x28]
push eax
call fcn.0048f2a0
add esp, 4
test eax, eax
jne 0x48f160
jmp 0x48ef64
lea ecx, [esp + 0x38]
push 0x1000
push ecx
call fcn.0048f6e0
mov edx, dword [esp + 0x2300]
add esp, 8
cmp edx, 0x1000
mov ebx, 0x1000
ja 0x48f121
mov ebx, edx
mov esi, dword [esp + 0x10]
mov edi, eax
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
sub edx, ebx
push ebx
add edi, ebx
push ecx
mov dword [esp + 0x2300], edx
mov dword [esp + 0x18], edi
call fcn.0048f780
add esp, 8
test ebx, ebx
jne 0x48ef64
lea edx, [esp + 0x184]
push edx
call fcn.0048f490
lea eax, [esp + 0x118]
push eax
call fcn.00490910
lea ecx, [esp + 0xac]
push ecx
call fcn.00490d70
lea edx, [esp + 0x80]
push edx
call fcn.0048ff20
lea eax, [esp + 0x64]
push eax
call fcn.0048ffe0
add esp, 0x14
jmp 0x48ed61
lea ecx, [esp + 0x38]
push ecx
call fcn.0048f6a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22dc
ret