Function at 0x405a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x768
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x74c], edi
call fcn.004030c0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x52e]
push ecx
mov dword [ebp - 0x748], 0
mov word [ebp - 0x530], ax
call fcn.004737c0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x736]
push eax
mov word [ebp - 0x738], dx
call fcn.004737c0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x326]
push edx
mov word [ebp - 0x328], cx
call fcn.004737c0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x11f]
push 0
push eax
mov byte [ebp - 0x120], 0
call fcn.004737c0
mov cl, 0x73
add esp, 0xc
mov byte [ebp - 0x16], cl
mov byte [ebp - 7], cl
mov byte [ebp - 6], cl
lea ecx, [ebp - 0x748]
push ecx
push 0
mov al, 0x65
mov dl, 0x20
push 0
push 5
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x17], 0x79
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], 0x49
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], al
mov byte [ebp - 5], 0
mov dword [edi], 0
call dword [0x52ae24]
cmp eax, 0xc0000004
jne 0x405f51
cmp dword [0x529874], 0
jne 0x405b30
push 0x208
call fcn.0046de61
add esp, 4
mov dword [0x529874], eax
mov edx, dword [ebp - 0x748]
push edx
call fcn.0046de61
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x748]
push 0
push eax
push edi
push 5
mov dword [ebp - 0x750], edi
call dword [0x52ae24]
test eax, eax
jne 0x405f51
mov dword [ebp - 0x740], edi
jmp 0x405b70
mov ecx, dword [ebp - 0x740]
mov edi, dword [ecx + 0x44]
call fcn.00405990
mov ebx, eax
mov dword [ebp - 0x754], ebx
test ebx, ebx
jne 0x405da2
mov ebx, dword [ebp - 0x740]
lea edx, [ebx + 0x38]
lea ecx, [ebp - 0x530]
call fcn.004054b0
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x530]
push edx
push 0
push 0
call edi
push 0
push 0
push eax
lea eax, [ebp - 0x120]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x530]
push ecx
push 0
push 0
call edi
lea edx, [ebp - 0x739]
push edx
mov edi, esi
mov byte [ebp - 0x739], 0
call fcn.00406440
lea eax, [ebp - 0x739]
push eax
mov byte [ebp - 0x739], 2
call fcn.00406440
movzx ecx, byte [ebx + 0x44]
lea edx, [ebp - 0x739]
push edx
mov byte [ebp - 0x739], cl
call fcn.00406440
mov eax, dword [ebx + 0x44]
lea ecx, [ebp - 0x739]
shr eax, 8
push ecx
mov byte [ebp - 0x739], al
call fcn.00406440
mov dl, byte [ebx + 0x46]
lea eax, [ebp - 0x739]
push eax
mov byte [ebp - 0x739], dl
call fcn.00406440
movzx ecx, byte [ebx + 0x47]
lea edx, [ebp - 0x739]
push edx
mov byte [ebp - 0x739], cl
call fcn.00406440
cmp dword [ebx + 0x44], 0
jne 0x405d0f
lea eax, [ebp - 0x18]
lea edx, [eax + 1]
jmp 0x405c70
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405c70
sub eax, edx
inc eax
mov dword [ebp - 0x740], 0
mov dword [ebp - 0x744], eax
test eax, eax
jle 0x405d95
mov eax, dword [ebp - 0x740]
mov cl, byte [ebp + eax - 0x18]
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x739], cl
test eax, eax
jne 0x405cad
xor ecx, ecx
jmp 0x405cb2
mov ecx, dword [esi + 0x14]
sub ecx, eax
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
cmp edx, ecx
jae 0x405ccb
mov al, byte [ebp - 0x739]
mov byte [edi], al
inc edi
mov dword [esi + 0x10], edi
jmp 0x405ced
cmp eax, edi
jbe 0x405cd4
call fcn.0046de02
mov eax, dword [esi]
push edi
push eax
lea ecx, [ebp - 0x739]
push ecx
lea edx, [ebp - 0x764]
push edx
mov eax, esi
call fcn.004067c0
mov eax, dword [ebp - 0x740]
inc eax
cmp eax, dword [ebp - 0x744]
mov dword [ebp - 0x740], eax
jl 0x405c92
mov eax, dword [ebp - 0x74c]
inc dword [eax]
jmp 0x405f2f
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d18
sub eax, edx
inc eax
xor ebx, ebx
mov dword [ebp - 0x744], eax
test eax, eax
jle 0x405d8f
mov al, byte [ebp + ebx - 0x120]
mov byte [ebp - 0x739], al
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x405d46
xor ecx, ecx
jmp 0x405d4b
mov ecx, dword [esi + 0x14]
sub ecx, eax
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
cmp edx, ecx
jae 0x405d64
mov al, byte [ebp - 0x739]
mov byte [edi], al
inc edi
mov dword [esi + 0x10], edi
jmp 0x405d86
cmp eax, edi
jbe 0x405d6d
call fcn.0046de02
mov eax, dword [esi]
push edi
push eax
lea ecx, [ebp - 0x739]
push ecx
lea edx, [ebp - 0x75c]
push edx
mov eax, esi
call fcn.004067c0
inc ebx
cmp ebx, dword [ebp - 0x744]
jl 0x405d2e
mov ebx, dword [ebp - 0x740]
mov eax, dword [ebp - 0x74c]
inc dword [eax]
jmp 0x405f2f
mov eax, dword [0x529874]
push 0
push 0x104
push eax
push 0x1b
push ebx
call dword [0x52ae18]
test eax, eax
jl 0x405f22
mov edx, dword [0x529874]
lea ecx, [ebp - 0x738]
call fcn.004054b0
test eax, eax
je 0x405f22
lea ecx, [ebp - 0x738]
push ecx
lea ecx, [ebp - 0x328]
call fcn.00405710
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x328]
push edx
push 0
push 0
call edi
push 0
push 0
push eax
lea eax, [ebp - 0x120]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x328]
push ecx
push 0
push 0
call edi
lea edx, [ebp - 0x739]
push edx
mov edi, esi
mov byte [ebp - 0x739], 1
call fcn.00406440
push ebx
call fcn.004032a0
add esp, 4
test eax, eax
je 0x405e58
lea eax, [ebp - 0x739]
mov byte [ebp - 0x739], 1
push eax
jmp 0x405e66
lea ecx, [ebp - 0x739]
mov byte [ebp - 0x739], 0
push ecx
call fcn.00406440
mov ebx, dword [ebp - 0x740]
movzx edx, byte [ebx + 0x44]
lea eax, [ebp - 0x739]
push eax
mov edi, esi
mov byte [ebp - 0x739], dl
call fcn.00406440
mov ecx, dword [ebx + 0x44]
lea edx, [ebp - 0x739]
shr ecx, 8
push edx
mov byte [ebp - 0x739], cl
call fcn.00406440
mov al, byte [ebx + 0x46]
lea ecx, [ebp - 0x739]
push ecx
mov byte [ebp - 0x739], al
call fcn.00406440
movzx edx, byte [ebx + 0x47]
lea eax, [ebp - 0x739]
push eax
mov byte [ebp - 0x739], dl
call fcn.00406440
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ed5
sub eax, edx
inc eax
xor ebx, ebx
mov dword [ebp - 0x744], eax
test eax, eax
jle 0x405f14
jmp 0x405ef0
mov cl, byte [ebp + ebx - 0x120]
lea edx, [ebp - 0x739]
push edx
mov edi, esi
mov byte [ebp - 0x739], cl
call fcn.00406440
inc ebx
cmp ebx, dword [ebp - 0x744]
jl 0x405ef0
mov eax, dword [ebp - 0x74c]
inc dword [eax]
mov ebx, dword [ebp - 0x754]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x740]
mov eax, dword [ebx]
test eax, eax
je 0x405f42
add ebx, eax
mov dword [ebp - 0x740], ebx
jmp 0x405b70
mov eax, dword [ebp - 0x750]
push eax
call fcn.0046dbc6
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret