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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xb4
test eax, eax
push ebx
push esi
push edi
mov edi, ecx
jne 0x4cd2c8
push 0x100b0384
lea ecx, [esp + 0x38]
call fcn.004c4160
jmp 0x4cd2d8
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.004c4180
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x10]
push 4
push eax
mov dword [esp + 0x4c], edx
call fcn.00484f10
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [edi + 0x14]
call fcn.004939c0
test eax, eax
je 0x4cd41a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
test eax, eax
je 0x4cd34b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc000017c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cdd4c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
lea ecx, [esp + 0x40]
mov edi, eax
add esi, 0x54
call fcn.004f47c0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x4cd3eb
cmp dword [0x100ccb64], 0
je 0x4cd3d2
push 0x100b0e60
push esi
lea ecx, [esp + 0xa0]
call fcn.00481840
push eax
push 0x100bf754
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.00480530
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x80]
call fcn.0047f280
lea ecx, [esp + 0x98]
call fcn.0046b040
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
jmp 0x4cd32e
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
je 0x4cdd4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cd42a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x50]
call fcn.004f26f0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x50]
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov esi, dword [ebp + 8]
push eax
push esi
lea ecx, [esp + 0xa0]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
push eax
mov ecx, edi
call fcn.004cb640
test eax, eax
jne 0x4cd532
cmp dword [edi + 0x6c], 1
jne 0x4cd517
push esi
call fcn.004f4b30
add esp, 4
test eax, eax
je 0x4cd4ba
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
lea ecx, [esp + 0x50]
mov dword [edx], 0xc000017c
call fcn.004c55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x100ccb64], 0
je 0x4cd4f3
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x80]
call fcn.0047f280
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x50]
call fcn.004c55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x50]
mov dword [edx], 1
call fcn.004c55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x50]
call fcn.004f26e0
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
call fcn.004c4020
mov ecx, ebx
call fcn.004f49f0
test eax, eax
je 0x4cd7b0
cmp dword [edi + 0x6c], 1
jne 0x4cda18
mov esi, dword [0x100cca70]
lea ecx, [esp + 0x7c]
push ecx
push 4
lea edx, [esp + 0x80]
push edx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x50]
add esi, 0x96c
call fcn.004f47c0
mov edx, dword [esi]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
cmp eax, 0xc0000034
je 0x4cd942
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.00484f10
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00484f10
mov esi, dword [esp + 0x1c]
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4cd5d9
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.004f49c0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
call fcn.004f4940
test eax, eax
je 0x4cd661
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
lea edx, [esp + 0x34]
push edx
push esi
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x3c]
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.004c5320
cmp esi, ebx
je 0x4cd627
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x4cd64b
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4cd64b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
call fcn.004f4940
test eax, eax
jne 0x4cd5f4
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0xc]
mov ebx, dword [eax]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
call fcn.004f47c0
mov edx, dword [ebx + 0x94]
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
call edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.004f28b0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0xb4]
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov ebx, dword [ebp + 8]
push eax
push ebx
lea ecx, [esp + 0xc8]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
push eax
mov ecx, edi
call fcn.004cb640
test eax, eax
je 0x4cd955
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x54]
call fcn.004c4020
mov ecx, dword [esp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov eax, dword [esp + 0x48]
sete bl
test eax, eax
je 0x4cd738
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
test bl, bl
jne 0x4cd9ea
lea ecx, [esp + 0x18]
call fcn.004f28e0
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x4cd75f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x4cd76b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4cd77f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4cd793
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4cd532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], ebx
jmp 0x4cd532
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00484f10
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
mov ebx, eax
add esi, 0x70
call fcn.004f47c0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x4cdb8a
mov esi, 1
cmp eax, esi
jne 0x4cdcad
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
cmp dword [edi + 0x6c], esi
je 0x4cd811
cmp eax, 3
je 0x4cd811
cmp eax, esi
jne 0x4cdc01
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0xc]
mov esi, dword [ebx]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
add esi, 0x94
call fcn.004f47c0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 1
call eax
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004f28b0
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x9c]
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc8]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
push eax
mov ecx, edi
call fcn.004cb640
test eax, eax
je 0x4cdc0b
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x54]
call fcn.004c4020
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov esi, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, ebx
mov eax, dword [esp + 0x4c]
sete bl
xor esi, esi
cmp eax, esi
je 0x4cd8e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
test bl, bl
jne 0x4cdc91
lea ecx, [esp + 0x1c]
call fcn.004f28e0
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x4cd90d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4cd921
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4cd532
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], 0
jmp 0x4cd532
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [ecx], 0xc0000034
jmp 0x4cdd3a
push ebx
call fcn.004f4b30
add esp, 4
test eax, eax
je 0x4cd99d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x18]
call fcn.004f28e0
lea ecx, [esp + 0x24]
call fcn.004ba940
lea ecx, [esp + 0x14]
call fcn.004ba940
lea ecx, [esp + 0x28]
call fcn.004c55c0
jmp 0x4cdd3a
cmp dword [0x100ccb64], 0
je 0x4cd9d6
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x80]
call fcn.0047f280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x4cd974
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x28]
call fcn.004c5250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x4cd974
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test eax, eax
jne 0x4cda35
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
jmp 0x4cdd3a
cmp eax, 1
jne 0x4cda51
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x4cdd3a
cmp eax, 2
je 0x4cda27
mov esi, dword [0x100cca70]
lea edx, [esp + 0x78]
push edx
push 4
lea eax, [esp + 0x84]
push eax
push 0
lea ecx, [esp + 0x50]
add esi, 0x96c
call fcn.004f47c0
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
call eax
call eax
cmp eax, 0xc0000034
jne 0x4cdaa6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4cdd3a
lea ecx, [esp + 0x28]
call fcn.004c55a0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0048fe90
lea ecx, [esp + 0x34]
call fcn.004f49c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004f4940
test eax, eax
je 0x4cdb28
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
lea eax, [esp + 0x34]
push eax
push esi
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.004c5320
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0048ff90
lea ecx, [esp + 0x1c]
call fcn.004ba940
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.004f4940
test eax, eax
jne 0x4cdad6
mov edi, dword [edi + 0xc]
mov ebx, dword [edi]
lea ecx, [esp + 0x40]
call fcn.004f47c0
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x94]
push eax
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x28]
call fcn.004c5250
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x18]
jmp 0x4cd981
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x4cdbb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x4cdd31
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
mov ecx, dword [esp + 0x10]
push 1
je 0x4cdbe3
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x4cdd31
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x4cdd31
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x4cdd31
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f4b30
add esp, 4
test eax, eax
je 0x4cdc44
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [eax], 0xc000017c
lea ecx, [esp + 0x1c]
call fcn.004f28e0
lea ecx, [esp + 0x30]
call fcn.004ba940
jmp 0x4cdd31
cmp dword [0x100ccb64], 0
je 0x4cdc7d
push 0x100bf6b8
push 0x100bf710
lea ecx, [esp + 0x88]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x80]
call fcn.0047f280
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [edx], 0xc0000229
jmp 0x4cdc2d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x54]
push edx
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], esi
mov dword [edx], esi
jmp 0x4cdc2d
cmp dword [0x100ccb64], 0
je 0x4cdd13
push 0x100b0e60
push eax
lea ecx, [esp + 0xa0]
call fcn.00481840
push eax
push 0x100bf6e0
push 0x100bf710
lea ecx, [esp + 0x90]
call fcn.00480470
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.0047f3c0
mov ecx, eax
call fcn.00480530
mov ecx, eax
call fcn.0047f3c0
lea ecx, [esp + 0x80]
call fcn.0047f280
lea ecx, [esp + 0x98]
call fcn.0046b040
cmp dword [edi + 0x6c], esi
jne 0x4cdd2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4cdd31
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [esp + 0x10]
call fcn.004ba940
lea ecx, [esp + 0xc]
call fcn.004ba940
lea ecx, [esp + 0x50]
call fcn.004c55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10