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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edi
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x38], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x3c], eax
jne 0x4ce256
cmp byte [eax + 0x51], 0
jne 0x4ce256
call fcn.004cd640
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x4ce256
push 0
push 0
push 0x7c
mov edx, esi
mov ecx, edi
call fcn.004ea880
mov ecx, eax
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x4cd9fa
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, ecx
je 0x4cd9f0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.00485170
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cd9fa
cmp dword [esi + 0x10], 0
jne 0x4cd9fa
mov dword [esp + 0x10], 0
jmp 0x4cda02
mov dword [esp + 0x10], 1
mov edx, esi
mov ecx, edi
call fcn.004c8c50
test eax, eax
jne 0x4ce256
cmp dword [esp + 0x5c], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004cd750
add esp, 4
test eax, eax
jne 0x4ce256
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x3c]
call fcn.004dd8b0
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.004c5240
add esp, 0xc
mov dword [esp + 0x40], eax
cmp eax, 1
je 0x4ce256
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x4cdaa0
nop
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4cda90
mov dword [esp + 0x50], edx
cmp dword [esp + 0x64], 0
je 0x4cdabf
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov dword [edi + 0xf0], eax
jmp 0x4cdacf
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x60], esi
test esi, esi
jne 0x4cdb00
cmp dword [edi + 0x74], esi
jne 0x4cdaeb
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4cdaeb
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004a1b00
mov esi, eax
mov dword [esp + 0x60], eax
test esi, esi
je 0x4cde58
cmp byte [edi + 0x12], 0
jne 0x4cdb0d
or dword [esi + 0x98], 0x20
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004cbeb0
add esp, 4
cmp dword [esp + 0x64], 0
je 0x4cdb4c
push dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0
push dword [esp + 0x54]
call fcn.004cd7a0
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.004b7620
test eax, eax
jne 0x4cde58
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4cdbc2
cmp byte [edi + 0x12], 0
jne 0x4cdbc2
cmp dword [edi + 0x78], 0
jne 0x4cdbc2
inc dword [edi + 0x2c]
mov edx, 0x46
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x5c], eax
call fcn.004a1f70
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x4cdc76
cmp dword [esp + 0x48], 0
jne 0x4cdc76
cmp dword [esp + 0x10], 0
jne 0x4cdc76
mov eax, dword [esp + 8]
cmp dword [eax + 0x38], 0
jne 0x4cdc76
push dword [eax]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.004c52d0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test byte [ecx + 0x24], 0x20
jne 0x4cdc3b
mov edx, dword [esp + 0x54]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x89
push eax
push dword [esp + 0x24]
push dword [ecx + 0x1c]
mov ecx, esi
call fcn.004a22b0
mov ecx, dword [esp + 0x1c]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4ce1fc
mov edi, eax
nop dword [eax]
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.004a1f70
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4cdc50
mov edi, dword [esp + 0xc]
jmp 0x4ce1fc
test byte [esp + 0x98], 0x40
mov eax, 1
cmove eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 8]
test byte [eax + 0x24], 0x20
jne 0x4cdcd3
inc dword [edi + 0x2c]
mov edx, 0x49
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x70], eax
call fcn.004a1f70
add esp, 8
jmp 0x4cdd25
mov ecx, eax
call fcn.004c6a80
mov dword [esp + 0x10], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x48], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x38], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [edi + 0x28], eax
call fcn.004a1f70
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004a2e50
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x58]
inc eax
push eax
push dword [esp + 0x44]
push 0
push 0
push dword [esp + 0x58]
call fcn.004fc3e0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x4cde58
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 0x31]
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x4cdd7c
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4cdd96
push 1
push eax
mov edx, 0x53
mov ecx, esi
call fcn.004a1f70
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4cddf6
mov eax, dword [esp + 0x18]
xor ecx, ecx
cwde
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4cddec
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x44]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.004bd110
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x18]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x4cddb1
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x4cde19
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004bd110
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x4cdf26
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
add eax, 2
cdq
push edx
push eax
call fcn.00480700
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x4cdec8
mov ecx, dword [esp + 0x74]
call fcn.004fcf20
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4cde6a
mov dword [eax + 0xf0], ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.004cb660
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4cde8a
mov edx, eax
mov ecx, esi
call fcn.004b8a40
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4ce29e
test esi, esi
je 0x4ce295
cmp dword [esi + 0x1e8], 0
je 0x4ce263
mov edx, ecx
mov ecx, esi
call fcn.00480330
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.0063e100
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4cdef8
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x40]
test eax, eax
js 0x4cdf06
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4cdf17
mov edx, eax
mov ecx, esi
call fcn.004a2c50
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x70], eax
jmp 0x4cdfb7
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4cdf92
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x38], 0
call fcn.004d46c0
mov ecx, dword [esp + 0x68]
add esp, 4
mov edx, 0x5c
push eax
push dword [esp + 0x14]
push esi
push dword [esp + 0x54]
call fcn.004a22b0
add esp, 0x14
mov edx, 0x84
push esi
push dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x40]
call fcn.004a24e0
add esp, 0x10
jmp 0x4cdfae
push eax
push dword [esp + 0x6c]
mov edx, 0x93
mov dword [esp + 0x38], 1
mov ecx, esi
call fcn.004a1f70
add esp, 8
mov ecx, dword [esp + 0x74]
call fcn.004fcf20
cmp dword [esp + 0x64], 0
jne 0x4ce017
cmp dword [esp + 0x24], 2
mov dword [esp + 0x20], 0
jne 0x4cdfdd
mov edx, 0x11
mov ecx, esi
call fcn.004a1eb0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x20]
push 8
push 0x62
call fcn.004d7d30
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp eax, 2
jne 0x4ce01b
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004a2960
jmp 0x4ce01f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ce063
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], 0
jne 0x4ce0e3
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
cmp byte [eax + edx], 0
je 0x4ce0d9
mov eax, dword [esp + 0x30]
mov ecx, esi
cwde
push eax
push dword [esp + 0x10]
push dword [esp + 0x78]
push edx
mov edx, 0x1c
call fcn.004a24e0
add esp, 0x10
jmp 0x4ce0d1
cmp dword [esp + 0x10], 0
mov ecx, esi
je 0x4ce0b6
push dword [esp + 0x34]
mov edx, 0x24
call fcn.004a1f10
mov dword [esp + 0x3c], eax
add esp, 4
mov eax, dword [esp + 8]
mov ecx, esi
push dword [esp + 0xc]
cmp dword [eax + 0x38], 0
je 0x4ce0a3
push 0
push dword [esp + 0x3c]
mov edx, 0x5a
call fcn.004a1e40
jmp 0x4ce0ce
push dword [esp + 0x38]
mov edx, 0x7f
call fcn.004a1f70
add esp, 8
jmp 0x4ce0d1
push dword [esp + 0xc]
mov edx, 0x29
push 0
push dword [esp + 0x70]
call fcn.004a1e40
mov dword [esp + 0x44], eax
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x38], 0
je 0x4ce174
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ce101
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x4ce0fd
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4ce0f2
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.004f0350
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x24], 1
mov byte [ecx + 0x15], 1
jne 0x4ce13e
push dword [esp + 0x14]
mov edx, 0x75
mov ecx, esi
call fcn.004a1f10
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4ce13e
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x24]
mov edx, 0xa
mov ecx, esi
push dword [esp + 0x14]
push 1
push 0
call fcn.004a22b0
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4ce1ab
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4ce1ab
push dword [esp + 0x40]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x28]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x40]
push dword [esp + 0x20]
push dword [esp + 0x84]
push edx
push dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
call fcn.004ce2c0
add esp, 0x24
cmp dword [esp + 0x24], 0
mov ecx, esi
je 0x4ce1c8
mov edx, dword [esp + 0x70]
call fcn.004a2630
mov ecx, dword [esp + 0x74]
call fcn.004fcf20
jmp 0x4ce1fc
cmp dword [esp + 0x10], 0
je 0x4ce1e8
mov eax, dword [esp + 0x38]
mov edx, 5
inc eax
push eax
push dword [esp + 0x38]
call fcn.004a1f70
add esp, 8
jmp 0x4ce1f1
mov edx, dword [esp + 0x38]
call fcn.004a1fe0
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004a2960
cmp byte [edi + 0x12], 0
jne 0x4ce215
cmp dword [edi + 0x78], 0
jne 0x4ce215
cmp dword [edi + 0x70], 0
je 0x4ce215
mov ecx, edi
call fcn.004d4bb0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4cde58
push 1
push eax
mov edx, 0x51
mov ecx, esi
call fcn.004a1f70
mov edx, 1
mov ecx, esi
call fcn.004a4060
push 0
push 0x70fb34
push 0
xor edx, edx
mov ecx, esi
call fcn.004a4120
add esp, 0x14
jmp 0x4cde58
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x4cde60
cmp ecx, dword [esi + 0x138]
jb 0x4ce295
cmp ecx, dword [esi + 0x13c]
jae 0x4ce295
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004802c0
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret