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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x928]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x1c]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x34], edi
lea eax, [eax + ecx*4]
movzx ecx, byte [edi + 0xa]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ecx
mov dword [esi + 0xb8], 0
test ecx, ecx
je 0x4cc51c
nop word [eax + eax]
mov eax, dword [eax + edi*4]
mov edx, eax
mov dword [esp + 0x1c], eax
movzx ebx, ax
mov eax, dword [ebp + 0x10]
shr edx, 0x18
mov dword [esp + 0x3c], edx
lea eax, [eax + ebx*8]
mov dword [esp + 0x24], eax
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x28], eax
mov eax, 1
mov ecx, dword [esp + 0x28]
shl eax, cl
test dword [esp + 0x10], eax
je 0x4cbdaf
xor ecx, ecx
test edi, edi
je 0x4cbdaf
nop dword [eax]
mov eax, dword [esp + 0x40]
mov edx, dword [eax + ecx*4]
movzx eax, dx
cmp eax, ebx
je 0x4cbd95
inc ecx
cmp ecx, edi
jb 0x4cbd80
jmp 0x4cbdab
shr edx, 0x18
mov ecx, dword [esi + edx*4 + 0x210]
and ecx, 0xffecffff
jne 0x4cbe4d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
bts ecx, eax
mov dword [esp + 0x10], ecx
cmp ebx, 0x8000
jae 0x4cbddd
push dword [esp + 0x24]
push esi
call fcn.004ccba0
add esp, 8
jmp 0x4cbe4b
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x4cbdfb
mov dword [esp + 0x20], 1
mov ecx, edx
jmp 0x4cbe51
cmp byte [ecx + 5], 0x47
mov ebx, 0x21
mov al, byte [ecx + 4]
jne 0x4cbe13
movzx ebx, word [ecx + 2]
and ebx, 0x10
or ebx, 0x21
and al, 0x1f
mov word [esi + 0x78], dx
mov edx, dword [esp + 0x1c]
mov ecx, 0x4700
movzx eax, al
or ax, cx
mov word [esi + 0x7c], ax
mov eax, ebx
or eax, 0x40
and edx, 0x100000
movzx ecx, ax
movzx eax, bx
cmove ecx, eax
mov word [esi + 0x7a], cx
mov ecx, esi
call fcn.004e5830
mov ecx, eax
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
and eax, 0x130000
or eax, ecx
mov dword [esi + edx*4 + 0x210], eax
test ebx, 0x30000
je 0x4cbe78
test edx, edx
je 0x4cbe78
mov eax, 1
jmp 0x4cbe7a
xor eax, eax
add dword [esi + 0xb8], eax
test ebx, 0x10000
je 0x4cbe8e
lea eax, [edx + 1]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x40]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x4cbd40
cmp dword [esp + 0x20], 0
je 0x4cc51c
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
movzx ecx, word [eax + 4]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*8]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
nop dword [eax]
mov edi, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ecx, di
cmp byte [eax + ecx*8 + 6], 0xfd
lea ebx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
jne 0x4cc06f
shr edi, 0x18
cmp dword [esi + edi*4 + 0x210], edi
jne 0x4cc0aa
movzx eax, byte [ebx + 5]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], 1
mov al, byte [eax + 0x5928f0]
mov byte [esp + 0x3c], al
test al, 3
jne 0x4cbf35
movzx eax, word [ebx]
push eax
push edi
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.004cca70
mov al, byte [esp + 0x54]
add esp, 0x18
mov edx, dword [esp + 0x40]
test al, 0xc
jne 0x4cbf4e
movzx eax, word [ebx + 2]
push eax
push edi
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.004cca70
add esp, 0x18
cmp byte [ebx + 5], 0x54
jne 0x4cbf89
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [ebp + 8]
jae 0x4cc0a6
cmp byte [ebx + 0xd], 0x10
jne 0x4cc0a6
movzx eax, word [ebx + 0xa]
push eax
push edi
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
add esp, 0x18
jmp 0x4cc0a6
mov edx, dword [esp + 0x18]
lea edi, [ebx + 8]
cmp edi, edx
jae 0x4cc0a6
nop dword [eax + eax]
cmp byte [edi + 6], 0xfe
jne 0x4cc062
mov al, byte [edi + 7]
cmp al, 0xff
je 0x4cbfbd
movzx eax, al
xor ecx, ecx
lea eax, [ebx + eax*8]
cmp eax, edi
jmp 0x4cbfff
mov al, byte [edi + 5]
cmp al, 0x4a
je 0x4cbfd4
cmp al, 0x4b
je 0x4cbfd4
cmp al, 0x4d
je 0x4cbfd4
cmp al, 0x4e
je 0x4cbfd4
xor ecx, ecx
jmp 0x4cc002
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x4cbfeb
cmp dl, 0x39
jne 0x4cbff1
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
mov edx, dword [esp + 0x18]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
je 0x4cc062
movzx eax, word [edi + 2]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
add esp, 0x18
test eax, eax
jne 0x4cc032
movzx ecx, word [edi + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
jmp 0x4cc047
mov edx, dword [esp + 0x18]
lea eax, [edi + 8]
cmp eax, edx
jae 0x4cc062
cmp byte [edi + 0xd], 0x10
jne 0x4cc062
movzx eax, word [edi + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
mov edx, dword [esp + 0x30]
add esp, 0x18
add edi, 8
cmp edi, edx
jb 0x4cbfa0
jmp 0x4cc0a6
cmp ecx, 0x8000
jb 0x4cc0aa
movzx eax, word [ebx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x4cc0aa
movzx eax, word [ebx]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.004cca70
add esp, 0x18
shr edi, 0x18
mov dword [esi + edi*4 + 0x210], eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, eax
jb 0x4cbed0
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x20], ecx
je 0x4cc51c
nop
cmp ecx, eax
jae 0x4cc51c
mov ecx, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ebx, cx
cmp byte [eax + ebx*8 + 6], 0xfd
lea edi, [eax + ebx*8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
jne 0x4cc50a
shr ecx, 0x18
mov eax, dword [esi + ecx*4 + 0x210]
lea ebx, [esi + ecx*4]
cmp eax, ecx
je 0x4cc124
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + eax*4 + 0x210]
inc ecx
mov dword [ebx + 0x210], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
jmp 0x4cc0d0
movzx eax, byte [edi + 5]
movzx ecx, word [edi]
mov dword [esp + 0x1c], ecx
mov al, byte [eax + 0x5928f0]
mov byte [esp + 0x3c], al
test al, 3
jne 0x4cc15d
push ecx
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.004cca70
mov edx, dword [esp + 0x58]
add esp, 0x18
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x3c]
movzx edi, word [edi + 2]
test al, 0xc
jne 0x4cc17b
push edi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push ebp
push esi
call fcn.004cca70
add esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 5], 0x54
jne 0x4cc21b
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, dword [ebp + 8]
jae 0x4cc1dc
cmp byte [eax + 0xd], 0x10
jne 0x4cc1dc
mov byte [esi + 0x134], 1
movzx eax, word [eax + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.004e5830
mov edi, eax
mov eax, dword [esp + 0x24]
mov ax, word [eax + 4]
mov ecx, 0xff9f
and ax, cx
mov word [esi + 0x7a], di
mov word [esi + 0x7c], ax
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov word [esi + 0x78], ax
call fcn.004e9100
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
inc ecx
mov dword [ebx + 0x210], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
jmp 0x4cc0d0
mov ax, word [eax + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x1c]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], di
call fcn.004e9100
mov edi, dword [esp + 0x24]
mov dword [ebx + 0x210], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
lea ebx, [edi + 8]
cmp ebx, eax
jae 0x4cc506
cmp byte [ebx + 6], 0xfe
jne 0x4cc4d7
mov al, byte [ebx + 7]
cmp al, 0xff
je 0x4cc270
movzx eax, al
xor ecx, ecx
lea eax, [edi + eax*8]
cmp eax, ebx
jmp 0x4cc2ae
mov al, byte [ebx + 5]
cmp al, 0x4a
je 0x4cc287
cmp al, 0x4b
je 0x4cc287
cmp al, 0x4d
je 0x4cc287
cmp al, 0x4e
je 0x4cc287
xor ecx, ecx
jmp 0x4cc2b1
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebx]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x4cc29e
cmp dl, 0x39
jne 0x4cc2a4
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, edi
sete cl
test ecx, ecx
je 0x4cc4d3
movzx eax, word [ebx]
mov edx, dword [ebp + 0x10]
lea edi, [edx + eax*8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
movzx edi, word [edi + 2]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 5]
mov byte [esp + 0x3c], cl
cmp cl, 0x3e
je 0x4cc387
cmp byte [esp + 0x3c], 0x39
lea ecx, [edx + edi*8]
jne 0x4cc311
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
lea eax, [edx + eax*8]
push eax
push esi
call fcn.004ccba0
add esp, 8
push eax
push esi
call fcn.004e5ff0
add esp, 0xc
jmp 0x4cc31b
push ecx
push esi
call fcn.004ccba0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 5]
cmp al, 0x39
je 0x4cc354
cmp al, 0x38
je 0x4cc354
cmp al, 0x3b
jne 0x4cc383
mov eax, dword [esp + 0x28]
movzx ecx, word [esi + 0x1bc]
movzx eax, ax
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jbe 0x4cc383
mov eax, dword [esi + 0x10]
cmp word [eax + ecx*8 + 2], di
jne 0x4cc383
mov edi, ecx
jmp 0x4cc3a8
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax]
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + ecx*8 + 2]
mov ax, word [eax + ecx*8 + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.004e9100
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov cx, word [eax + 4]
mov eax, dword [esp + 0x2c]
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], ax
mov word [esi + 0x7a], di
call fcn.004e9100
mov edi, eax
mov dword [esp + 0x3c], edi
movzx ecx, word [ebx + 2]
push ecx
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4cc423
movzx ecx, word [ebx + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
add esp, 0x18
mov dword [esi + 0x7a], 0x5b0e01d3
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.004e9100
mov ecx, eax
mov ax, word [ebx + 4]
mov word [esi + 0x7a], cx
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x78], di
call fcn.004e9100
mov edi, dword [esp + 0x24]
jmp 0x4cc4f7
lea eax, [ebx + 8]
cmp eax, dword [esp + 0x18]
jae 0x4cc403
cmp byte [ebx + 0xd], 0x10
jne 0x4cc403
mov byte [esi + 0x134], 1
mov edx, 0x8000
movzx ecx, word [ebx + 2]
cmp cx, dx
jae 0x4cc46e
movzx eax, word [ebx + 0xa]
cmp ax, dx
jae 0x4cc46e
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*8]
cdq
xor edx, edx
add edx, dword [edi + ecx*8]
adc eax, 0
push eax
push edx
push 0x1d
push esi
call fcn.004e5ca0
add esp, 0x10
jmp 0x4cc4a8
movzx eax, word [ebx + 0xa]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebp
push esi
call fcn.004cca70
mov ecx, 0x1015
movzx eax, ax
mov word [esi + 0x7c], cx
add esp, 0x18
mov ecx, dword [esp + 0x2c]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x7a], ax
call fcn.004e5830
mov ecx, eax
movzx eax, byte [ebx + 5]
shl ax, 8
or ax, 0x15
mov word [esi + 0x7a], cx
mov word [esi + 0x7c], ax
mov ecx, esi
mov eax, dword [esp + 0x3c]
mov word [esi + 0x78], ax
call fcn.004e9100
mov edi, dword [esp + 0x24]
jmp 0x4cc4f7
mov eax, dword [esp + 0x18]
cmp byte [ebx + 5], 0x5a
jne 0x4cc4fb
cmp byte [edi + 5], 0x53
jne 0x4cc4fb
xor eax, eax
mov dword [esi + 0x7a], 0x5a000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.004e9100
mov eax, dword [esp + 0x18]
add ebx, 8
cmp ebx, eax
jb 0x4cc253
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x30], ecx
jmp 0x4cc0d0
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x210]
mov ebx, dword [esi + 0x18]
lea eax, [eax + ecx*4]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 8]
sub eax, ecx
mov dword [esi + 0x6c], eax
movzx eax, word [esi + 6]
mov edi, eax
mov ebp, eax
test edi, edi
je 0x4cc557
mov eax, dword [esi + 0x1c]
lea ecx, [edi + edi*2]
movzx eax, word [eax + ecx*4 - 8]
cmp eax, dword [esi + 8]
je 0x4cc563
cmp byte [esi + 0x74], 0
je 0x4cc57c
cmp byte [esi + 0x76], 0
jl 0x4cc57c
cmp edi, 1
jne 0x4cc599
xor eax, eax
mov dword [esi + 0x7a], 0xc000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.004e5830
lea eax, [edi + 1]
cmp eax, dword [esi + 0x120]
lea edx, [esi + 0x120]
jbe 0x4cc5c3
mov ecx, dword [esi + 0x61c]
cmp eax, ecx
ja 0x4cc60f
jmp 0x4cc5a5
mov ecx, dword [esi + 0x1c]
dec edi
lea eax, [edi + edi*2]
mov ebx, dword [ecx + eax*4]
jmp 0x4cc5cd
push 0xc
push ecx
push edx
push dword [esi + 0x124]
push dword [esi + 0x54]
call fcn.004a44c0
add esp, 0x14
mov dword [esi + 0x124], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
lea eax, [ebp + 1]
mov word [esi + 6], ax
lea eax, [edi + edi*2]
mov byte [esi + 0x74], 0
push ebx
lea eax, [ecx + eax*4]
mov byte [esi + 0x76], 0
push eax
push esi
call fcn.004cd7b0
add esp, 0xc
cmp dword [esp + 0x20], 0
pop edi
je 0x4cc608
xor eax, eax
mov dword [esi + 0x7a], 0xf800000
mov word [esi + 0x78], ax
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
jmp fcn.004e5830
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 4
push esi
call fcn.004aaa80
int3