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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x384
or dword [esp + 0x20], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x18], eax
push 6
add eax, ecx
pop edi
lea edx, [esp + 0x48]
lea esi, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
call fcn.004c01dd
test al, al
jne 0x4c025c
xor al, al
jmp 0x4c05eb
push 3
lea eax, [esp + 0x4c]
push 0x6483ac
push eax
call fcn.005dae79
add esp, 0xc
test eax, eax
jne 0x4c0255
push 3
lea eax, [esp + 0x4f]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005de920
add esp, 0xc
push 4
mov edi, 0x6483b0
lea esi, [esp + 0x2c]
pop ecx
xor eax, eax
mov byte [esp + 0x2b], bl
repe cmpsb byte [esi], byte es:[edi]
je 0x4c02b0
push 4
mov edi, 0x6483b4
lea esi, [esp + 0x2c]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4c0255
push 7
pop edi
lea edx, [esp + 0x48]
lea esi, [esp + 0x18]
call fcn.004c01dd
test al, al
je 0x4c0255
movzx eax, byte [esp + 0x49]
movzx ecx, byte [esp + 0x48]
mov dl, byte [esp + 0x4c]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x4a]
mov dword [esp + 0x70], eax
movzx eax, byte [esp + 0x4b]
shl eax, 8
or eax, ecx
mov dword [esp + 0x74], eax
movzx eax, dl
mov ecx, eax
shr eax, 3
and ecx, edi
and eax, 0xe
push 2
pop esi
shl esi, cl
inc eax
mov dword [esp + 0x380], eax
xor eax, eax
and dl, 0x80
cmp dl, 0x80
sete al
mov dword [esp + 0x37c], esi
mov dword [esp + 0x378], eax
cmp eax, ebx
je 0x4c0345
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.004c0945
add esp, 0xc
test eax, eax
je 0x4c03d8
jmp 0x4c0255
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x79]
mov edx, 0xf8
mov eax, dword [esp + 0x10]
and eax, edi
mov esi, dword [eax*4 + 0x6a11b4]
or al, 0xff
sub al, byte [esp + 0x10]
mov ebx, esi
and bl, 1
and al, dl
neg bl
sbb bl, bl
and bl, al
mov byte [ecx - 1], bl
mov ebx, esi
and bl, 2
neg bl
sbb bl, bl
and bl, al
mov byte [ecx], bl
mov ebx, esi
and bl, 4
neg bl
sbb bl, bl
and bl, al
inc dword [esp + 0x10]
mov byte [ecx + 1], bl
add ecx, 3
cmp dword [esp + 0x10], edx
jb 0x4c0352
mov esi, edx
lea ecx, [esp + 0x361]
mov eax, esi
and eax, edi
mov al, byte [eax*4 + 0x6a11b4]
mov dl, al
and dl, 1
shl dl, 2
mov byte [ecx - 1], dl
mov dl, al
and dl, 2
add dl, dl
and al, 4
mov byte [ecx], dl
mov byte [ecx + 1], al
inc esi
add ecx, 3
cmp esi, 0x100
jb 0x4c03a6
xor ebx, ebx
cmp dword [esp + 0x378], ebx
je 0x4c03ef
movzx eax, byte [esp + 0x4d]
mov dword [esp + 0x384], eax
jmp 0x4c03f7
or dword [esp + 0x384], 0xffffffff
movzx eax, byte [esp + 0x4e]
mov dword [esp + 0x388], eax
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
xor edi, edi
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
cmp eax, dword [esp + 0x1c]
ja 0x4c05af
mov cl, byte [ecx]
mov dword [esp + 0x18], eax
cmp cl, 0x21
je 0x4c056b
cmp cl, 0x2c
jne 0x4c05cf
cmp dword [esp + 0x20], ebx
je 0x4c04c1
cmp dword [esp + 0x14], ebx
jne 0x4c04c1
push 0x3c
call fcn.005d9629
pop ecx
cmp eax, ebx
je 0x4c0485
mov edx, dword [esp + 0x70]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x7c]
mov esi, eax
mov dword [esp + 0x18], esp
mov dword [ecx + 4], edx
call fcn.0045faae
mov esi, eax
jmp 0x4c0487
xor esi, esi
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov dword [esp + 0x14], esi
jg 0x4c0496
push 0xa
pop eax
mov edx, dword [esp + 0x6c]
imul eax, eax, 0xa
push ebx
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push dword [esp + 0x70]
mov dword [ecx], edi
push eax
push dword [esp + 0x34]
mov dword [ecx + 4], edx
push esi
call fcn.0045fca2
mov edi, dword [ebp + 8]
mov dword [edi], esi
jmp 0x4c04c4
mov edi, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004c05f2
add esp, 0xc
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x4c05b8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, al
je 0x4c05b8
cmp dword [esp + 0x14], ebx
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
je 0x4c0535
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c050f
push 0xa
pop eax
push 0
imul eax, eax, 0xa
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push dword [esp + 0x48]
mov dword [ecx], ebx
push eax
push dword [esp + 0x34]
mov dword [ecx + 4], esi
push dword [esp + 0x2c]
call fcn.0045fca2
jmp 0x4c053b
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [esp + 0x34]
or dword [esp + 0x30], 0xffffffff
or dword [esp + 0x34], 0xffffffff
or dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
and dword [esp + 0x3c], 0
inc dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov edi, ebx
mov dword [esp + 0x6c], esi
jmp 0x4c05a8
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x1c]
ja 0x4c05cf
mov al, byte [eax]
mov dword [esp + 0x18], ecx
cmp al, 0xff
jne 0x4c0594
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004c09d8
pop ecx
pop ecx
jmp 0x4c0424
movzx eax, al
lea ebx, [esp + 0x18]
lea esi, [esp + 0x30]
call fcn.004c0a70
test eax, eax
jne 0x4c05cd
xor ebx, ebx
jmp 0x4c0424
cmp dword [esp + 0x24], ebx
setg al
jmp 0x4c05eb
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4c05c6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], ebx
jmp 0x4c0255
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4c05e2
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jl 0x4c05e2
mov dword [ecx + 0x28], eax
xor eax, eax
cmp dword [esp + 0x24], ebx
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret