Function at 0x40cd20
Capabilities:
Contain obfuscated stackstrings
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537235
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1e4]
mov byte [eax + 0x2f0], 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0040c790
add esp, 4
lea edx, [ebp - 0x74]
push edx
call fcn.0040c770
add esp, 4
mov dword [ebp - 0x20c], eax
push 0
push str..log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x20c]
push eax
push str..log_Y__m__d_info.log
push 0x50
lea ecx, [ebp - 0x60]
push ecx
call fcn.004ba08c
add esp, 0x10
push 4
lea ecx, [ebp - 0x6c]
call fcn.0040a660
push 0x80
call fcn.00495208
add esp, 4
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 4], 0
push 0x80
mov ecx, dword [ebp - 0x1f0]
call fcn.0040a660
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x3e4]
call fcn.00406fc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1ec]
or eax, 1
mov dword [ebp - 0x1ec], eax
lea ecx, [ebp - 0x3e4]
push ecx
mov ecx, dword [ebp - 0x1f0]
call fcn.004d8270
mov dword [ebp - 0x1f4], eax
jmp 0x40ce27
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x210], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040a3f0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x1ec]
and ecx, 1
je 0x40ce6d
and dword [ebp - 0x1ec], 0xfffffffe
lea ecx, [ebp - 0x3e4]
call fcn.00406e80
call fcn.00428b70
call fcn.004425d0
push 4
lea ecx, [ebp - 0x64]
call fcn.0040a660
push 0x124
call fcn.00495208
add esp, 4
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 5
push 0x124
mov ecx, dword [ebp - 0x1f8]
call fcn.0040a660
mov ecx, dword [ebp - 0x1f8]
call fcn.004d9370
mov dword [ebp - 0x1fc], eax
jmp 0x40cec5
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x214], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040a3f0
mov byte [ebp - 4], 6
push str._Y__m__d__H:_M:_S__s:__t
lea ecx, [ebp - 0x594]
call fcn.00406fc0
mov byte [ebp - 4], 7
push str.pattern
lea ecx, [ebp - 0x564]
call fcn.00406fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.00410950
mov dword [ebp - 0x200], eax
lea ecx, [ebp - 0x594]
push ecx
lea edx, [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x200]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x200]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x564]
call fcn.00406e80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x594]
call fcn.00406e80
push 4
lea ecx, [ebp - 0x68]
call fcn.0040a660
push 0x14
call fcn.00495208
add esp, 4
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 9
push 0x14
mov ecx, dword [ebp - 0x204]
call fcn.0040a660
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00415ca0
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x25c], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00415ca0
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x204]
call fcn.004daaa0
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x208], eax
jmp 0x40cff5
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040a3f0
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00415ca0
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 0xc
call fcn.004dc8c0
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.004dc930
push 0x5a3440
lea ecx, [ebp - 0x5ac]
call fcn.00406fc0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x5ac]
push edx
call fcn.004dc410
add esp, 4
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5ac]
call fcn.00406e80
push str.add_restart_response_test
lea ecx, [ebp - 0x27c]
call fcn.00406fc0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.0040cc50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x27c]
call fcn.00406e80
push 0xc0
lea ecx, [ebp - 0x1dc]
call fcn.0040a660
push 1
lea ecx, [ebp - 0x1dc]
call fcn.00411500
mov byte [ebp - 4], 0xf
push 0x40
push 1
push str..___useliburl__
lea ecx, [ebp - 0x1dc]
call fcn.00411420
lea ecx, [ebp - 0x1dc]
call fcn.00411480
movzx ecx, al
test ecx, ecx
je 0x40d153
mov edx, dword [ebp - 0x1e4]
mov byte [edx + 0x2f0], 1
lea ecx, [ebp - 0x1dc]
call fcn.004113f0
push str.use_libcurl
lea ecx, [ebp - 0x294]
call fcn.00406fc0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.0040cc50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.00406e80
jmp 0x40d188
push str.use_poco
lea ecx, [ebp - 0x2ac]
call fcn.00406fc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2ac]
push ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.0040cc50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.00406e80
push str.Start_to_load_files
lea ecx, [ebp - 0x2c4]
call fcn.00406fc0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x2c4]
push edx
mov ecx, dword [ebp - 0x1e8]
call fcn.0040cc50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c4]
call fcn.00406e80
push 0x5a33fa
lea ecx, [ebp - 0x30c]
call fcn.00406fc0
mov byte [ebp - 4], 0x13
push str.urlRuntime
lea ecx, [ebp - 0x2f4]
call fcn.00406fc0
mov byte [ebp - 4], 0x14
push 0x5a34b0
lea ecx, [ebp - 0x2dc]
call fcn.00406fc0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2f4]
push ecx
lea edx, [ebp - 0x2dc]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2dc]
call fcn.00406e80
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2f4]
call fcn.00406e80
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30c]
call fcn.00406e80
push str.load_welcome_url:__s
lea ecx, [ebp - 0x324]
call fcn.00406fc0
mov byte [ebp - 4], 0x1a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x22c], esp
lea edx, [ebp - 0xec]
push edx
call fcn.00407040
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.00415ce0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x324]
call fcn.00406e80
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0xe0
call fcn.00411340
push 0x5a33fb
lea ecx, [ebp - 0x36c]
call fcn.00406fc0
mov byte [ebp - 4], 0x1b
push str.urlLogin
lea ecx, [ebp - 0x354]
call fcn.00406fc0
mov byte [ebp - 4], 0x1c
push 0x5a34e8
lea ecx, [ebp - 0x33c]
call fcn.00406fc0
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x36c]
push edx
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0xbc]
push edx
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x33c]
call fcn.00406e80
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x354]
call fcn.00406e80
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x36c]
call fcn.00406e80
push str.load_login_url:__s
lea ecx, [ebp - 0x384]
call fcn.00406fc0
mov byte [ebp - 4], 0x22
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x234], esp
lea eax, [ebp - 0xbc]
push eax
call fcn.00407040
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x384]
push ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.00415ce0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x384]
call fcn.00406e80
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x110
call fcn.00411340
push 0x5a3402
lea ecx, [ebp - 0x3cc]
call fcn.00406fc0
mov byte [ebp - 4], 0x23
push str.urlChickVersion
lea ecx, [ebp - 0x3b4]
call fcn.00406fc0
mov byte [ebp - 4], 0x24
push 0x5a3520
lea ecx, [ebp - 0x39c]
call fcn.00406fc0
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x3cc]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
lea edx, [ebp - 0x39c]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x39c]
call fcn.00406e80
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x3b4]
call fcn.00406e80
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x3cc]
call fcn.00406e80
push str.check_version_url:__s
lea ecx, [ebp - 0x4d4]
call fcn.00406fc0
mov byte [ebp - 4], 0x2a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
lea edx, [ebp - 0xd4]
push edx
call fcn.00407040
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x4d4]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.00415ce0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4d4]
call fcn.00406e80
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0xf8
call fcn.00411340
push 0x5a3403
lea ecx, [ebp - 0x42c]
call fcn.00406fc0
mov byte [ebp - 4], 0x2b
push 0x5a354c
lea ecx, [ebp - 0x414]
call fcn.00406fc0
mov byte [ebp - 4], 0x2c
push str.ShellConfig.json
lea ecx, [ebp - 0x3fc]
call fcn.00406fc0
mov byte [ebp - 4], 0x2d
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x3fc]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x3fc]
call fcn.00406e80
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x414]
call fcn.00406e80
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x42c]
call fcn.00406e80
push str.the_current_game_id_:__s
lea ecx, [ebp - 0x444]
call fcn.00406fc0
mov byte [ebp - 4], 0x32
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
lea eax, [ebp - 0xa4]
push eax
call fcn.00407040
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.00415ce0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x444]
call fcn.00406e80
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x128
call fcn.00411340
push 0x5a3435
lea ecx, [ebp - 0x4a4]
call fcn.00406fc0
mov byte [ebp - 4], 0x33
push 0x5a3584
lea ecx, [ebp - 0x48c]
call fcn.00406fc0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xa4]
call fcn.00406e10
push eax
lea ecx, [ebp - 0x474]
call fcn.00406fc0
mov byte [ebp - 4], 0x35
push 0x5a358c
lea ecx, [ebp - 0x45c]
call fcn.00406fc0
mov byte [ebp - 4], 0x36
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x48c]
push ecx
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004459e0
add esp, 0x14
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x45c]
call fcn.00406e80
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x474]
call fcn.00406e80
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x48c]
call fcn.00406e80
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x4a4]
call fcn.00406e80
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x188
call fcn.00411340
mov dword [ebp - 0x1e0], 0
push 0x5a359c
push 0x5a35a0
lea eax, [ebp - 0x1e0]
push eax
call fcn.004ba18e
add esp, 0xc
cmp dword [ebp - 0x1e0], 0
je 0x40d885
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.004ba24b
add esp, 4
push 0x5a3436
lea ecx, [ebp - 0x4ec]
call fcn.00406fc0
mov byte [ebp - 4], 0x3c
push 0x5a35b0
lea ecx, [ebp - 0x5c4]
call fcn.00406fc0
mov byte [ebp - 4], 0x3d
push 0x5a35bc
lea ecx, [ebp - 0x4bc]
call fcn.00406fc0
mov byte [ebp - 4], 0x3e
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x4bc]
push ecx
lea edx, [ebp - 0x8c]
push edx
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x4bc]
call fcn.00406e80
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x5c4]
call fcn.00406e80
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x4ec]
call fcn.00406e80
push 0x5a3437
lea eax, [ebp - 0x8c]
push eax
call fcn.00415d80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40d7c0
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x170
call fcn.00411340
push str.load_from_lastplay_and_select_the_current_server_to__s
lea ecx, [ebp - 0x504]
call fcn.00406fc0
mov byte [ebp - 4], 0x43
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x248], esp
lea eax, [ebp - 0x8c]
push eax
call fcn.00407040
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x504]
push ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.00415ce0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x504]
call fcn.00406e80
push 0x5a344b
lea ecx, [ebp - 0x54c]
call fcn.00406fc0
mov byte [ebp - 4], 0x44
push str.groupname
lea ecx, [ebp - 0x534]
call fcn.00406fc0
mov byte [ebp - 4], 0x45
push str.lastplay.json
lea ecx, [ebp - 0x51c]
call fcn.00406fc0
mov byte [ebp - 4], 0x46
lea edx, [ebp - 0x54c]
push edx
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x51c]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.00445770
add esp, 0x10
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x51c]
call fcn.00406e80
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x534]
call fcn.00406e80
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x54c]
call fcn.00406e80
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x158
call fcn.00411340
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x104]
call fcn.00406e80
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x8c]
call fcn.00406e80
jmp 0x40d8ba
push str.not_found_the_ac_file_
lea ecx, [ebp - 0x57c]
call fcn.00406fc0
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x57c]
push ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.0040cc50
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x57c]
call fcn.00406e80
mov edx, dword [ebp - 0x1e4]
push edx
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x1f8
call fcn.004499d0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x11c]
call fcn.00406e80
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xa4]
call fcn.00406e80
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xd4]
call fcn.00406e80
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xbc]
call fcn.00406e80
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xec]
call fcn.00406e80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1dc]
call fcn.0040d970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00410990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00410990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00410990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret