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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x60
mov dword [esp + 0x14], ebx
call fcn.004e5410
push 0x200
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xff
call fcn.004c1720
mov edi, dword [ebp + 0xc]
add esp, 8
cmp edi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov word [eax], bx
je 0x4cd06c
mov eax, dword [ebp + 0x10]
push 1
push 0x10083be4
push eax
call fcn.004c86e0
add esp, 0xc
test eax, eax
jne 0x4cd06c
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004c89e0
add esp, 4
test eax, eax
jne 0x4cd06c
push 0x10083be0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004aa370
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x28]
call fcn.004aa370
cmp esi, ebx
je 0x4ccb87
push esi
call fcn.004c17d0
add esp, 4
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 0x60]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004aa210
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
push edx
push esi
call fcn.004c15e0
lea eax, [esi + 0x38]
push eax
push edi
call fcn.004e65e0
mov ecx, dword [esp + 0x34]
add esp, 0x10
push ecx
call dword [0x100780bc]
add eax, eax
mov dword [esi + 0x3c], eax
mov edx, dword [esp + 0x24]
push edx
lea eax, [esi + 0x5e]
push eax
call dword [0x100780b8]
lea ecx, [esi + 0x20]
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [esi + 0x10]
push eax
add esi, 8
push esi
push edi
call fcn.004e6690
add esp, 0x14
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004e54f0
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
call fcn.004cc930
cmp dword [ebp + 0x1c], ebx
jne 0x4ccc43
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov dword [esp + 0x14], 1
call edx
mov ecx, eax
call fcn.004f6fc0
test eax, eax
mov byte [esp + 0x23], bl
je 0x4ccc48
mov byte [esp + 0x23], 1
test byte [esp + 0x10], 1
je 0x4ccc58
lea ecx, [esp + 0x38]
call fcn.004f7250
cmp byte [esp + 0x23], bl
lea ecx, [esp + 0x40]
je 0x4cce67
mov eax, dword [ebp + 0x14]
push eax
push ecx
mov dword [esp + 0x18], ebx
call fcn.004c9a10
mov esi, dword [eax]
add esp, 8
push ebx
push ebx
push 0x20
push 1
push 1
push ebx
push ebx
lea ecx, [esp + 0x54]
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
push eax
push ebx
push 0x40
push esi
lea ecx, [esp + 0x44]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
push ebx
lea ecx, [esp + 0xb8]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 0x120089
lea edx, [esp + 0x38]
push edx
call fcn.004b2510
lea ecx, [esp + 0x40]
call fcn.004aa5e0
push 0x100
lea ecx, [esp + 0x34]
call fcn.004aa210
mov ecx, dword [ebp + 0x24]
mov eax, dword [0x100b7078]
mov edx, dword [ebp + 0x20]
mov esi, dword [eax + 0x448]
mov eax, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
push 1
push edx
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.004f6ef0
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [esp + 0x28]
push eax
push ebx
push ebx
push ebx
push edx
call esi
cmp eax, 0xc0000004
je 0x4ccce4
cmp eax, 0x80000005
je 0x4ccce4
cmp eax, 0xc0000023
je 0x4ccce4
cmp eax, ebx
jne 0x4cce59
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x3c]
mov edi, esi
add esi, 0x3c
shr eax, 1
add eax, 1
add eax, eax
push eax
mov dword [esp + 0x50], eax
call fcn.004c1680
mov edx, dword [esi]
push edx
lea ecx, [edi + 0x5e]
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.004c1600
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
push 1
push 0x10083be0
push eax
mov word [ecx + eax - 2], bx
call fcn.004c86e0
add esp, 0x1c
test eax, eax
jne 0x4cce45
push 6
lea eax, [edi + 0x5e]
push 0x10083bd8
push eax
mov dword [esi], 6
mov byte [edi + 0x44], 6
call fcn.004c1600
mov dword [edi], ebx
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, 0x6c
je 0x4ccdfd
mov edi, dword [esp + 0x30]
push 0x6c
mov esi, eax
call fcn.004c1680
add esp, 4
cmp esi, 0x6c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x6c
jb 0x4ccddd
mov esi, 0x6c
xor eax, eax
cmp esi, ebx
jbe 0x4ccdf4
mov dl, byte [eax + edi]
mov ecx, dword [esp + 0x30]
mov byte [eax + ecx], dl
add eax, 1
cmp eax, esi
jb 0x4ccde3
push edi
call fcn.004c17d0
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x30]
push edx
call fcn.004e54f0
push 0x10083bd8
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004aa370
lea eax, [esp + 0x40]
mov ecx, eax
push eax
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.004cc930
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4cce45
push eax
call fcn.004c17d0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4cce56
push eax
call fcn.004c17d0
add esp, 4
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
call fcn.004c8af0
jmp 0x4cd05b
push 0x10083bd8
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004aa370
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.004aa370
lea ecx, [esp + 0x40]
call fcn.004aa5e0
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 0x60]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
call fcn.004aa210
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
push eax
push esi
call fcn.004c15e0
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
add esp, 8
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x10]
push edx
call eax
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4cceeb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
call fcn.004f7040
sub ax, 1
movzx eax, ax
cmp ax, bx
mov dword [esp + 0x14], eax
je 0x4ccf3a
jmp 0x4ccf18
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f72f0
cmp ax, 0x5c
je 0x4ccf48
mov eax, dword [esp + 0x14]
add eax, 0xffff
cmp ax, bx
mov dword [esp + 0x14], eax
jne 0x4ccf14
lea ecx, [esp + 0x18]
call fcn.004f6ee0
mov word [eax], bx
jmp 0x4ccf5c
lea ecx, [esp + 0x18]
call fcn.004f6ee0
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx - 2]
mov word [eax], dx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6ec0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esi + 0x38]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call dword [0x100780bc]
add eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esi + 0x5e]
push edx
call dword [0x100780b8]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6ec0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6ec0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6ec0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f6ec0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
add esi, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004e54f0
lea ecx, [esp + 0x24]
push ecx
mov edx, ecx
mov ecx, dword [ebp + 0x18]
push edx
call fcn.004cc930
lea ecx, [esp + 0x18]
call fcn.004f7250
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4cd05b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4cd06c
push eax
call fcn.004c17d0
add esp, 4
cmp dword [ebp + 0x1c], ebx
je 0x4cd2ff
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x4c], eax
je 0x4cd490
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.004c15e0
add esp, 8
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.004cc6d0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4cd2da
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jne 0x4cd2da
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
test eax, eax
jne 0x4cd2da
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
call fcn.004e5f10
add esp, 8
test eax, eax
je 0x4cd2da
mov edi, dword [esp + 0x28]
lea edi, [edi*4 + 0x60]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004aa210
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004c15e0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
add esp, 8
lea edx, [esp + 0x10]
push edx
call eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
lea ebx, [esi + 0x38]
push ebx
push 0x100782ec
lea ecx, [esp + 0xc0]
mov dword [esp + 0x38], eax
add edi, 0x18
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
call edx
test dword [ebx], 0x10
jne 0x4cd1ca
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push 0x100782ec
lea ecx, [esp + 0xb0]
add edi, 0x20
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov eax, dword [esp + 0x24]
push eax
call dword [0x100780bc]
add eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esi + 0x5e]
push edx
call dword [0x100780b8]
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 8]
push eax
push 0x100782ec
lea ecx, [esp + 0xb8]
add edi, 0x24
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 0x18]
push eax
push 0x100782ec
lea ecx, [esp + 0xc8]
add edi, 0x28
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 0x10]
push eax
push 0x100782ec
lea ecx, [esp + 0x90]
add edi, 0x2c
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
add esi, 0x20
push esi
push 0x100782ec
lea ecx, [esp + 0x48]
mov ebx, eax
add edi, 0x30
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004e54f0
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
call fcn.004cc930
lea ecx, [esp + 0x10]
call fcn.0050ed20
lea ecx, [esp + 0x18]
call fcn.004aa300
lea ecx, [esp + 0x14]
call fcn.0050ed20
xor ebx, ebx
jmp 0x4cd2e3
lea ecx, [esp + 0x14]
call fcn.0050ed20
cmp dword [esp + 0x4c], ebx
jne 0x4cd086
lea ecx, [esp + 0x24]
call fcn.004aa5e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x5c]
call fcn.004f7130
mov edx, dword [edi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x50]
push eax
push ebx
mov ecx, edi
call edx
test eax, eax
jne 0x4cd487
nop
lea ecx, [esp + 0x5c]
call fcn.004f6ee0
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004ab340
add esp, 8
push eax
lea ecx, [esp + 0x28]
call fcn.004aae60
lea ecx, [esp + 0x88]
call fcn.004aa5e0
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
call fcn.004e5f10
add esp, 8
test eax, eax
jne 0x4cd384
lea ecx, [esp + 0x5c]
call fcn.004f7250
jmp 0x4cd467
mov edi, dword [esp + 0x28]
lea edi, [edi*4 + 0x60]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004aa210
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004c15e0
mov eax, dword [esp + 0x60]
add esp, 8
mov dword [esi + 0x38], eax
test dword [esp + 0x58], 0x10
jne 0x4cd3d8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x54]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov eax, dword [esp + 0x24]
push eax
call dword [0x100780bc]
add eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esi + 0x5e]
push edx
call dword [0x100780b8]
mov eax, dword [esp + 0x68]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x70]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x80]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.004e54f0
lea eax, [esp + 0x24]
mov ecx, eax
push eax
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.004cc930
lea ecx, [esp + 0x18]
call fcn.004aa300
lea ecx, [esp + 0x5c]
call fcn.004f7250
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
call fcn.004f7130
mov edx, dword [edi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x50]
push eax
push ebx
mov ecx, edi
call edx
test eax, eax
je 0x4cd320
lea ecx, [esp + 0x5c]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004aa5e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24