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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x100b7000]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax]
xor ebx, ebx
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
cmp dword [eax + 0xc], ecx
jne 0x4cd7bb
push 1
push 0x100ae698
xor eax, eax
lea edx, [esi + 8]
call fcn.0045a5ca
add esp, 8
cmp eax, 0x12
jne 0x4cdae9
mov dword [esi + 0x40], eax
mov byte [esi + 0x45], 1
lea edx, [esi + 8]
jmp 0x4cdad5
mov edi, 1
mov dword [esp + 0x10], edi
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp eax, ecx
jl 0x4cd7ea
lea eax, [edi + eax - 1]
cdq
idiv edi
jmp 0x4cd7ec
neg eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
cmp edi, ecx
jle 0x4cd919
lea esi, [esp + 0x78]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x2c], 0xffffffff
cmp dword [eax + 0x18], ecx
jle 0x4cd8c9
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
cmp eax, ecx
jl 0x4cd84d
cmp edi, eax
jne 0x4cd8bb
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push edi
push eax
mov eax, dword [esp + 0x4c]
call fcn.004cd52a
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x4cd974
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x2c]
jle 0x4cd8b9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [eax + 0x18]
jl 0x4cd82a
mov eax, dword [esi + 0xc]
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 8]
or dword [esp + 0x18], edx
inc eax
add esi, 0x18
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x10]
jl 0x4cd800
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x18]
jne 0x4cd901
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x1c]
je 0x4cd915
cmp dword [esp + 0x10], 4
je 0x4cd915
inc dword [esp + 0x10]
mov edi, dword [esp + 0x10]
jmp 0x4cd7ca
mov edi, dword [esp + 0x10]
xor esi, esi
cmp edi, ecx
jle 0x4cd976
lea edi, [esp + 0x78]
lea esp, [esp]
cmp ebx, ecx
jne 0x4cd976
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
dec eax
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov edx, dword [esp + 0x44]
mov eax, edi
push ecx
push esi
push edx
call fcn.0047e65a
inc esi
add esp, 0x20
add edi, 0x18
xor ecx, ecx
mov ebx, eax
cmp esi, dword [esp + 0x10]
jl 0x4cd92a
jmp 0x4cd976
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xf4]
cmp edi, ecx
je 0x4cda28
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x4cd99c
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [edi + 0x14]
push ecx
call fcn.004aea4a
add esp, 4
cmp dword [esi + 0x200], 0
je 0x4cd9e6
cmp edi, dword [esi + 0x10c]
jb 0x4cd9d2
cmp edi, dword [esi + 0x110]
jae 0x4cd9d2
movzx eax, word [esi + 0xf0]
mov ecx, dword [esi + 0x200]
add dword [ecx], eax
jmp 0x4cda15
push edi
call dword [0x100b7040]
mov ecx, dword [esi + 0x200]
add esp, 4
add dword [ecx], eax
jmp 0x4cda15
cmp edi, dword [esi + 0x10c]
jb 0x4cda0c
cmp edi, dword [esi + 0x110]
jae 0x4cda0c
mov edx, dword [esi + 0x108]
mov dword [edi], edx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], edi
jmp 0x4cda15
push edi
call fcn.004391da
add esp, 4
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4cda26
push esi
call dword [0x100b706c]
add esp, 4
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov dword [eax + 0xf4], ecx
cmp ebx, ecx
je 0x4cdaa8
mov esi, dword [esp + 0x34]
test byte [esi + 0x24], 1
mov dword [esi + 0x40], ebx
mov byte [esi + 0x45], 1
je 0x4cda86
mov edx, 0x100b21b4
cmp ebx, 0x204
je 0x4cda6e
and ebx, 0xff
cmp ebx, 0x1a
ja 0x4cda73
mov eax, dword [ebx*4 + 0x100ad528]
cmp eax, ecx
je 0x4cda73
mov edx, eax
jmp 0x4cda73
mov edx, 0x100b21c4
push 1
push edx
lea edx, [esi + 8]
xor eax, eax
or ecx, 0xffffffff
call fcn.0045a5ca
add esp, 8
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004391da
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x34]
push 1
push edx
mov eax, 0x10011890
or ecx, 0xffffffff
lea edx, [edi + 8]
call fcn.0045a5ca
add esp, 8
cmp eax, 0x12
jne 0x4cdae9
mov dword [edi + 0x40], eax
mov byte [edi + 0x45], 1
lea edx, [edi + 8]
push 1
push 0x100af0b8
xor eax, eax
or ecx, 0xffffffff
call fcn.0045a5ca
add esp, 8
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret