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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5a0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov al, 1
mov ecx, edx
shr edx, 3
and ecx, 7
cmp ecx, 1
sbb edx, 0xffffffff
cmp edx, dword [ebp + 0x28]
jne 0x48d4c5
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x18]
add esp, 4
mov esi, eax
movzx eax, byte [0x574a24]
movzx eax, al
push eax
call fcn.00478240
add esp, 4
cmp al, 2
jne 0x48d1ab
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xb8], xmm1
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [esi + 0x20]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [esp + 0xe8], xmm0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], esi
mov dword [esp + 0x100], 0
lea esi, [esp + 0x30]
push ebx
push edi
push esi
call fcn.004806d0
add esp, 0xc
lea ebx, [esp + 0x158]
push 0xd8
push esi
push ebx
call fcn.004f5b80
add esp, 0xc
mov eax, dword [esp + 0x220]
lea edx, [esp + 0x108]
lea esi, [esp + 0x1d8]
mov ecx, 0x14
mov edi, edx
mov eax, dword [eax + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x81
jae 0x48d56c
lea edi, [esp + 0x558]
push dword [esp + 0x228]
push eax
push ebx
push edx
push edi
call fcn.004803b0
add esp, 0x14
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
mov ebx, dword [ebp + 0x28]
push ebx
push dword [ebp + 0x24]
push edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call dword [eax + 0x1c]
add esp, 0x1c
test al, al
jne 0x48d4c3
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x110], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], eax
mov dword [esp + 0x118], esi
push ebx
push dword [ebp + 0x24]
call fcn.0043caf0
add esp, 8
lea ecx, [esp + 0x108]
push ecx
push edx
push eax
call fcn.0048f0a0
add esp, 0xc
test eax, eax
je 0x48d4c3
mov esi, eax
mov eax, edi
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x50]
mov ecx, edi
mov ebx, dword [eax + 0x54]
mov ecx, dword [ecx + 0x7c]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], edx
mov edx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [edi + 0x48]
mov edi, dword [edi + 0x4c]
cmp eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], eax
jne 0x48d56c
mov edi, dword [esp + 0x14]
lea eax, [edx + edx]
lea ebx, [esp + 0x158]
mov dword [esp], edx
cmp eax, edi
jne 0x48d56c
push 0x400
push 0
push ebx
call fcn.004f7770
add esp, 0xc
cmp edi, 0x101
jae 0x48d56c
lea eax, [edi*4]
mov dword [esp + 0x10], eax
push eax
push esi
push ebx
call fcn.004f5b80
add esp, 0xc
mov edx, dword [esp]
mov dword [esp + 0x1c], esi
test edx, edx
je 0x48d088
xor ebx, ebx
cmp edx, 0x20000000
setb al
jae 0x48d570
mov bl, al
lea ecx, [edx*4]
shl ebx, 2
test ecx, ecx
js 0x48d570
mov dword [esp + 4], ecx
je 0x48d18c
push ebx
push ecx
call fcn.0040dcd0
mov edx, dword [esp + 8]
add esp, 8
mov esi, eax
test esi, esi
je 0x48d196
mov eax, dword [esp + 0x38]
lea ebx, [esp + 0x158]
jmp 0x48d091
mov eax, dword [esp + 0xc]
mov esi, 4
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
push edi
push ebx
push edx
push esi
mov ebx, edx
call fcn.004efbf0
add esp, 0x1c
cmp eax, 1
jne 0x48d56c
push ebx
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x40]
mov edi, dword [ebp + 8]
push dword [edi + 0x38]
push esi
push esi
call fcn.004950c0
add esp, 0x18
lea eax, [edi + 0x40]
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
push esi
call fcn.00494b50
add esp, 0x10
test eax, eax
mov dword [esp + 4], edx
je 0x48d4a9
mov ecx, dword [edi + 0x74]
mov ebx, dword [edi + 0x78]
mov edx, dword [edi + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x6c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], edx
lea edx, [ebx + ebx]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
cmp edx, edi
mov dword [esp + 0x40], ecx
jne 0x48d56c
push 0x400
push 0
lea esi, [esp + 0x160]
push esi
call fcn.004f7770
add esp, 0xc
push dword [esp + 0x10]
push dword [esp + 0x20]
push esi
call fcn.004f5b80
add esp, 0xc
test ebx, ebx
je 0x48d1a0
xor ecx, ecx
cmp ebx, 0x20000000
setb al
jae 0x48d570
mov cl, al
lea edx, [ebx*4]
shl ecx, 2
test edx, edx
js 0x48d570
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
je 0x48d1ba
push ecx
push edx
call fcn.0040dcd0
add esp, 8
mov esi, eax
jmp 0x48d1bc
mov esi, ebx
test esi, esi
jne 0x48d07b
push ebx
push dword [esp + 8]
jmp 0x48d586
mov ecx, dword [esp + 0x20]
mov esi, 4
jmp 0x48d1c8
mov ecx, 0x574a24
call fcn.00504f00
jmp 0x48cddd
mov esi, ecx
test esi, esi
je 0x48d577
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x30]
push eax
push ebx
push ecx
push edi
lea eax, [esp + 0x168]
push eax
push ebx
push esi
call fcn.004efbf0
add esp, 0x1c
cmp eax, 1
jne 0x48d56c
push ebx
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x40]
mov edi, dword [ebp + 8]
push dword [edi + 0x5c]
push esi
push esi
call fcn.004950c0
add esp, 0x18
lea eax, [edi + 0x64]
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
push esi
call fcn.00494b50
add esp, 0x10
test eax, eax
je 0x48d296
mov edi, dword [esp + 0xc]
mov ebx, dword [esp]
mov ecx, eax
mov esi, edx
test edx, edx
mov dword [esp + 0x160], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x164], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x158], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x168], edi
je 0x48d2ab
xor ebx, ebx
cmp esi, 0x20000000
setb al
jae 0x48d570
mov bl, al
lea edx, [esi*4]
shl ebx, 2
test edx, edx
js 0x48d570
mov dword [esp], edx
je 0x48d2b4
push ebx
push edx
mov edi, ecx
call fcn.0040dc80
mov ecx, edi
add esp, 8
mov edi, eax
jmp 0x48d2b6
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
test esi, esi
jne 0x48d49a
jmp 0x48d4a9
mov edi, 4
xor eax, eax
jmp 0x48d2c1
mov edi, ebx
test edi, edi
je 0x48d581
mov eax, dword [esp]
push eax
mov dword [esp + 4], ecx
push ecx
push edi
call fcn.004f5b80
add esp, 0xc
cmp esi, dword [esp + 0x164]
jne 0x48d56c
push esi
push dword [esp + 0x164]
push edi
call fcn.004e4b90
add esp, 0xc
push dword [esp + 0x164]
push dword [esp + 0x164]
push edi
mov ebx, dword [esp + 0x14]
push ebx
push ebx
call fcn.004e4d40
add esp, 0x14
push dword [esp + 4]
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x168]
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push ebx
push ebx
call fcn.004950c0
add esp, 0x18
test esi, esi
je 0x48d345
lea eax, [esi*4]
push 4
push eax
push edi
call fcn.0040dc90
add esp, 0xc
push dword [esp + 0x18]
lea ebx, [esp + 0x10c]
push ebx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00494730
add esp, 0x10
test eax, eax
je 0x48d493
mov edi, dword [ebp + 8]
mov dword [esp + 4], eax
mov ebx, edx
lea ecx, [esp + 0x108]
lea eax, [edi + 0x6c]
push ecx
push eax
call fcn.004954b0
add esp, 8
test eax, eax
je 0x48d47c
mov dword [esp + 0xc], edx
push edx
lea ecx, [esp + 0x10c]
push ecx
push dword [esp + 0x118]
push dword [edi + 8]
push eax
push eax
mov edi, eax
call fcn.004950c0
add esp, 0x18
push ebx
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x118]
mov dword [esp + 0x14], edi
push edi
mov edi, dword [esp + 0x14]
push edi
push edi
call fcn.004950c0
add esp, 0x18
push dword [esp + 0x18]
lea eax, [esp + 0x10c]
push eax
push esi
push dword [esp + 0xc]
call fcn.00494730
add esp, 0x10
test eax, eax
je 0x48d4cd
lea ecx, [esp + 0x108]
push ecx
push ebx
push edi
push edx
push eax
call fcn.00494810
add esp, 0x14
mov dword [esp + 0x158], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x15c], edx
push eax
push dword [ebp + 8]
call fcn.0048b830
add esp, 8
mov edi, dword [esp + 0x14]
cmp edx, edi
jne 0x48d56c
mov esi, eax
push edi
push dword [esp + 0x20]
push eax
call fcn.004e4a60
add esp, 0xc
cmp eax, 0xffffffff
je 0x48d4ee
test edi, edi
je 0x48d462
push 4
push dword [esp + 0x14]
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x48d4e0
shl eax, 2
push 4
push eax
push dword [esp + 0x160]
jmp 0x48d4d8
mov eax, dword [esp + 4]
test ebx, ebx
je 0x48d493
shl ebx, 2
push 4
push ebx
push eax
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp]
test esi, esi
je 0x48d4a9
shl esi, 2
push 4
push esi
push eax
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
je 0x48d4c3
push 4
push dword [esp + 0x14]
push eax
call fcn.0040dc90
add esp, 0xc
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x48d4e0
shl ebx, 2
push 4
push ebx
push edi
call fcn.0040dc90
add esp, 0xc
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
test esi, esi
jne 0x48d49a
jmp 0x48d4a9
test edi, edi
je 0x48d501
push 4
push dword [esp + 0x14]
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x15c]
test eax, eax
je 0x48d529
shl eax, 2
push 4
push eax
push dword [esp + 0x10]
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x48d542
push 4
push dword [esp + 0x14]
push dword [esp + 0x24]
call fcn.0040dc90
add esp, 0xc
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push edi
push esi
call fcn.00480ca0
add esp, 0x10
test edi, edi
je 0x48d565
shl edi, 2
push 4
push edi
push esi
call fcn.0040dc90
add esp, 0xc
xor eax, eax
jmp 0x48d4c5
ud2
call fcn.004ccfb0
ud2
push dword [esp + 0x20]
push dword [esp + 0x28]
jmp 0x48d586
push ebx
push dword [esp + 4]
call fcn.005062c0
add esp, 8
ud2