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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x6300f4]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jl 0x4c7d06
mov ecx, dword [ebx]
cmp edi, dword [ecx + 4]
jge 0x4c7d06
cmp dword [ebx + 4], 0xffffffff
je 0x4c7864
call fcn.004c7686
or dword [ebx + 4], 0xffffffff
cmp edi, dword [ebx + 0x238]
jne 0x4c788e
cmp edi, 0xffffffff
je 0x4c7893
push 0x230
lea eax, [ebx + 8]
push eax
push esi
call fcn.00588a70
add esp, 0xc
xor eax, eax
jmp 0x4c7d0b
cmp edi, 0xffffffff
jne 0x4c78d8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [esi], eax
xor eax, eax
mov word [esi + 4], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], eax
jmp 0x4c7887
mov ecx, dword [ebx]
cmp edi, dword [ecx + 0x10]
jge 0x4c78eb
call fcn.004c7037
jmp 0x4c78eb
call fcn.004c706e
mov eax, dword [ebx]
mov ecx, eax
cmp dword [eax + 0x10], edi
jl 0x4c78e6
sub esp, 0x10
lea eax, [esp + 0x98]
lea edx, [esp + 0x30]
push 0x104
push eax
push 0
call fcn.004c6e3b
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add esp, 0x1c
lea edx, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004c7189
pop ecx
pop ecx
test eax, eax
je 0x4c7937
mov eax, 0x700
jmp 0x4c7d0b
mov ecx, dword [ebx]
mov edx, dword [esp + 0x10]
push 0
mov ecx, dword [ecx]
call fcn.004c695e
pop ecx
test eax, eax
je 0x4c7955
mov eax, 0x800
jmp 0x4c7d0b
push dword [esp + 0xc]
call fcn.005708e7
pop ecx
mov ecx, dword [ebx]
mov edi, eax
xor edx, edx
mov dword [esp + 0x18], edi
inc edx
push dword [ecx]
mov ecx, edi
push dword [esp + 0x10]
call fcn.004c69c9
pop ecx
pop ecx
cmp eax, dword [esp + 0xc]
je 0x4c7988
push edi
call fcn.005708d9
pop ecx
jmp 0x4c794b
mov eax, dword [ebx]
push 0x104
mov eax, dword [eax + 0x10]
mov dword [esi], eax
lea eax, [esp + 0x194]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x94]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [esp + 0x190]
movzx eax, word [edi]
test ax, ax
je 0x4c79ce
cmp word [edi + 2], 0x3a
jne 0x4c79ce
add edi, 4
jmp 0x4c79ba
cmp eax, 0x5c
jne 0x4c79d8
add edi, 2
jmp 0x4c79ba
cmp eax, 0x2f
je 0x4c79d3
push 0x60246c
push edi
call fcn.0058ae84
pop ecx
pop ecx
test eax, eax
je 0x4c79f3
lea edi, [eax + 8]
jmp 0x4c79ba
push str..._
push edi
call fcn.0058ae84
pop ecx
pop ecx
test eax, eax
jne 0x4c79ee
push 0x602484
push edi
call fcn.0058ae84
pop ecx
pop ecx
test eax, eax
jne 0x4c79ee
push str._.._
push edi
call fcn.0058ae84
pop ecx
pop ecx
test eax, eax
jne 0x4c79ee
lea eax, [esi + 4]
push edi
push eax
call fcn.0059d29e
mov edx, dword [esp + 0x5c]
mov eax, edx
shr eax, 0x1e
pop ecx
and eax, 0xffffff01
mov byte [esp + 0x74], 0
pop ecx
mov ecx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 0x17
not cl
shr eax, 8
and cl, 1
mov byte [esp + 0x10], 0
mov byte [esp + 0x1c], 1
test eax, eax
je 0x4c7a77
cmp eax, 7
je 0x4c7a77
cmp eax, 0xb
je 0x4c7a77
cmp eax, 0xe
jne 0x4c7ab0
mov eax, edx
mov cl, dl
shr eax, 1
and cl, 1
and eax, 0xffffff01
mov dword [esp + 0x70], eax
mov eax, edx
shr eax, 2
and eax, 0xffffff01
mov dword [esp + 0x10], eax
mov eax, edx
shr eax, 4
and al, 1
mov byte [esp + 0x14], al
mov eax, edx
shr eax, 5
and eax, 0xffffff01
mov dword [esp + 0x1c], eax
xor eax, eax
cmp byte [esp + 0x14], al
push 0x10
pop edx
cmovne eax, edx
cmp byte [esp + 0x1c], 0
mov dword [esi + 0x20c], eax
je 0x4c7ad0
or dword [esi + 0x20c], 0x20
cmp byte [esp + 0x70], 0
je 0x4c7ade
or dword [esi + 0x20c], 2
test cl, cl
je 0x4c7ae9
or dword [esi + 0x20c], 1
cmp byte [esp + 0x10], 0
je 0x4c7af7
or dword [esi + 0x20c], 4
mov edx, dword [esp + 0x30]
mov ecx, edx
mov eax, dword [esp + 0x38]
mov dword [esi + 0x228], eax
mov eax, dword [esp + 0x3c]
shr ecx, 0x10
mov dword [esi + 0x22c], eax
call fcn.004c76e9
mov dword [esp + 0x78], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x80], edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov ecx, dword [esp + 0x80]
xor edi, edi
cmp dword [esp + 0xc], 4
mov eax, dword [esp + 0x84]
mov dword [esi + 0x210], ecx
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], ecx
mov dword [esi + 0x21c], eax
mov dword [esi + 0x220], ecx
mov dword [esi + 0x224], eax
jbe 0x4c7cda
mov ecx, dword [esp + 0x18]
push 0x60249c
mov byte [esp + 0x76], 0
mov al, byte [edi + ecx]
mov byte [esp + 0x74], al
mov al, byte [ecx + edi + 1]
mov byte [esp + 0x75], al
movzx eax, byte [ecx + edi + 2]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x74]
push eax
call fcn.00599900
pop ecx
pop ecx
test eax, eax
je 0x4c7bc3
mov eax, dword [esp + 0x10]
add eax, 4
add edi, eax
lea eax, [edi + 4]
cmp eax, dword [esp + 0xc]
jb 0x4c7b76
jmp 0x4c7cda
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], 0x989680
movzx eax, byte [edi + edx + 4]
add edi, 5
mov ecx, eax
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 2
and byte [esp + 0xc], 1
shr ecx, 1
and ecx, 0xffffff01
mov dword [esp + 0x10], ecx
test al, 1
je 0x4c7c44
movzx eax, byte [edi + edx + 3]
movzx ecx, byte [edi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx]
shl eax, 8
add edi, 4
or eax, ecx
imul dword [esp + 0x14]
add eax, 0xd53e8000
mov dword [esi + 0x220], eax
adc edx, 0x19db1de
mov ecx, edx
mov dword [esi + 0x224], edx
mov edx, dword [esp + 0x18]
sar ecx, 0x1f
mov ecx, dword [esp + 0x10]
test cl, cl
je 0x4c7c8d
movzx eax, byte [edi + edx + 3]
movzx ecx, byte [edi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx]
shl eax, 8
add edi, 4
or eax, ecx
imul dword [esp + 0x14]
add eax, 0xd53e8000
mov dword [esi + 0x210], eax
adc edx, 0x19db1de
mov ecx, edx
mov dword [esi + 0x214], edx
sar ecx, 0x1f
cmp byte [esp + 0xc], 0
je 0x4c7cda
mov edx, dword [esp + 0x18]
movzx eax, byte [edi + edx + 3]
movzx ecx, byte [edi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + edx]
shl eax, 8
or eax, ecx
imul dword [esp + 0x14]
add eax, 0xd53e8000
mov dword [esi + 0x218], eax
adc edx, 0x19db1de
mov ecx, edx
mov dword [esi + 0x21c], edx
sar ecx, 0x1f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c7ce9
push eax
call fcn.005708d9
pop ecx
push 0x230
lea eax, [ebx + 8]
push esi
push eax
call fcn.00588a70
mov eax, dword [ebp + 8]
mov dword [ebx + 0x238], eax
jmp 0x4c7884
mov eax, 0x10000
mov ecx, dword [esp + 0x39c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00570864
mov esp, ebp
pop ebp
ret 8