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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], ecx
call fcn.0044755a
mov ebp, dword [esp + 0x38]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 8], ebx
cmp byte [ebp], bl
jne 0x4a2118
mov ecx, dword [0x59c53c]
test ecx, ecx
je 0x4a2083
push ebx
push 0xff
push ebx
push ebx
push 0x21c
mov dword [ecx + 0x80], 0xffffffd6
push 0xffffffffffffffd6
push dword [0x59c53c]
call fcn.004bbb10
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [esp + 0x40]
push 0
push 0
push 0
test ecx, ecx
je 0x4a20c3
push ecx
push 0
push 0
push 0
push eax
push dword [esp + 0x64]
lea eax, [ecx + 0xc1f]
push 0
push dword [esp + 0x78]
push str.ERROR:_BLANK_FEATURE
push eax
lea eax, [ecx + 0x81e]
push eax
lea eax, [ecx + 0x41d]
push eax
lea eax, [ecx + 0x1c]
push eax
jmp 0x4a20e3
push 0
push 0
push 0
push 0
push eax
push dword [esp + 0x64]
push 0
push dword [esp + 0x78]
push str.ERROR:_BLANK_FEATURE
push 0
push 0
push 0
push 0
push 0xffffffffffffffd6
push 6
push 0
push 0
push 6
call fcn.00488f30
add esp, 4
neg eax
sbb eax, eax
neg eax
add eax, 2
push eax
call fcn.0053e070
mov eax, dword [0x59c53c]
add esp, 0x54
mov eax, dword [eax + 0x80]
pop ebp
pop ebx
add esp, 0x28
ret
push edi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x50]
call fcn.004d1430
mov edi, dword [esp + 0x4c]
add esp, 8
test edi, edi
je 0x4a213b
xor eax, eax
mov word [edi + 0x1422], ax
mov ecx, dword [0x59c278]
mov eax, dword [esp + 0x54]
neg ecx
push esi
mov esi, dword [esp + 0x3c]
sbb ecx, ecx
neg ecx
mov dword [esp + 0x14], ecx
cmp ecx, 1
jg 0x4a25a8
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x2c], 0
jne 0x4a2598
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ebx
push ecx
push 0
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0
push eax
call fcn.0049be70
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4a2537
lea ecx, [ecx]
test ebx, ebx
mov dword [esp + 0x28], 0
cmove ebx, esi
mov dword [esp + 0x10], ebx
test edi, edi
je 0x4a21db
mov ecx, dword [edi + 0x14c8]
test ecx, ecx
je 0x4a21db
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x4a21db
push eax
push ecx
call fcn.004a3420
add esp, 8
test eax, eax
je 0x4a2501
mov ebx, dword [esp + 0x58]
push 0
push str.PORT_AT_HOST_PLUS
push ebx
call fcn.00414c70
add esp, 0xc
test eax, eax
jne 0x4a2200
test byte [esi + 0xc0], 8
jne 0x4a24fd
mov ecx, dword [esi + 0xd0]
xor ebp, ebp
test ecx, ecx
je 0x4a224a
test edi, edi
je 0x4a222a
mov eax, dword [edi + 0x14c8]
test eax, eax
je 0x4a222a
push eax
push ecx
push dword [0x59c53c]
call fcn.004e14c0
add esp, 0xc
cmp byte [esi + 0x64], 0
lea ecx, [esi + 0x64]
jne 0x4a224a
mov eax, dword [esi + 0xd0]
push 0x14
add eax, 0x248
push eax
push ecx
call fcn.004d1530
add esp, 0xc
cmp dword [esi + 0x80], ebp
jge 0x4a225e
cmp dword [esi + 0xa8], ebp
jl 0x4a24fd
mov ecx, dword [esi + 0xc0]
test cl, cl
js 0x4a24fd
cmp dword [esp + 0x14], ebp
jne 0x4a22b7
mov eax, dword [esp + 0x24]
cmp eax, 0x4000
jne 0x4a229c
cmp word [esi + 0x90], bp
jne 0x4a229c
test eax, ecx
je 0x4a24fd
cmp dword [esi + 0xd8], ebp
je 0x4a24fd
jmp 0x4a22b7
push eax
push edi
push esi
call fcn.004a1cd0
add esp, 0xc
test eax, eax
je 0x4a24fd
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x18], 1
test eax, 0x2040
jne 0x4a2552
test eax, 0x100
je 0x4a2435
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a2435
push 1
lea eax, [ecx + 0x64]
push eax
push dword [ecx + 0x44]
call fcn.0049be30
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4a252b
cmp dword [ebx + 0x80], ebp
jge 0x4a2315
cmp dword [ebx + 0xa8], ebp
jl 0x4a252b
cmp dword [esp + 0x14], ebp
jne 0x4a233e
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x4a2334
push eax
push edi
push ebx
call fcn.004a1cd0
add esp, 0xc
test eax, eax
jmp 0x4a2338
cmp dword [esp + 0x28], ebp
je 0x4a24fd
test edi, edi
je 0x4a252f
mov eax, dword [esi + 8]
push dword [edi + 0x14c8]
push dword [eax + 0xd0]
push dword [0x59c53c]
call fcn.004e14c0
mov ecx, dword [esi + 8]
push 1
push dword [esp + 0x70]
push dword [esp + 0x70]
lea eax, [ecx + 0x64]
push eax
push dword [esp + 0x70]
lea eax, [ecx + 0x48]
push dword [esp + 0x70]
push eax
push edi
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [ecx + 0x44]
push ebx
call fcn.004a2850
mov ebp, eax
add esp, 0x3c
mov dword [esp + 0x34], ebp
test ebp, ebp
jns 0x4a2431
mov ebx, dword [esp + 0x44]
cmp byte [ebx], 0x32
je 0x4a24af
cmp ebp, 0xffffd8f3
je 0x4a24af
cmp ebp, 0xffffd8f2
je 0x4a24af
cmp ebp, 0xffffd8f1
je 0x4a24af
push 5
call fcn.00488f30
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push dword [esp + 0x3c]
neg eax
push dword [esp + 0x70]
sbb ecx, ecx
lea eax, [esi + 0x64]
push dword [esi + 0x9c]
neg ecx
push eax
push dword [esi + 0x44]
lea eax, [edi + 0xc1f]
add ecx, 2
push eax
lea eax, [edi + 0x81e]
push eax
lea eax, [edi + 0x41d]
push eax
lea eax, [edi + 0x1c]
push eax
push ebp
push 5
push 0
push 0
push ecx
call fcn.0053e070
add esp, 0x58
jmp 0x4a24af
mov ebx, dword [esp + 0x58]
test edi, edi
je 0x4a24a7
push 1
push dword [esp + 0x64]
push dword [esp + 0x64]
push ebx
push dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
push dword [esp + 0x64]
push dword [esp + 0x64]
push edi
push ebx
push dword [esp + 0x64]
push dword [esp + 0x64]
push esi
call fcn.004a2850
mov ebp, eax
add esp, 0x30
test ebp, ebp
jns 0x4a252f
mov eax, dword [esi + 0xc0]
test eax, 0x4300
je 0x4a24a7
test eax, 0x4000
jne 0x4a24a7
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a24a7
cmp byte [ebx], 0x32
je 0x4a24a7
push 0
push 1
lea eax, [ecx + 0x64]
push eax
push 0xc
push dword [ecx + 0x44]
push edi
call fcn.0049d220
add esp, 0x18
test ebp, ebp
jns 0x4a252f
push 0
push str.PORT_AT_HOST_PLUS
push dword [esp + 0x60]
call fcn.00414c70
add esp, 0xc
test eax, eax
jne 0x4a252f
cmp ebp, 0xffffd8f1
je 0x4a252f
cmp ebp, 0xffffd8f3
je 0x4a252f
cmp ebp, 0xffffd8f2
jne 0x4a24fd
test edi, edi
je 0x4a24fd
cmp word [edi + 0x147e], 0xb
jne 0x4a24fd
movzx eax, word [edi + 0x1480]
cmp eax, 7
jb 0x4a24fd
cmp eax, 0xd
jbe 0x4a252f
mov ebx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x64]
lea eax, [esp + 0x30]
push dword [esp + 0x4c]
push eax
call fcn.0049be70
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4a21a0
jmp 0x4a2537
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 1
mov eax, dword [esp + 0x58]
jg 0x4a2598
mov ebx, dword [esp + 0x10]
jmp 0x4a2161
mov eax, dword [0x59c53c]
test eax, eax
je 0x4a258a
push 0
push 0xff
push 0
push 0
push 0x263
mov dword [eax + 0x80], 0xffffff83
push 0xffffffffffffff83
push dword [0x59c53c]
call fcn.004bbb10
mov eax, dword [0x59c53c]
add esp, 0x1c
mov eax, dword [eax + 0x80]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4a2814
mov ebp, dword [esp + 0x3c]
test edi, edi
je 0x4a265a
cmp word [edi + 0x147e], 6
jb 0x4a265a
push eax
push ebp
call fcn.0049cea0
add esp, 8
test eax, eax
je 0x4a260c
mov edx, dword [0x59c53c]
test edx, edx
je 0x4a260c
mov eax, dword [edx + 0x80]
mov ecx, 0xffffffa3
push 0
push 0xff
push 0
push 0
test eax, eax
push 0x16b
cmovne ecx, eax
mov dword [edx + 0x80], ecx
push 0xffffffffffffffa3
push dword [0x59c53c]
call fcn.004bbb10
add esp, 0x1c
cmp word [edi + 0x147e], 6
jb 0x4a265a
cmp dword [esp + 0x30], 0
je 0x4a265a
mov edx, dword [0x59c53c]
test edx, edx
je 0x4a2809
push 0
push 0xff
push 0
push 0
push 0x18b
mov dword [edx + 0x80], 0xffffffa4
push 0xffffffffffffffa4
push dword [0x59c53c]
call fcn.004bbb10
add esp, 0x1c
jmp 0x4a2809
push 0
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push ebp
push dword [0x59c53c]
call fcn.004d1d50
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4a2737
push 0
lea ecx, [ebx + 0x22b]
push ecx
push dword [0x59c53c]
call fcn.004beee0
add esp, 0xc
test eax, eax
jne 0x4a2703
push 1
lea eax, [ebx + 0x237]
push eax
push dword [0x59c53c]
call fcn.004beee0
add esp, 0xc
cmp eax, 0xffffffe1
je 0x4a26db
push 0
push 0
lea eax, [esp + 0x30]
push eax
push ebp
push dword [0x59c53c]
call fcn.004d1d50
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4a2684
jmp 0x4a2737
mov edx, dword [0x59c53c]
test edx, edx
je 0x4a2737
push 0
push 0xff
push 0
push 0
push 0x3978
mov dword [edx + 0x80], 0xffffffe1
push 0xffffffffffffffe1
jmp 0x4a2729
mov edx, dword [0x59c53c]
test edx, edx
je 0x4a2737
push 0
push 0xff
push 0
push 0
push 0x258
mov dword [edx + 0x80], 0xfffffff6
push 0xfffffffffffffff6
push dword [0x59c53c]
call fcn.004bbb10
add esp, 0x1c
mov eax, dword [0x59c53c]
cmp dword [eax + 0x80], 0
jne 0x4a276f
push 0
push 0xff
push 0
push 0
push 0x147
mov dword [eax + 0x80], 0xfffffffb
push 0xfffffffffffffffb
push dword [0x59c53c]
call fcn.004bbb10
add esp, 0x1c
mov eax, dword [esp + 0x44]
cmp byte [eax], 0x32
je 0x4a2809
push 0
push 0
push 0
test edi, edi
je 0x4a27ba
push edi
push 0
push 0
push 0
push dword [esp + 0x38]
lea eax, [edi + 0xc1f]
push dword [esp + 0x6c]
push 0
push dword [esp + 0x80]
push ebp
push eax
lea eax, [edi + 0x81e]
push eax
lea eax, [edi + 0x41d]
push eax
lea eax, [edi + 0x1c]
push eax
jmp 0x4a27dc
push 0
push 0
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x6c]
push 0
push dword [esp + 0x80]
push ebp
push 0
push 0
push 0
push 0
mov eax, dword [0x59c53c]
push dword [eax + 0x80]
push 6
push 0
push 0
push 6
call fcn.00488f30
add esp, 4
neg eax
sbb eax, eax
neg eax
add eax, 2
push eax
call fcn.0053e070
add esp, 0x54
mov eax, dword [0x59c53c]
mov ebp, dword [eax + 0x80]
test ebp, ebp
js 0x4a282e
test esi, esi
je 0x4a282e
push 0
add esi, 0x64
push esi
push dword [esp + 0x60]
call fcn.00414d90
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
pop esi
cmovg ebp, eax
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret