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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov eax, ecx
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
cmp edi, dword [esi + 0x48]
jl 0x4bb3e0
push dword [esp + 0x80]
lea esi, [esp + 0x60]
push edi
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov ecx, eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.004b6f5e
jmp 0x4bbaef
cmp byte [eax + 0x19], 0
lea ecx, [eax + 0x1c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
jne 0x4bb41e
cmp dword [ecx], 2
je 0x4bb41e
mov eax, dword [ebp]
lea esi, [esp + 0x5c]
sub esp, 0x20
mov byte [esp + 0x60], 1
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call dword [eax + 0xa8]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x7c]
jmp 0x4bb427
mov byte [esp + 0x40], 0
mov dword [esp + 0x14], ecx
mov al, byte [esi + 0x29]
push dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov ecx, eax
mov bl, byte [eax + 0x220]
call fcn.00478b44
push dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x50]
mov ecx, ebx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004ab3ae
mov ecx, dword [esp + 0x44]
push dword [esp + 0x50]
mov ecx, dword [ecx + 0x2ac]
add ecx, 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0
mov dword [esp + 0x1c], eax
mov ecx, esi
push edi
lea eax, [esp + 0x24]
push eax
call fcn.004b3ce6
push 1
push edi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004b3ce6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x38]
movsd xmm0, qword [ecx + eax*8]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esi + 0x50]
ucomisd xmm0, qword [0x53e368]
lahf
test ah, 0x44
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], eax
jnp 0x4bb525
test edi, edi
jle 0x4bb525
mov edx, dword [esp + 0x58]
test al, 1
je 0x4bb515
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x5c]
movzx eax, byte [eax + 0x220]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x60]
push dword [esp + 0x30]
push dword [esp + 0x30]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x80]
push esi
push ebx
push ebp
call fcn.004bc79d
mov edi, dword [esp + 0xbc]
add esp, 0x40
mov edx, dword [esp + 0x58]
cvttsd2si eax, qword [esi + 0x50]
add edx, eax
mov eax, dword [esp + 0x80]
jmp 0x4bb529
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], edx
cmp dword [ecx], 0
je 0x4bb752
test al, 1
je 0x4bb6b8
push dword [esp + 0x28]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push edx
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.004b740c
movsd xmm0, qword [esp + 0x78]
lea esi, [esp + 0xa8]
add esp, 0x4c
push 1
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004b9429
movsd xmm0, qword [esp + 0x2c]
lea esi, [esp + 0x5c]
push 1
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004b8c68
push dword [esp + 0x28]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
mov eax, dword [esp + 0x88]
push ecx
push ecx
movsd qword [esp], xmm0
and eax, 0xfffffffe
push dword [esp + 0x30]
mov dword [esp + 0x5c], eax
push dword [esp + 0x90]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
push esi
push ebx
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x58]
push edi
push ebp
call fcn.004b8195
movzx eax, byte [esi + 0x29]
mov ecx, ebx
push eax
movzx eax, byte [edi + 0x220]
push eax
call fcn.004ab92f
test al, al
je 0x4bb6b4
push dword [esp + 0x7c]
lea esi, [esp + 0x60]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebp
call fcn.004b79e6
add esp, 0x30
mov eax, dword [esp + 0x48]
shr eax, 1
test al, 1
je 0x4bb752
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x5c]
push dword [eax + 0x14]
push 1
push dword [esp + 0x40]
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004bae4c
add esp, 0x48
lea esi, [esp + 0x5c]
push dword [esp + 0x20]
push dword [esp + 0x20]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push ebp
call fcn.004b9299
add esp, 0x18
lea esi, [esp + 0x7c]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x6c]
push ebp
call fcn.004bbaf9
add esp, 0x30
mov eax, dword [esp + 0x48]
shr eax, 2
test al, 1
je 0x4bb831
cmp byte [ebx + 0x78], 0
je 0x4bb7b3
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x5c]
push 1
push dword [eax + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x8c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.004bc354
add esp, 0x4c
push 1
push dword [esp + 0x80]
lea esi, [esp + 0x64]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push ebp
call fcn.004bc119
add esp, 0x3c
lea esi, [esp + 0x5c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x68]
push dword [esp + 0x94]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x54]
mov ecx, esi
push ebx
push dword [esp + 0x8c]
push ebp
call fcn.004b9be2
jmp 0x4bb835
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
shr eax, 3
test al, 1
je 0x4bb879
push dword [esp + 0x54]
lea esi, [esp + 0x60]
push dword [esp + 0x80]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
mov esi, dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x7c]
push ebx
push dword [esp + 0x7c]
push ebp
call fcn.004ba9bf
mov eax, dword [esp + 0x48]
shr eax, 4
test al, 1
je 0x4bb8c8
push dword [esi + 0x14]
lea esi, [esp + 0x60]
push 0
push dword [esp + 0x40]
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004bae4c
add esp, 0x48
push dword [esp + 0x48]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004b9429
push dword [esp + 0x48]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
mov esi, dword [esp + 0x48]
mov ecx, esi
push dword [esp + 0x84]
push ebx
push dword [esp + 0x84]
push ebp
call fcn.004b8c68
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x4bba4c
push dword [esp + 0x28]
movsd xmm0, qword [esp + 0x30]
lea esi, [esp + 0x60]
push dword [esp + 0x28]
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x30]
push dword [esp + 0x90]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
push esi
push ebx
push edi
push ebp
call fcn.004b8195
movzx eax, byte [esi + 0x29]
mov ecx, ebx
push eax
movzx eax, byte [edi + 0x220]
push eax
call fcn.004ab92f
test al, al
je 0x4bba00
push dword [esp + 0x7c]
lea esi, [esp + 0x60]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebp
call fcn.004b79e6
add esp, 0x30
push dword [esp + 0x20]
lea esi, [esp + 0x60]
push dword [esp + 0x20]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push ebp
call fcn.004b9299
add esp, 0x18
lea esi, [esp + 0x7c]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x6c]
push ebp
call fcn.004bbaf9
mov esi, dword [esp + 0x40]
add esp, 0x30
cmp byte [ebx + 0x78], 0
je 0x4bbaa5
mov eax, dword [esp + 0x48]
shr eax, 5
test al, 1
je 0x4bbaa5
push 2
push dword [esi + 0x14]
lea esi, [esp + 0x64]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x8c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push ebx
push dword [esp + 0x88]
push ebp
call fcn.004bc354
add esp, 0x4c
mov eax, dword [esp + 0x48]
shr eax, 6
test al, 1
je 0x4bbadd
push 2
push dword [esp + 0x80]
lea esi, [esp + 0x64]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push ebp
call fcn.004bc119
add esp, 0x3c
cmp byte [esp + 0x40], 0
je 0x4bbaef
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xac]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x44