Function at 0x4054c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00443f30
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, 0x528928
lea ecx, [ebp - 0x58]
call fcn.0040fae0
mov byte [ebp - 4], 2
mov eax, 0x528928
lea ecx, [ebp - 0xd4]
call fcn.0040fae0
mov bl, 3
mov byte [ebp - 4], bl
lea eax, [ebp - 0xb8]
push eax
call fcn.004187d0
add esp, 4
mov byte [ebp - 4], 4
mov edi, eax
mov esi, 0x572c10
call fcn.00411aa0
mov byte [ebp - 4], bl
lea esi, [ebp - 0xb8]
call fcn.004150b0
mov byte [ebp - 4], 2
lea esi, [ebp - 0xd4]
call fcn.004150b0
xor ebx, ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x18]
jge 0x405909
mov eax, 0x528d98
lea ecx, [ebp - 0xf0]
call fcn.0040fae0
mov byte [ebp - 4], 5
lea edi, [ebx*8]
sub edi, ebx
add edi, edi
add edi, edi
mov ecx, dword [ebp - 0x84]
add ecx, edi
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 7
lea esi, [ebp - 0xf0]
call fcn.004150b0
mov al, 1
test al, al
je 0x4056f8
mov ecx, dword [ebp - 0x84]
cmp dword [edi + ecx + 0x10], 0xa
jbe 0x4058f7
push ebx
lea edx, [ebp - 0x160]
push edx
call fcn.004ef520
mov byte [ebp - 4], 8
push 0x528d98
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 9
push 0x528d98
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.004139a0
add esp, 0xc
mov byte [ebp - 4], 0xa
push 0x572c10
lea edx, [ebp - 0x128]
push edx
mov ecx, eax
call fcn.00413df0
mov byte [ebp - 4], 0xb
push 0x528d98
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x84]
add ecx, edi
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, eax
call fcn.00413df0
mov byte [ebp - 4], 0xd
push 0x529050
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004139a0
add esp, 0x14
mov byte [ebp - 4], 0xe
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x58]
call fcn.00412830
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0xb8]
call fcn.004150b0
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0xd4]
call fcn.004150b0
mov byte [ebp - 4], 0xb
lea esi, [ebp - 0x10c]
call fcn.004150b0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x128]
call fcn.004150b0
mov byte [ebp - 4], 9
lea esi, [ebp - 0x198]
call fcn.004150b0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x1ec]
call fcn.004150b0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x160]
jmp 0x4058f2
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x68]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor eax, eax
cmp ecx, eax
jle 0x4058f7
mov eax, 0x528928
lea ecx, [ebp - 0x34]
call fcn.0040fae0
mov byte [ebp - 4], 0xf
xor edi, edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x4057da
xor eax, eax
push 0x528d98
cmp edi, eax
jne 0x405797
push 0x572c10
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00413af0
add esp, 0xc
mov byte [ebp - 4], 0x10
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x34]
call fcn.00412830
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x1d0]
call fcn.004150b0
inc edi
jmp 0x40572e
lea edx, [edi*8]
sub edx, edi
lea eax, [esi + edx*4]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00413af0
add esp, 0xc
mov byte [ebp - 4], 0x11
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x34]
call fcn.00412830
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x17c]
call fcn.004150b0
inc edi
jmp 0x40572e
sub esp, 0x1c
mov dword [ebp - 0x98], esp
mov eax, 0x528d98
mov ecx, esp
call fcn.0040fae0
mov byte [ebp - 4], 0x12
sub esp, 0x1c
mov dword [ebp - 0x9c], esp
lea ecx, [ebp - 0x34]
mov esi, esp
call fcn.0040fab0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1b4]
push ecx
mov byte [ebp - 4], 0xf
call fcn.004ef0c0
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x34]
cmp edx, esi
je 0x4058a3
mov edi, 8
cmp dword [ebp - 0x20], edi
jb 0x405841
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov word [ebp - 0x34], cx
cmp dword [esi + 0x14], edi
jae 0x405872
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x40587d
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
mov dword [esi], 0
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], edi
jb 0x40589e
mov esi, dword [esi]
xor ecx, ecx
mov word [esi], cx
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x1b4]
call fcn.004150b0
push 0x529050
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.00413af0
add esp, 0xc
mov byte [ebp - 4], 0x15
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x58]
call fcn.00412830
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x144]
call fcn.004150b0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x34]
call fcn.004150b0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x68]
call fcn.0040fcb0
inc ebx
jmp 0x405568
cmp dword [ebp - 0x48], 0
je 0x40594e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0043f770
add esp, 4
mov byte [ebp - 4], 1
lea esi, [ebp - 0x58]
call fcn.004150b0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x84]
call fcn.0040fcb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 1
lea esi, [ebp - 0x58]
call fcn.004150b0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x84]
call fcn.0040fcb0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4