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

Disassembly:
mov eax, 0x20
call fcn.005c8080
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push dword [esi + 0x50]
call fcn.004a3e00
or ebp, 0xffffffff
lea ecx, [esi + 0x10]
add esp, 4
mov dword [esp + 0x24], ebp
cmp dword [esi + 0x78], 0
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x34], ecx
je 0x4cfb39
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 6
jmp 0x4cfb53
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
shr edi, 6
and edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
xor ebx, ebx
test edx, edx
jle 0x4d0264
nop dword [eax]
push ebx
push dword [esi + 0x50]
call fcn.004a3fb0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov ecx, dword [ecx]
test byte [ecx + 0x14], 0x10
jne 0x4cfbaa
test dword [edi + 0x84], 0x200
je 0x4cfbaa
test ebx, ebx
js 0x4cfb8d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x22
call eax
add esp, 8
test eax, eax
je 0x4d0271
cmp dword [esp + 0x28], 0
jne 0x4cfbe1
test dword [edi + 0x84], 0x400
je 0x4cfbe1
test ebx, ebx
js 0x4cfbc4
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x28
call eax
add esp, 8
test eax, eax
je 0x4d0271
push edi
call fcn.004b5ec0
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x4cfc51
test ebp, ebp
je 0x4cfc17
test ecx, ecx
je 0x4cfc66
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x10]
jl 0x4cfc12
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x4cfca5
cmp ecx, 1
jmp 0x4cfc64
test ecx, ecx
je 0x4cfca5
mov eax, ebx
test ebx, ebx
jns 0x4cfc2a
mov eax, dword [esi + 0x5c]
jmp 0x4cfc2d
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4cfc3c
mov eax, edi
mov dword [esi + 0x60], 0x25
jmp 0x4cfc8f
push eax
push dword [esi + 0x50]
call fcn.004a3fb0
add esp, 8
mov dword [esi + 0x60], 0x25
jmp 0x4cfc8f
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0x14], 0x20
je 0x4cfca5
cmp ecx, 1
je 0x4cfca5
test ecx, ecx
je 0x4cfca5
mov eax, ebx
test ebx, ebx
jns 0x4cfc71
mov eax, dword [esi + 0x5c]
jmp 0x4cfc74
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4cfc7c
mov eax, edi
jmp 0x4cfc88
push eax
push dword [esi + 0x50]
call fcn.004a3fb0
add esp, 8
mov dword [esi + 0x60], 0x4f
push esi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push 0
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jle 0x4cfd95
push edi
call fcn.004bb770
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4cfccb
mov dword [esp + 0x1c], 0xffffffff
jmp 0x4cfd0b
push ebp
call fcn.0046b710
add esp, 4
cmp eax, 0x198
jne 0x4cfd91
lea eax, [esp + 0x2c]
push eax
push str.decoded_from_explicit
push ebp
call fcn.004b1090
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
js 0x4cfd0b
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x4cfd50
mov eax, ebx
test ebx, ebx
jns 0x4cfd16
mov eax, dword [esi + 0x5c]
jmp 0x4cfd19
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4cfd21
mov eax, edi
jmp 0x4cfd2d
push eax
push dword [esi + 0x50]
call fcn.004a3fb0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 1
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4cfd91
mov eax, ebx
test ebx, ebx
jns 0x4cfd5d
mov eax, dword [esi + 0x5c]
jmp 0x4cfd60
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4cfd68
mov eax, edi
jmp 0x4cfd74
push eax
push dword [esi + 0x50]
call fcn.004a3fb0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x5e
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp]
test byte [eax + 0x14], 0x20
je 0x4d010d
cmp ecx, 1
jle 0x4d010d
cmp dword [edi + 0x7c], 0xffffffff
je 0x4cfe0f
test byte [edi + 0x84], 0x10
jne 0x4cfde2
test ebx, ebx
js 0x4cfdc5
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x50
call eax
add esp, 8
test eax, eax
je 0x4d0271
test byte [edi + 0x88], 4
jne 0x4cfe0f
test ebx, ebx
js 0x4cfdf2
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x51
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov eax, dword [edi + 0x84]
and eax, 0x10011
cmp eax, 0x11
jne 0x4cfe43
test ebx, ebx
js 0x4cfe26
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x59
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov eax, dword [edi + 0x84]
test al, 0x10
je 0x4cfe7d
test al, 2
jne 0x4cfe75
test ebx, ebx
js 0x4cfe58
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5c
call eax
add esp, 8
test eax, eax
je 0x4d0271
lea ebp, [edi + 0x88]
jmp 0x4cfeb0
test byte [edi + 0x88], 4
lea ebp, [edi + 0x88]
je 0x4cfeb0
test ebx, ebx
js 0x4cfe93
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x52
call eax
add esp, 8
test eax, eax
je 0x4d0271
push edi
call fcn.004bb7a0
push eax
call fcn.004fac50
add esp, 8
test eax, eax
jne 0x4cfee7
test ebx, ebx
js 0x4cfeca
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x53
call eax
add esp, 8
test eax, eax
je 0x4d0271
test byte [edi + 0x84], 0x10
jne 0x4cfeff
test byte [ebp], 2
jne 0x4cfeff
cmp dword [edi + 0xa4], 0
jne 0x4cff36
push edi
call fcn.004a6f40
push eax
call fcn.004fac50
add esp, 8
test eax, eax
jne 0x4cff36
test ebx, ebx
js 0x4cff19
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x54
call eax
add esp, 8
test eax, eax
je 0x4d0271
push edi
call fcn.004a6f40
push eax
call fcn.004fac50
add esp, 8
test eax, eax
jne 0x4cff81
cmp dword [edi + 0xa4], eax
je 0x4cff81
test dword [edi + 0x84], 0x80000
jne 0x4cff81
test ebx, ebx
js 0x4cff64
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x58
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4cffbc
push eax
call fcn.004a3e00
add esp, 4
test eax, eax
jg 0x4cffbc
test ebx, ebx
js 0x4cff9f
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x57
call eax
add esp, 8
test eax, eax
je 0x4d0271
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.004fb860
add esp, 8
test eax, eax
je 0x4cfff4
test ebx, ebx
js 0x4cffd7
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x4e
call eax
add esp, 8
test eax, eax
je 0x4d0271
cmp dword [edi + 0x98], 0
je 0x4d002d
test dword [edi + 0x84], 0x20000
je 0x4d002d
test ebx, ebx
js 0x4d0010
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5a
call eax
add esp, 8
test eax, eax
je 0x4d0271
cmp dword [edi + 0x94], 0
je 0x4d0066
test dword [edi + 0x84], 0x40000
je 0x4d0066
test ebx, ebx
js 0x4d0049
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5b
call eax
add esp, 8
test eax, eax
je 0x4d0271
push edi
call fcn.004babb0
add esp, 4
cmp eax, 2
jl 0x4d00d2
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x10]
jge 0x4d00b0
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4d008c
cmp dword [eax], 0
jne 0x4d00b0
test ebx, ebx
js 0x4d0093
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x55
call eax
add esp, 8
test eax, eax
je 0x4d0271
test byte [edi + 0x84], 0x10
je 0x4d0109
cmp dword [edi + 0x94], 0
jne 0x4d0109
test ebx, ebx
js 0x4d00c9
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x56
jmp 0x4d00f3
push edi
call fcn.004bab30
push eax
call fcn.004a3e00
add esp, 8
test eax, eax
jle 0x4d0109
test ebx, ebx
js 0x4d00ec
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x4d01a8
cmp ebx, dword [esi + 0x4c]
jl 0x4d0142
mov eax, dword [ebp]
cmp ecx, dword [eax + 0x18]
jne 0x4d0142
push 4
push dword [eax + 0x1c]
push edi
call fcn.004f7bb0
add esp, 0xc
sub eax, 1
je 0x4d01a8
sub eax, 1
je 0x4d0169
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x24], eax
setg al
push eax
push ecx
push edi
call fcn.004b5ee0
add esp, 0xc
sub eax, 0
je 0x4d0169
sub eax, 1
je 0x4d01a8
mov eax, dword [ebp]
test byte [eax + 0x14], 0x20
je 0x4d01a8
mov eax, ebx
test ebx, ebx
jns 0x4d0174
mov eax, dword [esi + 0x5c]
jmp 0x4d0177
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x4d017f
mov eax, edi
jmp 0x4d018b
push eax
push dword [esi + 0x50]
call fcn.004a3fb0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x1a
call eax
add esp, 8
test eax, eax
je 0x4d0271
cmp ebx, 1
jle 0x4d01e1
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4d01e9
add eax, dword [esp + 0x18]
cmp ecx, eax
jle 0x4d01e9
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x19
call eax
add esp, 8
test eax, eax
je 0x4d0271
test ebx, ebx
jle 0x4d01f7
mov ecx, dword [esp + 0x14]
test byte [edi + 0x84], 0x20
jne 0x4d01f7
inc ecx
mov dword [esp + 0x14], ecx
test dword [edi + 0x84], 0x400
je 0x4d0250
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
je 0x4d0243
cmp dword [esp + 0x18], eax
jle 0x4d0234
test ebx, ebx
js 0x4d021b
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x26
call eax
add esp, 8
test eax, eax
je 0x4d0271
mov eax, dword [edi + 0x80]
inc eax
xor ebp, ebp
mov dword [esp + 0x18], eax
jmp 0x4d0255
mov eax, dword [esp + 0x18]
inc eax
xor ebp, ebp
mov dword [esp + 0x18], eax
jmp 0x4d0255
mov ebp, 1
inc ebx
mov dword [esp + 0x24], ebp
cmp ebx, dword [esp + 0x10]
jl 0x4cfb60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret