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

Disassembly:
aam 0x29
lahf
push ebp
cwde
shr ax, cl
mov ebp, esp
pushfd
inc al
sub esp, 0x14
btc ax, sp
push esi
bswap ax
btr ax, 8
shld ax, bp, cl
push edi
lahf
push ebx
btc ax, 0xc
aas
sbb ah, cl
push edx
inc eax
movzx ax, dl
cwde
mov eax, dword [ebp + 8]
push edx
mov byte [esp], 0x77
bt bx, dx
test eax, eax
pushal
jmp 0x4cc0ae
pushfd
lea esp, [esp + 0x2c]
jbe 0x4d16cf
xor cl, 0x13
mov edi, dword [edx + 0x24]
not ch
shrd cx, cx, cl
add edi, eax
shld cx, sp, cl
bt si, ax
shl bl, cl
mov ebx, dword [edx + 0x20]
xor cl, 0x3f
rcl cl, 1
clc
btr ecx, esp
add ebx, eax
neg ecx
mov dword [ebp - 8], 0
dec cx
rol ecx, 7
mov ecx, dword [edx + 0x18]
cmp bx, 0x509
pushfd
test bl, 0xbd
cmp ecx, dword [ebp - 8]
mov word [esp], 0x3a4e
mov byte [esp], ch
pushal
pushfd
lea esp, [esp + 0x28]
jbe 0x4cb49e
or si, dx
sub ecx, 1
or di, dx
bsr si, bp
lea esi, [ebp*4 - 0x7d0493e8]
bsr edi, edi
mov dword [ebp - 4], ecx
bt di, 1
mov ecx, dword [ebp - 8]
cmc
add ecx, dword [ebp - 4]
xadd esi, edi
xadd si, di
shr ecx, 1
ror esi, 1
add di, bx
bt cx, sp
mov edi, dword [ebx + ecx*4]
bt dx, 0xa
sub si, 0xd6ad
sar si, 0xa
add edi, eax
movsx si, bl
lea esi, [ecx - 0x50099b2b]
lea esi, [ebx + 0x5e149b8d]
mov esi, dword [ebp + 0xc]
push 0x777a0e40
pushfd
push dword [esp + 4]
mov word [esp], bp
mov dword [esp + 8], eax
seto al
lodsb al, byte [esi]
cmc
not al
clc
cmp ch, ah
cmc
sub al, 0xf0
test ch, bh
cmp al, dh
mov word [esp + 4], 0xf56c
xor al, 0xa2
stc
mov dword [esp], 0xf7e701ae
stc
ror al, 1
call fcn.004cd936
lea edi, [edi + 1]
bswap ax
mov eax, dword [esp + 0x20]
lea esp, [esp + 0x24]
jae 0x4cc197
pushal
lea esp, [esp + 0x20]
ja 0x4cd0c3
push 0x31ff071c
lea esp, [esp + 4]
jb 0x4cca2f
cmp ebx, 0x25a115bf
push eax
cmp si, 0x21af
cmp byte [edi - 1], 0
pushal
lea esp, [esp + 0x24]
jne 0x49a364
bsf edi, esp
mov edi, dword [edx + 0x24]
cmp sp, bx
add edi, eax
stc
jg 0x4cb5f1
movzx ecx, word [edi + ecx*2]
test dh, cl
mov edi, dword [edx + 0x1c]
call fcn.004c7078
add byte [eax], al
dec eax
popal
jo 0x4ca291
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
push edi
add byte [eax], al
add byte [esi + 0x69], dl
jb 0x4ca30d
jne 0x4ca2fc
insb byte es:[edi], dx
push ecx
jne 0x4ca304
jb 0x4ca31a
add byte [eax], al
add byte [edi + 0x65], al
je 0x4ca2e9
jae 0x4ca323
outsb dx, byte [esi]
arpl word [ebx + 0x65], cx
jns 0x4ca303
je 0x4ca313
je 0x4ca319
add byte [ebp - 0x3cfbdb9c], cl
add al, 0x3c
mov ah, 0x90
in al, dx
pop eax
xor byte [edi + ebp*2 - 0x2044701d], al
mov ebx, 0xbd55662a
sbb al, 0xe9
popfd
out 0xc1, eax
call 0xd0fdc1b9
mov esp, 0x4dd59063
aad 0x4d
jns 0x4ca325
cli
lds esi, [ebp - 0x54d84011]
sahf
cmp ch, ch
fcomp qword [eax + 0x784cf4a4]
int3
js 0x4ca2ca
mov byte [edi + 0x5d], dl
cmp byte [edx], 0xa5
movsd dword es:[edi], dword [esi]
push eax
inc eax
hlt
wait
in eax, 0xff
mov dword [edi], edi
test dword [eax - 0x790afa90], 0xb75bbef8
leave
mov byte [eax + 5], dh
cmc
xchg al, bh
mov esi, 0xd3c9b75b
pop eax
pop ecx
pop ebx
mov bh, 0xc9
rcr dword [eax + 0x59], cl
xchg byte [edi - 0x49], cl
enter 0x88, 0
add byte [eax], al
inc edi
je 0x4ca378
outsd dx, dword [esi]
jne 0x4ca39b
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
push edi
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x4ca391
je 0x4ca3a4
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[eax + 0xd], ch
jmp 0x4ca313
and al, 0x24
shl esi, 5
pushal
test dl, cl
movzx ecx, word [edi + ecx*2]
bsr di, di
call fcn.004c9eec
add byte [eax], al
dec ecx
jae 0x4cb65c
popal
insb byte es:[edi], dx
imul esp, dword [ebx + eax*2 + 0x6f], 0x61506564
add byte gs:[bp + 0xf], ah
mov edx, 0xc9090ae6
pushal
stc
push 0xfd71b776
add ecx, edx
jmp 0x4cbb05
mov dword [ebp - 0x10], ecx
rcr ecx, cl
mov ecx, dword [ebp + 0xc]
cmc
cmp ecx, 0xffff
push dword [esp + 0xc]
jmp 0x4ca0e2
lea esp, [esp + 4]
je 0x4cb49e
rol cx, 5
push edi
add edx, eax
btc cx, 0xb
rol ch, cl
shld cx, si, cl
mov ecx, dword [esi + 0x7c]
push eax
lea esp, [esp + 8]
jnp 0x4cb815
call fcn.004ca4ef
lea esp, [esp + 0x24]
je 0x4cb49e
cmc
mov esi, dword [eax + 0x3c]
bts dx, 3
dec dx
ror dx, 8
add esi, eax
neg dl
sbb dl, 0x39
adc dl, 0x71
mov edx, dword [esi + 0x78]
stc
test edx, edx
pushfd
jmp 0x4cbbe5
push 0x4071952d