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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [0x1548690]
push edi
mov dword [esp + 0x18], eax
call fcn.004cb910
mov ecx, dword [0x1548aa4]
xor ebp, ebp
or ebx, 0xffffffff
add ecx, esi
cmp esi, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebx
mov dword [0x1548adc], 0x1534d0c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebx
mov dword [0x1548aa4], ecx
jle 0x4cc3fb
mov edi, dword [esp + 0x44]
add edi, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], esi
jmp 0x4cbfa0
mov eax, dword [edi - 4]
cmp eax, ebx
jne 0x4cbfbb
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx*4 + 0x563270]
add esp, 4
jmp 0x4cc3da
mov ecx, eax
mov edx, eax
mov edi, eax
shr ecx, 7
shr edx, 0x12
shr edi, 2
mov esi, eax
mov ebx, eax
and ecx, 0x7ff
and edx, 0xfff
mov ebp, dword [edx*4 + 0x153f4cc]
shr esi, 0x1e
and ebx, 1
and edi, 1
test al, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
je 0x4cc002
mov dword [esp + 0x44], 0x7fe
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x4cc030
cmp esi, dword [esp + 0x2c]
jne 0x4cc030
cmp ebx, dword [esp + 0x24]
jne 0x4cc030
cmp edi, dword [esp + 0x28]
jne 0x4cc030
cmp ecx, dword [esp + 0x1c]
je 0x4cc2ef
test byte [ebp + 0x4c], 4
jne 0x4cc0c2
test eax, eax
je 0x4cc04d
call fcn.004f7340
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x4c]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esp + 0x44]
xor eax, edx
mov dword [esp + 0x34], eax
cmp ecx, 0x7fe
je 0x4cc06a
mov eax, dword [0x1548798]
imul ecx, ecx, 0x2b8
add ecx, eax
mov dword [0x1548adc], ecx
jmp 0x4cc074
mov dword [0x1548adc], 0x1534d0c
cmp esi, dword [0x15335fc]
je 0x4cc0a2
mov eax, dword [0x153373c]
test eax, eax
je 0x4cc08c
call fcn.00503710
jmp 0x4cc09c
mov eax, dword [0x1533758]
test eax, eax
je 0x4cc09c
mov eax, esi
call fcn.004f4060
mov dword [0x15335fc], esi
push 3
mov ecx, ebp
call fcn.004f40f0
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
cmp ecx, dword [esp + 0x1c]
je 0x4cc2ef
fld dword [esp + 0x18]
xor ebx, ebx
xor ebp, ebp
cmp ecx, 0x7fe
mov dword [esp + 0x10], ebx
je 0x4cc20c
mov edx, dword [0x1548798]
mov eax, dword [0x17efc10]
mov edi, ecx
imul edi, edi, 0x2b8
add edi, edx
mov dword [0x1548adc], edi
fsub dword [edi + 0x78]
fst dword [0x1548690]
fsub dword [eax + 0x17c]
fstp dword [0x17efc18]
mov cl, byte [eax + 0x4c]
test cl, 4
je 0x4cc12f
mov ecx, 0x1f
mov esi, 0x1548844
mov edi, 0x1548a28
rep movsd dword es:[edi], dword [esi]
jmp 0x4cc14e
mov eax, dword [edi]
cmp eax, 1
je 0x4cc13f
cmp eax, 2
je 0x4cc13f
cmp eax, ebp
jne 0x4cc11c
mov eax, 0x1548a28
mov ebx, 0x15487c8
call fcn.004c8e40
mov edx, dword [0x1548adc]
cmp dword [edx + 0x9c], ebp
je 0x4cc171
mov edx, dword [0x15487a4]
mov eax, dword [0x15487a0]
mov ecx, 0x1548a28
call fcn.004a99b0
mov eax, dword [0x1548adc]
mov eax, dword [eax + 4]
mov ecx, dword [0x17efc10]
and eax, 0x18
mov dword [esp + 0x10], eax
test byte [ecx + 0x54], 0x18
je 0x4cc1f4
call fcn.004cbd00
mov edx, dword [0x1548adc]
mov esi, dword [edx + 0x2ac]
mov eax, dword [0x153360c]
cmp esi, eax
je 0x4cc1c2
cmp eax, ebp
je 0x4cc1b1
push eax
call dword [0x1533980]
cmp esi, ebp
mov dword [0x153360c], esi
je 0x4cc1c2
push esi
call dword [0x1533f08]
mov ebx, dword [esp + 0x10]
push 0x1548a64
call dword [0x1533ca0]
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x4cc2e2
cmp ebx, 0x18
ja case.0x4cc1ed.1
movzx edx, byte [ebx + 0x4cc4a8]
jmp dword [edx*4 + 0x4cc498]
mov eax, dword [0x153360c]
cmp eax, ebp
je 0x4cc1c2
push eax
call dword [0x1533980]
mov dword [0x153360c], ebp
jmp 0x4cc1c2
mov eax, dword [esp + 0x18]
mov dword [0x1548690], eax
mov dword [0x1548adc], 0x1534d0c
mov ecx, 0x1f
mov esi, 0x1548844
mov edi, 0x1548a28
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x17efc10]
mov edx, dword [0x15487a4]
mov eax, dword [0x154879c]
fsub dword [ecx + 0x17c]
mov ecx, 0x1548a28
fstp dword [0x17efc18]
call fcn.004a99b0
mov eax, dword [0x153360c]
cmp eax, ebp
je 0x4cc1c6
push eax
call dword [0x1533980]
mov dword [0x153360c], ebp
jmp 0x4cc1c6
push 0x3ff00000
jmp 0x4cc2af
push 0x1701
call dword [0x1533d0c]
push 0x1548950
call dword [0x1533ca0]
push 0x1700
call dword [0x1533d0c]
push 0x3fc99999
push 0xa0000000
jmp 0x4cc2b0
push 0x3fe00000
push ebp
push ebp
push ebp
call dword [0x153433c]
cmp esi, 8
jne 0x4cc2de
push 0x1701
call dword [0x1533d0c]
push 0x1548910
call dword [0x1533ca0]
push 0x1700
call dword [0x1533d0c]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x4cc3bd
mov edx, dword [0x17efc10]
test byte [edx + 0x54], 0x18
je 0x4cc341
call fcn.004cbd00
test eax, eax
je 0x4cc30f
push 0x1548a64
call dword [0x1533ca0]
mov eax, dword [0x1548adc]
mov esi, dword [eax + 0x2ac]
mov eax, dword [0x153360c]
cmp esi, eax
je 0x4cc35b
test eax, eax
je 0x4cc32e
push eax
call dword [0x1533980]
test esi, esi
mov dword [0x153360c], esi
je 0x4cc35b
push esi
call dword [0x1533f08]
jmp 0x4cc35b
mov eax, dword [0x153360c]
test eax, eax
je 0x4cc35f
push eax
call dword [0x1533980]
mov dword [0x153360c], 0
mov ecx, dword [esp + 0x44]
cmp ecx, 0x7fe
je 0x4cc3bd
test byte [esp + 0x34], 4
je 0x4cc3bd
mov ecx, dword [0x17efc10]
test byte [ecx + 0x4c], 4
je 0x4cc38d
mov ecx, 0x1f
mov esi, 0x1548844
mov edi, 0x1548a28
rep movsd dword es:[edi], dword [esi]
jmp 0x4cc3b2
mov edi, dword [0x1548adc]
mov eax, dword [edi]
cmp eax, 1
je 0x4cc3a3
cmp eax, 2
je 0x4cc3a3
test eax, eax
jne 0x4cc37a
mov eax, 0x1548a28
mov ebx, 0x15487c8
call fcn.004c8e40
push 0x1548a64
call dword [0x1533ca0]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [eax]
push eax
call dword [ecx*4 + 0x563270]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
add esp, 4
xor ebp, ebp
mov eax, dword [esp + 0x38]
add edi, 8
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
jne 0x4cbfa0
cmp dword [esp + 0x14], ebp
je 0x4cc3fb
call fcn.004f7340
mov eax, dword [0x15484e8]
cmp eax, dword [0x15335fc]
mov edi, eax
je 0x4cc42e
cmp dword [0x153373c], ebp
je 0x4cc41b
mov esi, eax
call fcn.00503710
jmp 0x4cc428
cmp dword [0x1533758], ebp
je 0x4cc428
call fcn.004f4060
mov dword [0x15335fc], edi
mov edx, dword [esp + 0x18]
mov dword [0x1548690], edx
mov dword [0x1548adc], 0x1534d0c
mov ecx, 0x1f
mov esi, 0x1548844
mov edi, 0x1548a28
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x15487a4]
mov eax, dword [0x154879c]
mov ecx, 0x1548a28
call fcn.004a99b0
push 0x1548880
call dword [0x1533ca0]
cmp dword [esp + 0x10], ebp
je 0x4cc487
push 0x3ff00000
push ebp
push ebp
push ebp
call dword [0x153433c]
call fcn.00507ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
jmp 0x4cefb0
mov eax, dword [0x153334c]
mov ecx, dword [eax + 0x20]
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x4cf328
call fcn.004ce810
call fcn.004ce940
mov esi, dword [0x154a08c]
xor ebp, ebp
cmp esi, ebx
mov dword [0x13f8cd4], ebx
mov edi, 0x154a08c
je 0x4cf068
lea ebx, [ebx]
mov ecx, dword [esi + 4]
cmp ecx, dword [0x15488d8]
jge 0x4cf028
fld dword [esi + 0x24]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x41
jp 0x4cf01e
mov edx, dword [esi]
mov eax, dword [0x154c6a0]
mov dword [edi], edx
mov dword [esi], eax
mov dword [0x154c6a0], esi
jmp 0x4cf062
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], 0x40000000
mov ecx, dword [esi + 0xc]
cmp ecx, dword [0x15488d4]
jne 0x4cf060
mov edx, dword [0x15488cc]
cmp dword [esi + 8], edx
jne 0x4cf060
push esi
call fcn.004ceb50
fld dword [esi + 0x24]
fcomp dword [0x55a4ac]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4cf311
mov ebp, 1
mov edi, esi
mov esi, dword [edi]
cmp esi, ebx
jne 0x4ceff0
mov edx, dword [0x13f8cd4]
push edx
lea edi, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004dcac0
add esp, 4
cmp ebp, ebx
jne 0x4cf0a9
fld dword [esp + 0x10]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x41
jp 0x4cf0a9
fld dword [esp + 0x14]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x41
jnp 0x4cf328
cmp dword [0x15488cc], ebx
je 0x4cf0bc
push 0x3000
call dword [0x1533980]
call dword [0x1533d40]
call dword [0x15337a4]
push 0x1701
call dword [0x1533d0c]
call dword [0x1533d40]
call dword [0x15337a4]
mov eax, dword [0x15488f4]
mov ecx, dword [0x15488fc]
mov edx, dword [0x15488f0]
push 0x40f869f0
push ebx
add ecx, eax
mov eax, dword [0x15488f8]
push 0xc0f869f0
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
push ebx
sub esp, 0x20
add eax, edx
fstp qword [esp + 0x18]
mov dword [esp + 0x48], eax
fild dword [0x15488f4]
fstp qword [esp + 0x10]
fild dword [esp + 0x48]
fstp qword [esp + 8]
fild dword [0x15488f0]
fstp qword [esp]
call dword [0x1533a40]
fld dword [esp + 0x10]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x44
jp 0x4cf15f
fld dword [esp + 0x14]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x44
jnp 0x4cf2b4
call fcn.004ad4e0
mov esi, dword [0x1534a64]
call fcn.004cac70
mov eax, 0x10062
call fcn.004cafd0
mov eax, dword [0x1533540]
mov edx, dword [eax*4 + 0x1533568]
mov ecx, 0x2100
cmp edx, ecx
je 0x4cf1a6
push ecx
push 0x2200
push 0x2300
mov dword [eax*4 + 0x1533568], ecx
call dword [0x15340fc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
push eax
push eax
push eax
call fcn.004ad8a0
fild dword [0x15488f4]
add esp, 0x10
push ebx
push ecx
fstp dword [esp]
push ecx
fild dword [0x15488f0]
mov dword [0x1548568], 7
fstp dword [esp]
call fcn.004ad780
mov edx, dword [0x15488f4]
mov eax, dword [0x15488fc]
add eax, edx
add esp, 0xc
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push ebx
push ecx
fstp dword [esp]
push ecx
fild dword [0x15488f0]
fstp dword [esp]
call fcn.004ad780
mov ecx, dword [0x15488f4]
mov edx, dword [0x15488fc]
mov eax, dword [0x15488f0]
add esp, 0xc
add edx, ecx
push ebx
push ecx
mov ecx, dword [0x15488f8]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x20], ecx
fstp dword [esp]
push ecx
fild dword [esp + 0x24]
fstp dword [esp]
call fcn.004ad780
mov edx, dword [0x15488f0]
fild dword [0x15488f4]
mov eax, dword [0x15488f8]
add esp, 0xc
push ebx
push ecx
add eax, edx
fstp dword [esp]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
push ecx
fstp dword [esp]
call fcn.004ad780
mov ecx, dword [0x1548588]
mov edx, dword [0x1548568]
add esp, 0xc
push ecx
push ebx
push edx
call dword [0x1533fbc]
mov dword [0x1548588], ebx
mov dword [0x1548568], ebx
mov dword [0x1548564], ebx
call fcn.004c8290
push 0x162fbe0
push ebx
push 0x1406
push 3
call dword [0x1534490]
cmp ebp, ebx
je 0x4cf2f3
mov edi, dword [0x154a08c]
cmp edi, ebx
je 0x4cf2f3
mov eax, dword [edi + 0xc]
cmp eax, dword [0x15488d4]
jne 0x4cf2ed
mov ecx, dword [edi + 8]
cmp ecx, dword [0x15488cc]
jne 0x4cf2ed
fld dword [edi + 0x24]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x44
jnp 0x4cf2ed
call fcn.004cecf0
mov edi, dword [edi]
cmp edi, ebx
jne 0x4cf2c2
call dword [0x1534348]
push 0x1700
call dword [0x1533d0c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp dword [0x1534348]
mov eax, dword [esi]
mov ecx, dword [0x154c6a0]
mov dword [edi], eax
mov dword [esi], ecx
mov dword [0x154c6a0], esi
jmp 0x4cf062
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret