Function at 0x40ba60
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51d6f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], 1
call fcn.0050a720
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004f70e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004f5840
push ecx
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x70], 4
call fcn.004f5850
lea ecx, [esp + 0x18]
call fcn.004f5b70
lea ecx, [esp + 0x14]
mov word [esp + 0x18], 0xfe
push ecx
lea ecx, [esp + 0x30]
call fcn.004f6590
sub esp, 0x24
xor ebx, ebx
mov edx, esp
mov dword [esp + 0x34], esp
lea eax, [esp + 0x50]
push ebx
push eax
push edx
mov ecx, 0x554070
call fcn.004f3fa0
lea ecx, [esp + 0x60]
call fcn.004f7290
lea ecx, [esp + 0x3c]
call fcn.004f76c0
test ax, ax
jle 0x40bcc5
push ebx
lea ecx, [esp + 0x40]
call fcn.004f7600
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x40bcc5
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x40bcc5
push ebx
lea ecx, [esp + 0x40]
call fcn.004f7600
mov ecx, dword [eax + 4]
call fcn.004f5d00
test ax, ax
jle 0x40bcc5
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebx
call fcn.004f5870
mov esi, dword [esp + 0x78]
mov ecx, esi
call fcn.004f5b70
push ecx
lea ecx, [esp + 0x40]
mov eax, esp
mov dword [esp + 0x78], esp
push eax
call fcn.004f7610
mov ecx, esi
call fcn.004f5b70
mov ecx, esi
call fcn.004f5d00
cmp ax, 5
jl 0x40bcc5
push ebx
mov ecx, esi
call fcn.004f5b60
cmp al, 0x80
jb 0x40bcc5
push 1
mov ecx, esi
call fcn.004f5b60
cmp al, 0xf1
jne 0x40bcc5
push 2
mov ecx, esi
call fcn.004f5b60
cmp al, 0x11
jne 0x40bcc5
push 3
mov ecx, esi
call fcn.004f5b60
cmp al, 0x7f
jne 0x40be3a
push 4
mov ecx, esi
call fcn.004f5b60
push 3
lea ecx, [esp + 0x74]
mov bl, al
call fcn.004f5b60
cmp bl, al
jne 0x40be3a
push 5
mov ecx, esi
call fcn.004f5b60
cmp al, 0x78
jne 0x40bd81
mov byte [esp + 0x74], 1
xor ebx, ebx
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
push ecx
mov ecx, 0x554070
call fcn.004f4b10
lea ecx, [esp + 0x60]
call fcn.004f7290
lea ecx, [esp + 0x3c]
call fcn.004f76c0
test ax, ax
jle 0x40bcb0
push ebx
lea ecx, [esp + 0x40]
call fcn.004f7600
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x40bcb0
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x40bcb0
push ebx
lea ecx, [esp + 0x40]
call fcn.004f7600
mov ecx, dword [eax + 4]
call fcn.004f5d00
cmp ax, 5
jl 0x40bcb0
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.004f7600
mov ecx, eax
call fcn.0041fe70
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004f5850
mov ecx, esi
call fcn.004f5b70
push 4
mov ecx, esi
call fcn.004f5b60
cmp al, 0x7f
jne 0x40bd23
push 6
mov ecx, esi
call fcn.004f5b60
cmp al, 0x78
jne 0x40bd23
mov al, byte [esp + 0x74]
mov cl, al
inc al
cmp cl, 5
mov byte [esp + 0x74], al
jb 0x40bc0d
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004f5980
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004f71e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 1
call fcn.004f61c0
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x70]
call fcn.004f5980
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], 0xffffffff
call fcn.004f5980
xor al, al
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004f5980
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004f71e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 1
call fcn.004f61c0
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call fcn.004f5980
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], 0xffffffff
call fcn.004f5980
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret 0xc
push 6
push 0x548780
lea ecx, [esp + 0x7c]
call fcn.004f58e0
xor bl, bl
mov byte [esp + 0x68], 5
mov byte [esp + 0x1c], 0x11
mov byte [esp + 0x1d], 0x12
mov byte [esp + 0x1e], 0x22
mov byte [esp + 0x1f], 0x31
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x35
mov byte [esp + 0x22], 0x36
mov byte [esp + 0x23], 0x37
mov byte [esp + 0x24], 0x42
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x75
mov byte [esp + 0x28], 0x79
mov byte [esp + 0x29], 0x80
mov byte [esp + 0x10], bl
push 5
mov ecx, esi
call fcn.004f5b60
mov edx, dword [esp + 0x10]
and edx, 0xff
cmp al, byte [esp + edx + 0x1c]
je 0x40be08
inc bl
cmp bl, 0xe
mov byte [esp + 0x10], bl
jb 0x40bde2
jmp 0x40be22
push 5
mov ecx, esi
call fcn.004f5b60
push eax
push 5
lea ecx, [esp + 0x7c]
call fcn.004f5c80
cmp bl, 0xe
jb 0x40be2f
push 0
push 5
lea ecx, [esp + 0x7c]
call fcn.004f5c80
mov byte [esp + 0x68], 4
lea ecx, [esp + 0x74]
jmp 0x40be74
push esi
lea ecx, [esp + 0x10]
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0x68], 6
call fcn.004f5d00
dec eax
mov ecx, esi
push eax
call fcn.004f5b60
mov bl, al
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.004d3100
cmp al, bl
je 0x40bead
mov byte [esp + 0x68], 4
lea ecx, [esp + 0xc]
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004f5980
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004f71e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 1
call fcn.004f61c0
mov byte [esp + 0x68], 0
jmp 0x40bcf3
push 0
lea ecx, [esp + 0x14]
call fcn.004f5870
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 7
push ecx
lea ecx, [esp + 0x7c]
call fcn.004f5c20
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x68], 6
call fcn.004f5980
test bl, bl
je 0x40beea
mov byte [esp + 0x68], 4
lea ecx, [esp + 0xc]
jmp 0x40bf07
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.004f5c20
test al, al
mov byte [esp + 0x68], 4
lea ecx, [esp + 0xc]
je 0x40be74
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.004f5980
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004f71e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 1
call fcn.004f61c0
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0
call fcn.004f5980
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0xc