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

Disassembly:
push 0xffffffffffffffff
push 0x464f3a
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x25c]
and dword [esp + 0x74], 0xfffffe00
xor ebx, ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x254], 1
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
lea ecx, [esp + 0xd4]
mov byte [esp + 0x254], 2
call fcn.004ce530
cmp al, bl
je 0x4ceadd
mov eax, dword [esp + 0xf0]
mov byte [esp + 0x24], 2
and dword [esp + 0x24], 0xfffffeff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
push 0x46a567
push 0x46a564
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x260], 3
call 0x4eb980
mov ecx, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x254], 2
call 0x4ea700
mov esi, eax
call 0x4ea610
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x24], 4
or dword [esp + 0x24], 0x100
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jae 0x4cea2e
lea eax, [esp + 0xd8]
mov edi, dword [esp + 0xe8]
push eax
call 0x4e9c90
add esp, 4
mov dword [esp + 0x1c], eax
push 0x46a573
push 0x46a568
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x260], 4
call 0x4eb980
mov ecx, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x254], 2
call 0x4ea700
mov esi, eax
call 0x4ea610
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov byte [esp + 0x24], 2
and dword [esp + 0x24], 0xfffffeff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 0x46a57e
push 0x46a574
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x260], 5
call 0x4eb980
mov ecx, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x254], 2
call 0x4ea700
mov esi, eax
call 0x4ea610
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov ecx, ebp
mov byte [esp + 0x254], 7
mov dword [esp + 0x14], ebx
call fcn.004c8270
test eax, eax
jbe 0x4cec47
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x4ceb41
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x4ceb46
call 0x4ff61d
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x4ceb58
mov eax, dword [eax + 4]
jmp 0x4ceb5b
add eax, 4
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x467130]
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
mov edi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], edi
je 0x4ceba6
mov esi, dword [esp + 0x58]
mov edx, eax
sub edx, ecx
sub esi, ecx
sar edx, 2
sar esi, 2
cmp edx, esi
jae 0x4ceba6
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x54], eax
jmp 0x4cebd0
cmp ecx, eax
mov esi, eax
jbe 0x4cebb1
call 0x4ff61d
push esi
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea eax, [esp + 0x5c]
call fcn.004d0ec0
mov esi, dword [esp + 0x40]
cmp esi, ebx
mov edx, dword [esp + 0x44]
je 0x4cec01
mov ecx, dword [esp + 0x48]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4cec01
mov eax, edx
add eax, 4
mov dword [edx], 0xffffffff
mov dword [esp + 0x44], eax
jmp 0x4cec28
cmp esi, edx
mov edi, edx
jbe 0x4cec0c
call 0x4ff61d
push edi
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x4c]
call fcn.004d0ec0
mov esi, dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
add esi, 1
mov ecx, ebp
mov dword [esp + 0x14], esi
call fcn.004c8270
cmp esi, eax
jb 0x4ceb1c
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x3c]
push ecx
lea esi, [esp + 0x50]
call fcn.004ce750
add esp, 4
push 0x46a585
push 0x46a580
lea edx, [esp + 0x74]
push edx
call 0x4eb980
mov edi, eax
call 0x4eb440
mov ecx, ebp
mov dword [esp + 0x14], ebx
call fcn.004c8270
test eax, eax
jbe 0x4cf016
mov dword [esp + 0x18], ebx
jmp 0x4ceca4
mov ebp, dword [esp + 0x68]
and dword [esp + 0x8c], 0xfffffe00
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x254], 9
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x4cecf1
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x4cecf6
call 0x4ff61d
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x18]
mov byte [esp + 0x24], 4
mov esi, dword [esp + 0x24]
mov edi, dword [eax + 0x14]
or esi, 0x100
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jb 0x4ced2a
mov eax, dword [eax + 4]
jmp 0x4ced2d
add eax, 4
push eax
call 0x4e9c90
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
push 0x46a58c
push 0x46a588
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x260], 0xa
call 0x4eb980
mov byte [esp + 0x254], 9
movsx ebp, byte [eax + 8]
mov cl, byte [esp + 0x24]
mov byte [eax + 8], cl
mov ecx, dword [eax + 4]
mov edx, esi
xor edx, ebp
mov ebp, dword [eax]
and edx, 0xff
xor esi, edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
mov dword [eax], edi
mov dword [esp + 0xa8], ecx
mov ecx, edx
shr ecx, 8
and ecx, 1
mov edi, edx
xor edi, esi
and edi, 0x100
shl ecx, 8
xor edi, edx
mov dword [eax + 8], edi
mov edi, dword [eax + 0xc]
xor ecx, esi
and ecx, 0x100
mov dword [eax + 0xc], ebx
xor esi, ecx
mov dword [eax + 0x10], ebx
mov dword [esp + 0x24], esi
mov dword [eax + 0x14], ebx
movsx eax, byte [esp + 0x24]
cmp eax, 4
je 0x4cedeb
add eax, 0xfffffffa
cmp eax, 1
ja 0x4cedfc
cmp ebp, ebx
je 0x4cedfc
mov ecx, ebp
call 0x4ec3b0
push ebp
call 0x4ff245
jmp 0x4cedf9
test esi, 0x100
je 0x4cedfc
push ebp
call 0x500c16
add esp, 4
cmp edi, ebx
je 0x4cee1d
mov eax, dword [edi - 4]
push 0x4291e0
lea esi, [edi - 4]
push eax
push 4
push edi
call 0x4ffd65
push esi
call 0x4ff9ec
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4cee34
mov ecx, dword [esp + 0x44]
sub ecx, eax
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x4cee3d
call 0x4ff61d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov byte [esp + 0x24], 2
mov esi, dword [esp + 0x24]
and esi, 0xfffffeff
mov edi, eax
xor ebp, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
push 0x46a596
push 0x46a590
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x260], 0xb
call 0x4eb980
mov byte [esp + 0x254], 9
movsx ecx, byte [eax + 8]
mov dl, byte [esp + 0x24]
mov byte [eax + 8], dl
mov edx, esi
xor edx, ecx
mov ecx, dword [eax]
and edx, 0xff
xor esi, edx
mov edx, dword [eax + 4]
mov dword [eax], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
mov ecx, edx
shr ecx, 8
and ecx, 1
mov edi, esi
xor edi, edx
and edi, 0x100
shl ecx, 8
mov dword [eax + 4], ebp
xor edi, edx
mov dword [eax + 8], edi
mov edi, dword [eax + 0xc]
xor ecx, esi
and ecx, 0x100
mov dword [eax + 0xc], ebx
xor esi, ecx
mov dword [eax + 0x10], ebx
mov dword [esp + 0x24], esi
mov dword [eax + 0x14], ebx
movsx eax, byte [esp + 0x24]
cmp eax, 4
je 0x4cef1f
add eax, 0xfffffffa
cmp eax, 1
ja 0x4cef34
mov esi, dword [esp + 0x5c]
cmp esi, ebx
je 0x4cef34
mov ecx, esi
call 0x4ec3b0
push esi
call 0x4ff245
jmp 0x4cef31
test esi, 0x100
je 0x4cef34
mov eax, dword [esp + 0x5c]
push eax
call 0x500c16
add esp, 4
cmp edi, ebx
je 0x4cef55
mov ecx, dword [edi - 4]
push 0x4291e0
lea esi, [edi - 4]
push ecx
push 4
push edi
call 0x4ffd65
push esi
call 0x4ff9ec
add esp, 4
lea edx, [esp + 0x84]
push edx
push ecx
push 0x46a585
push 0x46a580
lea eax, [esp + 0x7c]
push eax
call 0x4eb980
add esp, 4
mov ecx, eax
call 0x4ebd80
mov byte [esp + 0x254], 7
mov ecx, dword [esp + 0x8c]
movsx eax, cl
cmp eax, 4
je 0x4cefb5
add eax, 0xfffffffa
cmp eax, 1
ja 0x4cefcd
mov esi, dword [esp + 0x84]
cmp esi, ebx
je 0x4cefcd
mov ecx, esi
call 0x4ec3b0
push esi
call 0x4ff245
jmp 0x4cefca
test ecx, 0x100
je 0x4cefcd
mov ecx, dword [esp + 0x84]
push ecx
call 0x500c16
add esp, 4
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x4ceff5
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4291e0
push edx
push 4
push eax
call 0x4ffd65
push esi
call 0x4ff9ec
add esp, 4
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
add dword [esp + 0x18], 0x1c
add esi, 1
mov dword [esp + 0x14], esi
call fcn.004c8270
cmp esi, eax
jb 0x4ceca0
mov ebp, 0xf
mov dword [esp + 0xfc], 0x46a44c
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
mov byte [esp + 0x11c], bl
mov byte [esp + 0x11d], bl
mov byte [esp + 0x11e], bl
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x104]
mov byte [esp + 0x25c], 0xc
call 0x4ee0f0
mov byte [esp + 0x254], 0xd
mov eax, dword [esp + 0xbc]
mov esi, 0x10
cmp dword [esp + 0xd0], esi
jae 0x4cf095
lea eax, [esp + 0xbc]
mov ecx, dword [esp + 0xcc]
push eax
lea edi, [esp + 0x20]
call fcn.004ce3c0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x260], 0xe
call fcn.004c8a00
mov byte [esp + 0x254], 0xd
cmp dword [esp + 0x34], esi
jb 0x4cf0dc
mov edx, dword [esp + 0x20]
push edx
call 0x4ff245
add esp, 4
push 0x104
lea eax, [esp + 0x141]
push ebx
push eax
mov byte [esp + 0x148], bl
call 0x503cb0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x140]
push ecx
call dword [0x467060]
lea eax, [esp + 0x13c]
mov dword [esp + 0x138], ebp
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
lea edx, [eax + 1]
jmp 0x4cf130
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4cf130
sub eax, edx
push eax
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x128]
call fcn.004c7c20
push 7
push 0x46a598
lea eax, [esp + 0x128]
mov byte [esp + 0x25c], 0xf
call fcn.004c9b20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x144]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
lea esi, [esp + 0xe0]
mov byte [ecx + 4], bl
call fcn.004c8a00
mov ecx, esi
call fcn.004d37b0
mov esi, 0x10
add esp, 0x1c
cmp dword [esp + 0x138], esi
jb 0x4cf1bc
mov ecx, dword [esp + 0x124]
push ecx
call 0x4ff245
add esp, 4
cmp dword [esp + 0xd0], esi
mov dword [esp + 0x138], ebp
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x4cf1ea
mov edx, dword [esp + 0xbc]
push edx
call 0x4ff245
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0xfc], 0x46a44c
jb 0x4cf223
mov eax, dword [esp + 0x104]
push eax
call 0x4ff245
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
mov dword [esp + 0xfc], 0x46e4b0
je 0x4cf254
push eax
call 0x4ff245
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x4cf271
push eax
call 0x4ff245
add esp, 4
cmp dword [esp + 0xec], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
jb 0x4cf296
mov ecx, dword [esp + 0xd8]
push ecx
call 0x4ff245
add esp, 4
mov dword [esp + 0x254], 0xffffffff
mov ecx, dword [esp + 0x74]
movsx eax, cl
cmp eax, 4
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
je 0x4cf2e1
add eax, 0xfffffffa
cmp eax, 1
ja 0x4cf2f6
mov esi, dword [esp + 0x6c]
cmp esi, ebx
je 0x4cf2f6
mov ecx, esi
call 0x4ec3b0
push esi
call 0x4ff245
jmp 0x4cf2f3
test ecx, 0x100
je 0x4cf2f6
mov edx, dword [esp + 0x6c]
push edx
call 0x500c16
add esp, 4
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4cf31b
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4291e0
push ecx
push 4
push eax
call 0x4ffd65
push esi
call 0x4ff9ec
add esp, 4
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call 0x4ff236
add esp, 0x244
ret