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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
and eax, 1
mov dword [ebp - 0x1c], eax
je 0x4cdd50
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4cdd50
mov ecx, dword [edi + 8]
test byte [ecx + 0xb1], 8
jne 0x4cdd50
mov edx, dword [esi + 0x30]
mov ecx, dword [edi + 0x1c]
lea ecx, [ecx + edx*4]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push ecx
push ecx
and eax, 0xfffff
or eax, 0x10000000
lea ebx, [esi + 0x10]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.004b14c0
test eax, eax
jl 0x4ce2c5
mov eax, dword [esi + 0x34]
mov ecx, dword [edi + 0x1c]
push eax
mov eax, dword [esi + 0x30]
lea edx, [ecx + eax*4]
mov eax, dword [esi + 0x48]
push edx
push eax
push edi
call fcn.004a2f90
test eax, eax
jl 0x4ce2c5
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x90]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edx + 0x3684]
mov edx, dword [edi + 0x1c]
push 0
push ecx
mov ecx, dword [esi + 0x30]
push 1
push 0
push eax
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x48]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.004af880
test eax, eax
jl 0x4ce2c5
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 4]
push ecx
push eax
push edx
push ebx
call fcn.004a1610
test eax, eax
jl 0x4ce2c5
mov ebx, dword [ebp - 4]
push edi
call fcn.004a14a0
test eax, eax
jl 0x4ce2c5
mov ecx, dword [edi + 0x1c]
mov eax, esi
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
lea esi, [ecx + eax*4]
call fcn.004a3ba0
test al, al
je 0x4cdd31
xor esi, esi
test edx, edx
jbe 0x4cdd50
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x30]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 8]
add edx, esi
mov eax, dword [eax + edx*4]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 4]
call eax
test eax, eax
jl 0x4cdd28
inc esi
cmp esi, dword [ebx + 0x34]
jb 0x4cdd01
jmp 0x4cdd50
mov byte [edi + 0xda], 1
jmp 0x4cdd50
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x14]
push eax
push 0x442508
push edx
mov edx, 0xdaf
mov eax, edi
call fcn.004a49f0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, dword [eax + 0x50]
mov dword [ebp - 8], ecx
mov dword [ebp + 0x18], edx
test esi, esi
je 0x4ce2c3
cmp dword [esi + 4], 2
jne 0x4ce2c3
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov dword [ebp - 0x24], eax
mov eax, ecx
mov dword [ebp - 0x14], edx
and eax, 0x20
xor edx, edx
or eax, edx
mov dword [ebp - 4], esi
je 0x4ce1dc
and ecx, 0x4000000
xor eax, eax
or ecx, eax
jne 0x4ce1dc
cmp dword [ebp - 0x1c], ecx
jne 0x4cde30
cmp dword [esi + 0x34], ecx
jbe 0x4cdddd
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 0x1c]
lea edx, [edx + eax*4]
mov eax, dword [edx]
test eax, eax
je 0x4cddd4
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + 0x3668]
cmp ebx, dword [eax + 0x10]
je 0x4ce257
inc ecx
add edx, 4
cmp ecx, dword [esi + 0x34]
jb 0x4cddbc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4cde01
mov eax, dword [eax + 8]
test eax, eax
je 0x4cde01
push 0
push 0
push 0
push eax
mov ecx, edi
call fcn.004b79a0
test eax, eax
jl 0x4ce2c5
xor ecx, ecx
cmp dword [esi + 0x34], ecx
jbe 0x4ce1f4
lea esp, [esp]
mov eax, dword [esi + 0x30]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [edi + 0x1c]
add eax, ecx
add eax, eax
add eax, eax
mov ebx, dword [eax + ebx]
inc ecx
mov dword [eax + edx], ebx
cmp ecx, dword [esi + 0x34]
jb 0x4cde10
jmp 0x4ce1f4
mov edx, dword [edi + 0x1c]
mov eax, dword [esi + 0x30]
cmp dword [edx + eax*4], 0xffffffff
lea eax, [edx + eax*4]
je 0x4cdea3
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
and ecx, 0x1c000
xor eax, eax
or eax, ecx
je 0x4cdea3
mov ecx, dword [esi + 0x30]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
and eax, 0x10
xor ebx, ebx
and ecx, 0x1c000
or eax, ebx
jne 0x4ce156
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [edi + 8]
lea edx, [edx + eax*4]
xor eax, eax
push eax
mov eax, dword [ecx + 0x36cc]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
push edx
push edx
call fcn.0045e6f0
push eax
push edi
mov eax, 0x80200001
call fcn.004b12c0
jmp 0x4ce14e
mov ecx, dword [edi + 8]
test byte [ecx + 0xb1], 8
jne 0x4ce296
mov eax, dword [esi + 0x30]
lea ebx, [edx + eax*4]
mov eax, dword [ebp + 8]
call fcn.0045e6f0
mov ecx, dword [esi + 0x34]
push ecx
push ebx
push ebx
push eax
push edi
mov dword [ebp - 0x14], eax
call fcn.004a17c0
test eax, eax
jl 0x4ce2c5
xor eax, eax
cmp dword [esi + 0x34], eax
jbe 0x4cdef7
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x30]
mov ebx, dword [edi + 0x1c]
add edx, eax
mov edx, dword [ebx + edx*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 0x34]
jb 0x4cdee3
mov edx, dword [edi + 0x1c]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ebx, dword [ebp - 0x14]
lea ecx, [edx + ecx*4]
lea edx, [ebp + 0x14]
push edx
push 0
push 0
push 0
push 0
push ecx
push ecx
and eax, 0xfffff
or eax, 0x10000000
push eax
push ebx
mov ecx, edi
call fcn.004b14c0
test eax, eax
jl 0x4ce2c5
mov eax, dword [esi + 0x34]
mov ecx, dword [edi + 0x1c]
push eax
mov eax, dword [esi + 0x30]
lea edx, [ecx + eax*4]
mov eax, dword [esi + 0x48]
push edx
push eax
push edi
call fcn.004a2f90
test eax, eax
jl 0x4ce2c5
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x74]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edx + 0x3684]
mov edx, dword [edi + 0x1c]
push 0
push ecx
mov ecx, dword [esi + 0x30]
push 1
push 0
push eax
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x48]
push eax
push ecx
lea edx, [esi + 0x10]
push edx
mov ecx, edi
call fcn.004af880
test eax, eax
jl 0x4ce2c5
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
lea ecx, [ebp + 0x14]
push ecx
push edx
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.004a1610
test eax, eax
jl 0x4ce2c5
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4ce145
cmp dword [eax + 4], 0xa
jne 0x4cdfc6
mov eax, dword [eax + 0x20]
jmp 0x4cdfb3
test eax, eax
je 0x4ce145
cmp dword [eax + 4], 7
jne 0x4ce145
mov eax, dword [edi + 8]
test byte [eax + 0xb5], 8
je 0x4ce145
mov ecx, 1
add dword [eax + 0x778], ecx
mov eax, dword [edi + 8]
add dword [eax + 0x77c], ecx
mov eax, dword [edi + 8]
cmp byte [eax + 0x774], 0
je 0x4ce145
mov ebx, dword [esi + 0xac]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [eax + 0x36e8]
push esi
mov esi, dword [esi + 0xa8]
call fcn.0049f970
test eax, eax
jl 0x4ce2c5
mov ebx, dword [ebp - 4]
xor esi, esi
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x34], esi
jbe 0x4ce0da
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x30]
mov eax, dword [edi + 0x1c]
add edx, esi
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4ce0ba
test edx, edx
je 0x4ce08c
cmp edx, 0xffffffff
je 0x4ce08c
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4ce071
mov ebx, dword [eax + 0x14]
mov dword [esi + 0x14], ebx
mov ebx, dword [ebp - 4]
jmp 0x4ce077
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4ce086
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4ce08c
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4ce0b4
cmp ecx, 0xffffffff
je 0x4ce0b4
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4ce0a7
mov dword [edx + 0x14], eax
jmp 0x4ce0aa
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], 0xffffffff
mov eax, dword [eax + 0x28]
cmp eax, dword [ecx + 0x10]
jb 0x4ce0cd
inc eax
mov dword [ecx + 0x10], eax
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebx + 0x34]
jb 0x4ce044
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x30]
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [edx + ecx*4]
push eax
push esi
mov ecx, edi
call fcn.004b4790
test eax, eax
jl 0x4ce2c5
mov ecx, dword [ebx + 0xac]
mov edx, dword [edi + 0x1c]
push 0
lea eax, [edx + ecx*4]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x36cc]
push 0
push edx
push 0
push 0
push eax
push eax
push esi
push edi
mov eax, 0x80200001
call fcn.004b12c0
test eax, eax
jl 0x4ce2c5
mov esi, dword [ebp - 4]
jmp 0x4ce156
mov ebx, dword [ebp + 0x14]
push edi
call fcn.004a14a0
test eax, eax
jl 0x4ce2c5
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + eax*4], 0xffffffff
lea edx, [ecx + eax*4]
je 0x4ce215
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
and ecx, 0x1c000
xor eax, eax
or eax, ecx
je 0x4ce215
mov eax, dword [esi + 0x68]
and eax, 0x10
xor ecx, ecx
or eax, ecx
jne 0x4ce1ad
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
push eax
push ecx
lea eax, [esi + 0x10]
push 0x442538
push eax
mov edx, 0xdba
mov eax, edi
call fcn.004a49f0
add esp, 0x10
mov ecx, dword [edi + 8]
test byte [ecx + 0xb1], 8
jne 0x4ce1dc
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
push eax
push ecx
push 0x442578
lea eax, [esi + 0x10]
push eax
mov edx, 0xdba
mov eax, edi
call fcn.004a49f0
add esp, 0x10
cmp dword [ebp - 0x1c], 0
je 0x4ce1f4
test byte [ebp + 0xc], 2
je 0x4ce201
mov eax, dword [esi + 0x68]
and eax, 0x40
xor ecx, ecx
or eax, ecx
je 0x4ce201
mov eax, dword [ebp - 8]
test eax, eax
je 0x4ce201
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x34]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x24]
lea eax, [edx + ecx*4]
mov dword [ebp + 0x18], eax
jmp 0x4cdd62
mov ebx, dword [esi + 0x34]
xor eax, eax
test ebx, ebx
jbe 0x4ce1dc
mov ecx, edx
mov edx, dword [ecx]
test edx, edx
je 0x4ce239
cmp dword [edx + 0x94], 0
je 0x4ce239
inc eax
add ecx, 4
cmp eax, ebx
jb 0x4ce220
jmp 0x4ce1dc
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea edx, [esi + 0x10]
push 0x4425c0
push edx
mov edx, 0xdaf
jmp 0x4ce1d2
mov eax, dword [eax + 0x84]
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
test eax, eax
je 0x4ce26f
add eax, 0x10
jmp 0x4ce271
xor eax, eax
push esi
push ecx
push 0x4425f0
push eax
mov edx, 0xdb4
mov eax, edi
call fcn.004a49f0
add esp, 0x10
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
push 0x442628
add esi, 0x10
push esi
mov edx, 0xdb3
mov eax, edi
call fcn.004a49f0
add esp, 0xc
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18