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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61a810
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x34]
cmp eax, 3
jne 0x4d5585
xor ebx, ebx
lea eax, [ebp + 0x14]
push ebx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00430670
mov ecx, dword [0x6c396c]
call fcn.00496c60
mov esi, eax
cmp esi, ebx
jne 0x4d52f1
mov dword [ebp + 0x34], 5
mov eax, 3
jmp 0x4d5591
lea ecx, [esp + 0x24]
call fcn.0042e640
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
push ecx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], ebx
call fcn.005d4fd4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x68], 1
call fcn.005dd29d
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.005dd1b0
mov al, byte [esp + 0x24]
mov dl, byte [esp + 0x74]
and al, 0xf7
push ebx
or al, 4
mov cl, al
xor cl, dl
lea edx, [esp + 0x28]
and cl, 3
push edx
xor al, cl
mov byte [esp + 0x2c], al
mov ecx, dword [esi + 0x88]
add ecx, 0x160
call fcn.0042f1b0
mov ecx, dword [0x6c396c]
push ebx
push 0x20
push esi
call fcn.00495c90
mov esi, 0x6a4548
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4d539b
cmp cl, bl
je 0x4d5397
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4d539b
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4d5377
xor eax, eax
jmp 0x4d53a0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4d5538
mov eax, dword [esp + 0x6c]
mov esi, str._disconnect
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4d53d5
cmp cl, bl
je 0x4d53d1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4d53d5
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4d53b1
xor eax, eax
jmp 0x4d53da
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4d53ea
mov ecx, ebp
call fcn.004d5aa0
jmp 0x4d5538
mov eax, dword [esp + 0x6c]
mov esi, str.test
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4d5417
cmp cl, bl
je 0x4d5413
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4d5417
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4d53f3
xor eax, eax
jmp 0x4d541c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4d5478
mov esi, 1
lea ecx, [esp + 0x18]
call fcn.004047a0
push esi
lea eax, [esp + 0x1c]
push str.exec_a_c_n
push eax
mov byte [esp + 0x70], 2
call fcn.004fda00
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [ebp]
add esp, 0xc
sub ecx, eax
push ebx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x18]
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.0041fc40
inc esi
mov byte [esp + 0x64], bl
cmp esi, 0x19
jl 0x4d5425
jmp 0x4d5538
lea edx, [esp + 0x13]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x68], 4
call fcn.00482bc0
mov edi, 0x699134
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x64], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x699134
push ecx
push 0x699134
lea ecx, [esp + 0x20]
call fcn.00434950
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub esp, 8
mov byte [esp + 0x6c], 6
mov eax, esp
mov dword [esp + 0x7c], esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [eax + 4], edx
call fcn.00444ca0
mov edi, 0x697cb4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
repne scasb al, byte es:[edi]
mov al, byte [esp + 0x74]
push edx
not ecx
dec ecx
mov byte [esp + 0x78], al
add ecx, 0x697cb4
push ecx
push 0x697cb4
lea ecx, [esp + 0x24]
call fcn.00401b50
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp]
sub ecx, eax
push ebx
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov byte [esp + 0x64], 7
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00402b70
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
push edx
mov dword [esp + 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push ebx
push 0xa
push eax
push ecx
call fcn.00510160
push ebx
push 0x3e8
push edx
push eax
call fcn.00510160
mov dword [ebp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [ebp + 0x24], edx
mov dword [esp + 0x64], 0xffffffff
call fcn.0042e870
xor eax, eax
jmp 0x4d5591
sub eax, 5
neg eax
sbb eax, eax
and al, 0xfe
add eax, 3
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0xc