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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x10]
push 4
push eax
call fcn.004c15e0
lea esi, [ebx + 4]
add esp, 8
cmp dword [esi], 0
je 0x4dc445
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [edi + 0x58]
call fcn.004fa510
test eax, eax
jne 0x4dc906
lea ecx, [esp + 0x70]
call fcn.004f3bd0
lea edx, [esp + 0x70]
push edx
push ebx
mov ecx, edi
call fcn.004d3ff0
test eax, eax
lea ecx, [esp + 0x70]
je 0x4dcb31
lea eax, [esp + 0x14]
push eax
call fcn.0050c0f0
lea ecx, [esp + 0x70]
call fcn.004f3bc0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x18]
call eax
cmp eax, 3
je 0x4dcb5c
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jne 0x4dcb9d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x4dcbc3
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 4], 1
jne 0x4dcd87
cmp dword [ebx + 8], eax
jne 0x4dc50a
mov edx, dword [0x100b7078]
mov eax, dword [edx + 0x8f8]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esi]
push 0x38
lea edx, [esp + 0xd8]
push edx
push 0
push ecx
call eax
test eax, eax
jne 0x4dc50a
mov edx, dword [esp + 0xd4]
push edx
call fcn.004e60a0
add esp, 4
test eax, eax
je 0x4dcbe3
lea ecx, [esp + 0x2c]
call fcn.004cbaf0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.004cb510
lea ecx, [esp + 0x44]
call fcn.004e5cb0
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.004e5ba0
test eax, eax
je 0x4dc7cd
lea ecx, [esp + 0x24]
call fcn.004f7130
lea ecx, [esp + 0x38]
call fcn.004f7130
cmp dword [esp + 0x44], 0
jne 0x4dc56c
lea edx, [esp + 0x48]
push edx
call fcn.004e5d40
add esp, 4
test eax, eax
je 0x4dcbfa
cmp dword [esp + 0x50], 1
mov ebx, dword [esp + 0x18]
jne 0x4dc5e5
mov eax, dword [0x100b7078]
mov esi, dword [eax + 0x3f8]
lea ecx, [esp + 0x108]
push ecx
push 0
push 0x40
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xd8]
push eax
mov ecx, edi
call fcn.004e5ab0
push eax
push 0
lea ecx, [esp + 0xe4]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
call esi
test eax, eax
jne 0x4dcc92
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.004f71d0
push eax
lea ecx, [esp + 0x28]
call fcn.004f7230
jmp 0x4dc6b4
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
cmp eax, 1
je 0x4dcca6
cmp dword [esp + 0x44], 0
je 0x4dc679
mov eax, dword [0x100b7078]
mov esi, dword [eax + 0x3f8]
lea ecx, [esp + 0x108]
push ecx
push 0
push 0x40
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xd0]
push eax
mov ecx, edi
call fcn.004e5ab0
push eax
push 0
lea ecx, [esp + 0xe4]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
call esi
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4dccba
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.004f71d0
push eax
lea ecx, [esp + 0x28]
call fcn.004f7230
mov eax, dword [esp + 0x138]
mov dword [esp + 0x20], eax
jmp 0x4dc6ac
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
call fcn.004e5980
push eax
call fcn.004e6310
add esp, 0x14
mov esi, eax
test esi, esi
je 0x4dccba
lea ecx, [esp + 0x34]
push 4
push ecx
call fcn.004c15e0
add esp, 8
cmp dword [esp + 0x50], 1
lea ecx, [esp + 0x38]
jne 0x4dc721
lea edx, [esp + 0xb0]
push edx
call fcn.004f6ec0
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x28]
call fcn.004f6ec0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
push 3
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x78]
push eax
call edx
push eax
lea ecx, [esp + 0x38]
call fcn.004f8030
lea ecx, [esp + 0x6c]
jmp 0x4dc779
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x60]
shr esi, 4
push eax
and esi, 1
call fcn.004f6ec0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x28]
call fcn.004f6ec0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
xor edx, edx
test esi, esi
setne dl
add edx, 1
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x74]
push edx
call eax
push eax
lea ecx, [esp + 0x38]
call fcn.004f8030
lea ecx, [esp + 0x68]
call fcn.0050ed20
mov ecx, dword [esp + 0x34]
push ecx
push ebx
lea ecx, [esp + 0x34]
call fcn.004cb530
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.004f8030
lea ecx, [esp + 0x34]
call fcn.0050ed20
lea ecx, [esp + 0x38]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004f7250
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.004e5ba0
test eax, eax
jne 0x4dc53e
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp edi, 3
ja 0x4dcd70
jmp dword [edi*4 + 0x10035784]
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.004c15e0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0x1c]
push edx
push 0x100842bc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x4dc9b8
mov eax, dword [ebx + 8]
test eax, eax
je 0x4dc96c
cmp word [eax], 0
jbe 0x4dc96c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ecx], 0
lea ecx, [esp + 0x1c]
mov dword [edx], 0xc000000d
call fcn.0050ed20
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004cb340
lea ecx, [esp + 0x20]
call fcn.0050ed20
lea ecx, [esp + 0x1c]
call fcn.0050ed20
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x18]
push 4
push edx
call fcn.004c15e0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0x18]
push edx
push 0x10083be8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x4dcb1a
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 3
jne 0x4dca37
mov eax, dword [ebx + 8]
test eax, eax
je 0x4dca37
cmp word [eax], 0
jbe 0x4dca37
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [edx], 0xc000000d
lea ecx, [esp + 0x18]
call fcn.0050ed20
lea ecx, [esp + 0x1c]
call fcn.0050ed20
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x20]
push edx
call eax
lea ecx, [esp + 0x24]
call fcn.004f7130
cmp dword [ebx + 8], 0
je 0x4dca8e
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x64]
push eax
call edx
mov ecx, eax
call fcn.004f6ec0
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.004e60e0
add esp, 0xc
lea ecx, [esp + 0x60]
jmp 0x4dcaac
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x54]
push edx
call eax
push eax
lea ecx, [esp + 0x28]
call fcn.004f7230
lea ecx, [esp + 0x54]
call fcn.004f7250
lea ecx, [esp + 0xd0]
call fcn.004f6ee0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x28]
call fcn.004f6ec0
mov edx, dword [0x10084438]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xd8]
call fcn.004e57b0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xdc]
push ecx
push edx
mov ecx, edi
call fcn.004cbb40
lea ecx, [esp + 0x24]
call fcn.004f7250
lea ecx, [esp + 0x20]
call fcn.0050ed20
jmp 0x4dca13
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4dca13
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
call fcn.004cc170
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4dcdab
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 ecx, edi
call fcn.004e5b00
test eax, eax
je 0x4dcb7e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
jmp 0x4dcd90
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.004cb340
jmp 0x4dcd90
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov dword [eax], 0
call fcn.004e5cf0
mov ecx, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 6
add eax, 0xc0000034
mov dword [ecx], eax
jmp 0x4dcd90
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
call fcn.004cbb40
jmp 0x4dcd90
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ecx], 0xc0000022
jmp 0x4dcd90
cmp dword [0x100b7158], 0
je 0x4dcc57
push 0x10078fbc
push 0x100840c0
lea edx, [esp + 0x50]
push edx
push 0x10083c5c
push 0x10084080
lea ecx, [esp + 0xb8]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcc80
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0xa4]
call fcn.004bba80
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ecx], 0xc000003b
lea ecx, [esp + 0x38]
call fcn.004f7250
lea ecx, [esp + 0x24]
call fcn.004f7250
lea ecx, [esp + 0x18]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004cbb10
jmp 0x4dcd90
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x4dcc69
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [edx], 0xc000003a
jmp 0x4dcc69
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.004e5ba0
test eax, eax
je 0x4dccd8
cmp dword [esp + 0x50], 0
jne 0x4dccd8
mov eax, 1
jmp 0x4dccda
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 6
add eax, 0xc0000034
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4dcc69
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edx], 0
mov dword [eax], 0xc000000d
jmp 0x4dcc7b
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
lea ecx, [esp + 0x14]
call fcn.0050ed20
lea ecx, [esp + 0x70]
call fcn.004cc170
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10