Function at 0x115e9c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1a98
call fcn.011972f0
push esi
mov esi, dword [ebx + 0xc]
push edi
mov ecx, 0x388
lea edi, [ebp - 0xe38]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x144]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
cmp eax, edx
je 0x115ea17
cmp byte [eax], 0x59
jne 0x115ea17
mov dword [ebp - 0xa2c], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [ebx + 8]
cmp eax, edx
je 0x115ea37
push 0x14
push eax
mov eax, dword [esi + 0x91e0]
push 0xffffffffffffffff
push eax
call fcn.010314c0
mov dword [ebp - 0xc], eax
jmp 0x115ea3a
mov dword [ebp - 0xc], edx
mov edi, dword [ebx + 0x10]
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x115ea59
cmp byte [eax], 0x59
jne 0x115ea59
lea ecx, [ebp - 0xe38]
push ecx
push esi
call fcn.0103f660
mov eax, dword [edi + 0x1b8]
test eax, eax
je 0x115ea86
cmp dword [ebp - 0xcb4], 0
jne 0x115ea78
test dword [ebp - 0xd70], 0x200
jne 0x115ea86
lea edx, [ebp - 0xe38]
push edx
push eax
push esi
call fcn.01150800
cmp dword [ebx + 0x18], 0
je 0x115fdb6
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0xce4]
xor edx, edx
mov dword [ebp - 8], ecx
cmp eax, edx
je 0x115f093
mov esi, dword [edi + 0xa4]
mov dword [ebp - 0xce4], edx
mov dword [ebp - 0xca0], edx
mov dword [ebp - 0xc9c], edx
cmp esi, edx
je 0x115eaec
mov cl, byte [esi]
test cl, cl
je 0x115eaec
cmp cl, 0x59
je 0x115eada
cmp cl, 0x79
je 0x115eada
cmp cl, 0x4e
jne 0x115eae6
mov dword [ebp - 0xce4], 0x20
jmp 0x115eaec
mov dword [ebp - 0xce4], edx
mov ecx, dword [edi + 0xa8]
cmp ecx, edx
je 0x115eb21
mov cl, byte [ecx]
test cl, cl
je 0x115eb21
cmp cl, 0x59
je 0x115eb0b
cmp cl, 0x79
je 0x115eb0b
cmp cl, 0x4e
jne 0x115eb17
or dword [ebp - 0xce4], 0x80
jmp 0x115eb21
and dword [ebp - 0xce4], 0xffffff7f
mov ecx, dword [edi + 0x94]
mov esi, 0xfffffffd
cmp ecx, edx
je 0x115eb54
mov cl, byte [ecx]
test cl, cl
je 0x115eb54
cmp cl, 0x59
je 0x115eb45
cmp cl, 0x79
je 0x115eb45
cmp cl, 0x4e
jne 0x115eb4e
or dword [ebp - 0xce4], 2
jmp 0x115eb54
and dword [ebp - 0xce4], esi
mov al, byte [eax]
test al, al
je 0x115eb7c
cmp al, 0x59
je 0x115eb66
cmp al, 0x79
je 0x115eb66
cmp al, 0x4e
jne 0x115eb72
or dword [ebp - 0xce4], 0x200
jmp 0x115eb7c
and dword [ebp - 0xce4], 0xfffffdff
mov eax, dword [edi + 0xb0]
cmp eax, edx
je 0x115eba8
mov al, byte [eax]
test al, al
je 0x115eba8
cmp al, 0x59
je 0x115eb98
cmp al, 0x79
je 0x115eb98
cmp al, 0x4e
jne 0x115eba1
or dword [ebp - 0xce4], 1
jmp 0x115eba8
and dword [ebp - 0xce4], 0xfffffffe
mov eax, dword [edi + 0xb4]
cmp eax, edx
je 0x115ebd7
mov al, byte [eax]
test al, al
je 0x115ebd7
cmp al, 0x59
je 0x115ebc4
cmp al, 0x79
je 0x115ebc4
cmp al, 0x4e
jne 0x115ebd1
mov edx, 2
or dword [ebp - 0xce4], edx
jmp 0x115ebdc
and dword [ebp - 0xce4], esi
mov edx, 2
mov eax, dword [edi + 0xb8]
xor esi, esi
cmp eax, esi
je 0x115ec10
mov al, byte [eax]
test al, al
je 0x115ec10
cmp al, 0x59
je 0x115ebfa
cmp al, 0x79
je 0x115ebfa
cmp al, 0x4e
jne 0x115ec06
or dword [ebp - 0xce4], 0x400
jmp 0x115ec10
and dword [ebp - 0xce4], 0xfffffbff
mov eax, dword [edi + 0xbc]
cmp eax, esi
je 0x115ec42
mov al, byte [eax]
test al, al
je 0x115ec42
cmp al, 0x59
je 0x115ec2c
cmp al, 0x79
je 0x115ec2c
cmp al, 0x4e
jne 0x115ec38
or dword [ebp - 0xce4], 0x800
jmp 0x115ec42
and dword [ebp - 0xce4], 0xfffff7ff
mov eax, dword [edi + 0xc0]
cmp eax, esi
je 0x115ec6e
mov al, byte [eax]
test al, al
je 0x115ec6e
cmp al, 0x59
je 0x115ec5e
cmp al, 0x79
je 0x115ec5e
cmp al, 0x4e
jne 0x115ec67
or dword [ebp - 0xce4], 0x40
jmp 0x115ec6e
and dword [ebp - 0xce4], 0xffffffbf
mov eax, dword [edi + 0xc4]
cmp eax, esi
je 0x115ec9a
mov al, byte [eax]
test al, al
je 0x115ec9a
cmp al, 0x59
je 0x115ec8a
cmp al, 0x79
je 0x115ec8a
cmp al, 0x4e
jne 0x115ec93
or dword [ebp - 0xce4], 4
jmp 0x115ec9a
and dword [ebp - 0xce4], 0xfffffffb
mov eax, dword [edi + 0xf0]
cmp eax, esi
je 0x115eccc
mov al, byte [eax]
test al, al
je 0x115eccc
cmp al, 0x59
je 0x115ecb6
cmp al, 0x79
je 0x115ecb6
cmp al, 0x4e
jne 0x115ecc2
or dword [ebp - 0xce4], 0x1000
jmp 0x115eccc
and dword [ebp - 0xce4], 0xffffefff
mov eax, dword [edi + 0xf4]
cmp eax, esi
je 0x115ecfe
mov al, byte [eax]
test al, al
je 0x115ecfe
cmp al, 0x59
je 0x115ece8
cmp al, 0x79
je 0x115ece8
cmp al, 0x4e
jne 0x115ecf4
or dword [ebp - 0xce4], 0x10000000
jmp 0x115ecfe
and dword [ebp - 0xce4], 0xefffffff
mov eax, dword [edi + 0xf8]
cmp eax, esi
je 0x115ed28
mov al, byte [eax]
test al, al
je 0x115ed28
cmp al, 0x59
je 0x115ed1a
cmp al, 0x79
je 0x115ed1a
cmp al, 0x4e
jne 0x115ed22
mov dword [ebp - 0xca0], edx
jmp 0x115ed28
mov dword [ebp - 0xca0], esi
test byte [ebp - 0xce4], dl
je 0x115ed43
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov dword [ecx + 0xa4c], esi
mov eax, dword [eax]
mov dword [eax + 0xa50], esi
mov eax, dword [edi + 0xfc]
cmp eax, esi
je 0x115ed75
mov al, byte [eax]
test al, al
je 0x115ed75
cmp al, 0x59
je 0x115ed5f
cmp al, 0x79
je 0x115ed5f
cmp al, 0x4e
jne 0x115ed6b
or dword [ebp - 0xce4], 0x2000
jmp 0x115ed75
and dword [ebp - 0xce4], 0xffffdfff
mov eax, dword [edi + 0x104]
cmp eax, esi
je 0x115eda7
mov al, byte [eax]
test al, al
je 0x115eda7
cmp al, 0x59
je 0x115ed91
cmp al, 0x79
je 0x115ed91
cmp al, 0x4e
jne 0x115ed9d
or dword [ebp - 0xce4], 0x10000
jmp 0x115eda7
and dword [ebp - 0xce4], 0xfffeffff
mov ecx, dword [edi + 0x108]
cmp ecx, esi
je 0x115edd9
mov al, byte [ecx]
test al, al
je 0x115edd9
cmp al, 0x59
je 0x115edc3
cmp al, 0x79
je 0x115edc3
cmp al, 0x4e
jne 0x115edcf
or dword [ebp - 0xce4], 0x100000
jmp 0x115edd9
and dword [ebp - 0xce4], 0xffefffff
mov eax, dword [edi + 0xc8]
cmp eax, esi
je 0x115ee0b
mov al, byte [eax]
test al, al
je 0x115ee0b
cmp al, 0x59
je 0x115edf5
cmp al, 0x79
je 0x115edf5
cmp al, 0x4e
jne 0x115ee01
or dword [ebp - 0xce4], 0x8000000
jmp 0x115ee0b
and dword [ebp - 0xce4], 0xf7ffffff
mov eax, dword [edi + 0xcc]
cmp eax, esi
je 0x115ee3d
mov al, byte [eax]
test al, al
je 0x115ee3d
cmp al, 0x59
je 0x115ee27
cmp al, 0x79
je 0x115ee27
cmp al, 0x4e
jne 0x115ee33
or dword [ebp - 0xce4], 0x400000
jmp 0x115ee3d
and dword [ebp - 0xce4], 0xffbfffff
mov eax, dword [edi + 0xd0]
cmp eax, esi
je 0x115ee6f
mov al, byte [eax]
test al, al
je 0x115ee6f
cmp al, 0x59
je 0x115ee59
cmp al, 0x79
je 0x115ee59
cmp al, 0x4e
jne 0x115ee65
or dword [ebp - 0xce4], 0x2000000
jmp 0x115ee6f
and dword [ebp - 0xce4], 0xfdffffff
mov eax, dword [edi + 0xd4]
cmp eax, esi
je 0x115eea1
mov al, byte [eax]
test al, al
je 0x115eea1
cmp al, 0x59
je 0x115ee8b
cmp al, 0x79
je 0x115ee8b
cmp al, 0x4e
jne 0x115ee97
or dword [ebp - 0xce4], 0x800000
jmp 0x115eea1
and dword [ebp - 0xce4], 0xff7fffff
mov eax, dword [edi + 0xd8]
cmp eax, esi
je 0x115eecd
mov al, byte [eax]
test al, al
je 0x115eecd
cmp al, 0x59
je 0x115eebd
cmp al, 0x79
je 0x115eebd
cmp al, 0x4e
jne 0x115eec6
or dword [ebp - 0xce4], 8
jmp 0x115eecd
and dword [ebp - 0xce4], 0xfffffff7
mov eax, dword [edi + 0xdc]
cmp eax, esi
je 0x115eeff
mov al, byte [eax]
test al, al
je 0x115eeff
cmp al, 0x59
je 0x115eee9
cmp al, 0x79
je 0x115eee9
cmp al, 0x4e
jne 0x115eef5
or dword [ebp - 0xce4], 0x4000000
jmp 0x115eeff
and dword [ebp - 0xce4], 0xfbffffff
mov eax, dword [edi + 0xe0]
cmp eax, esi
je 0x115ef31
mov al, byte [eax]
test al, al
je 0x115ef31
cmp al, 0x59
je 0x115ef1b
cmp al, 0x79
je 0x115ef1b
cmp al, 0x4e
jne 0x115ef27
or dword [ebp - 0xce4], 0x20000000
jmp 0x115ef31
and dword [ebp - 0xce4], 0xdfffffff
mov eax, dword [edi + 0xe4]
cmp eax, esi
je 0x115ef5d
mov al, byte [eax]
test al, al
je 0x115ef5d
cmp al, 0x59
je 0x115ef4d
cmp al, 0x79
je 0x115ef4d
cmp al, 0x4e
jne 0x115ef56
or dword [ebp - 0xca0], 1
jmp 0x115ef5d
and dword [ebp - 0xca0], 0xfffffffe
mov eax, dword [edi + 0xe8]
cmp eax, esi
je 0x115ef89
mov al, byte [eax]
test al, al
je 0x115ef89
cmp al, 0x59
je 0x115ef79
cmp al, 0x79
je 0x115ef79
cmp al, 0x4e
jne 0x115ef82
or dword [ebp - 0xca0], 4
jmp 0x115ef89
and dword [ebp - 0xca0], 0xfffffffb
mov eax, dword [edi + 0x208]
cmp eax, esi
je 0x115efb4
mov al, byte [eax]
test al, al
je 0x115efb4
cmp al, 0x59
je 0x115efa5
cmp al, 0x79
je 0x115efa5
cmp al, 0x4e
jne 0x115efad
or dword [ebp - 0xc9c], edx
jmp 0x115efb4
and dword [ebp - 0xc9c], 0xfffffffd
cmp ecx, esi
je 0x115efcc
mov al, byte [ecx]
cmp al, 0x47
je 0x115efc2
cmp al, 0x67
jne 0x115efcc
or dword [ebp - sym.imp.KERNEL32.DLL_HeapFree], 0x1100000
mov ecx, dword [edi + 0x100]
cmp ecx, esi
je 0x115f02a
mov al, byte [ecx]
cmp al, 0x59
je 0x115efe4
cmp al, 0x79
je 0x115efe4
cmp al, 0x4e
jne 0x115f00d
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x115f001
push 0x1023908
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x115f020
or dword [ebp - 0xce4], 0x4000
jmp 0x115f02a
push 0x1023900
push ecx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x115f02a
or dword [ebp - 0xce4], 0x8000
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x115f051
push 0x10238f8
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x115f051
or dword [ebp - 0xce4], 0x200000
test dword [ebp - 0xce4], 0x8000
je 0x115f071
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push 1
add edx, 0xa3c
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov ecx, dword [ebp - 0xce4]
test ecx, 0x10000
je 0x115f093
test ecx, 0xc000
je 0x115f093
or ecx, 0x100000
mov dword [ebp - 0xce4], ecx
mov eax, dword [ebp - 8]
test al, 4
jne 0x115f0ad
test byte [ebp - 0xce4], 4
je 0x115f0ad
mov dword [ebp - 0x144], 1
test eax, 0x8000
jne 0x115f0e5
test ecx, 0x8000
je 0x115f0e5
mov esi, dword [ebx + 8]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x1021410
push 0x1015b3c
push connect
push esi
mov dword [ebp - 4], 1
call fcn.010bae20
jmp 0x115f0e8
mov esi, dword [ebx + 8]
cmp dword [edi + 0xac], 0
je 0x115f132
cmp dword [edi + 0xb4], 0
je 0x115f132
mov eax, dword [edi + 0xec]
and dword [ebp - 0xcac], 0xfffff7ff
test eax, eax
je 0x115f132
mov al, byte [eax]
cmp al, 0x41
jb 0x115f120
cmp al, 0x5a
ja 0x115f120
movsx eax, al
add eax, 0x20
jmp 0x115f123
movsx eax, al
cmp eax, 0x79
jne 0x115f132
or dword [ebp - 0xcac], 0x800
mov ecx, dword [ebp - 0xce4]
cmp ecx, 0x100
jle 0x115f148
or ecx, 0x100
jmp 0x115f164
mov al, byte [ebp - 0xce4]
test al, 0x20
je 0x115f16a
test al, 2
jne 0x115f15e
or ecx, 0x40204
jmp 0x115f164
or ecx, 0x3e47
mov dword [ebp - 0xce4], ecx
test ecx, ecx
jne 0x115f177
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xce4], ecx
mov eax, dword [esi]
cmp dword [eax + 0xa54], 0
je 0x115f198
and ecx, 0xfffe3fff
mov dword [ebp - 0xce4], ecx
mov dword [eax + 0xa3c], 0
mov eax, dword [ebp - 0xce4]
cmp eax, dword [ebp - 8]
je 0x115f1b3
mov ecx, dword [ebp - 0xcac]
mov edx, dword [esi]
push ecx
push eax
push edx
call fcn.010d4950
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 0xa4c], ecx
mov eax, 0x1000
je 0x115f1d2
test dword [ebp - 0xd70], eax
jne 0x115f1d2
or dword [ebp - 0xd70], eax
mov dword [ebp - 0xe24], ecx
test dword [ebp - 0xd70], eax
je 0x115f1fa
or dword [ebp - 0xce4], 4
test byte [ebp - 0xce4], 2
jne 0x115f1fa
mov dword [ebp - 0xe24], 1
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x115f21d
mov al, byte [eax]
cmp al, 0x59
je 0x115f20b
cmp al, 0x79
jne 0x115f217
mov dword [ebp - 0x584], 1
jmp 0x115f21d
mov dword [ebp - 0x584], ecx
mov esi, dword [edi + 0x1c]
cmp esi, ecx
je 0x115f24c
push 0x105
push ecx
lea ecx, [ebp - 0x558]
push ecx
call sub.msvcrt.dll_memset
push 0x103
lea edx, [ebp - 0x558]
push esi
push edx
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
mov esi, dword [edi + 0x50]
test esi, esi
je 0x115f40e
push 0x20a
lea eax, [ebp - 0x1048]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea ecx, [ebp - 0x1678]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x20a
lea edx, [ebp - 0x1258]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x1888]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea ecx, [ebp - 0x1468]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x20a
lea edx, [ebp - 0x1a98]
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, edi
mov eax, dword [eax + 0x68]
add esp, 0x48
test eax, eax
je 0x115f2ef
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
cmp dword [edx + 0xa6c], 0
je 0x115f2ef
mov edi, eax
mov esi, 1
jmp 0x115f3a2
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x54]
mov edi, esi
test eax, eax
je 0x115f3a0
push eax
push 0x100cc3c
lea ecx, [ebp - 0x1678]
push 0x103
push ecx
call fcn.0102d9e0
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x58]
add esp, 0x10
test eax, eax
je 0x115f3a0
push eax
push 0x100cc3c
lea edx, [ebp - 0x1258]
push 0x103
push edx
call fcn.0102d9e0
mov eax, dword [esi + 0x5c]
add esp, 0x10
test eax, eax
je 0x115f3a0
push eax
push 0x100cc3c
lea eax, [ebp - 0x1888]
push 0x103
push eax
call fcn.0102d9e0
mov eax, dword [esi + 0x60]
add esp, 0x10
test eax, eax
je 0x115f3a0
push eax
push 0x100cc3c
lea ecx, [ebp - 0x1468]
push 0x103
push ecx
call fcn.0102d9e0
mov eax, dword [esi + 0x64]
add esp, 0x10
test eax, eax
je 0x115f3a0
push eax
push 0x100cc3c
lea edx, [ebp - 0x1a98]
push 0x103
push edx
call fcn.0102d9e0
add esp, 0x10
xor esi, esi
push edi
push 0x100cc3c
lea eax, [ebp - 0x1048]
push 0x103
push eax
call fcn.0102d9e0
add esp, 0x10
test esi, esi
je 0x115f3d9
mov edx, dword [ebx + 8]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1048]
push ecx
push 1
push edx
jmp 0x115f409
lea eax, [ebp - 0x1a98]
push eax
lea ecx, [ebp - 0x1468]
push ecx
lea edx, [ebp - 0x1888]
push edx
lea eax, [ebp - 0x1258]
push eax
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x1678]
push ecx
lea edx, [ebp - 0x1048]
push edx
push 1
push eax
call fcn.01064580
mov edi, dword [ebx + 0x10]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x115f52a
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x84]
xor edi, edi
mov dword [ebp - 4], 1
test eax, eax
je 0x115f446
mov edx, dword [ebx + 8]
mov ecx, dword [edx]
cmp dword [ecx + 0xa6c], edi
je 0x115f446
mov esi, eax
mov edi, 1
mov edx, dword [ebx + 8]
mov eax, dword [edx]
add eax, 0xa80
jne 0x115f456
test esi, esi
jmp 0x115f467
test esi, esi
je 0x115f469
push esi
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x115f4bd
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push 0x105
add ecx, 0xa80
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [ebx + 8]
mov eax, dword [edx]
add esp, 0xc
add eax, 0xa80
je 0x115f4a4
test esi, esi
je 0x115f4a4
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov eax, dword [ebx + 8]
push esi
push 0x1019ef4
push 0x1015ba4
push connect
push eax
call fcn.010bb0e0
mov esi, dword [ebx + 8]
test edi, edi
jne 0x115f510
mov edi, dword [ebx + 0x10]
mov edx, dword [edi + 0x70]
lea ecx, [ebp - 4]
push ecx
push edx
push esi
call fcn.0103f9e0
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 4]
push eax
push ecx
push esi
call fcn.0103f9e0
mov eax, dword [edi + 0x78]
lea edx, [ebp - 4]
push edx
push eax
push esi
call fcn.0103f9e0
mov edx, dword [edi + 0x7c]
lea ecx, [ebp - 4]
push ecx
push edx
push esi
call fcn.0103f9e0
mov ecx, dword [edi + 0x80]
lea eax, [ebp - 4]
push eax
push ecx
push esi
call fcn.0103f9e0
mov edx, dword [esi]
mov eax, dword [ebp - 4]
mov edi, dword [ebx + 0x10]
mov dword [edx + 0x10a0], eax
mov ecx, dword [esi]
mov dword [ecx + 0x10a4], 0
mov esi, dword [edi + 0x20]
test esi, esi
je 0x115f55a
push 0x105
lea edx, [ebp - 0x453]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x103
lea eax, [ebp - 0x453]
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
mov esi, dword [edi + 0x24]
test esi, esi
je 0x115f58a
push 0x105
lea ecx, [ebp - 0x34e]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x103
lea edx, [ebp - 0x34e]
push esi
push edx
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
mov esi, dword [edi + 0x44]
test esi, esi
je 0x115f5b4
push 0x41
lea eax, [ebp - 0x5c7]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x3f
lea ecx, [ebp - 0x5c7]
push esi
push ecx
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
mov esi, dword [edi + 0x48]
test esi, esi
je 0x115f5e4
push 0x105
lea edx, [ebp - 0x6cc]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x103
lea eax, [ebp - 0x6cc]
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x115f5f7
movsx ecx, byte [eax]
mov dword [ebp - 0xce0], ecx
cmp dword [edi + 0x150], 0
jne 0x115f609
cmp dword [edi + 0x158], 0
je 0x115f613
mov edx, dword [ebx + 8]
push edi
push edx
call fcn.010be3b0
mov eax, dword [edi + 0x88]
xor ecx, ecx
cmp eax, ecx
je 0x115f63c
cmp byte [eax], 0x2d
jne 0x115f686
inc eax
push eax
mov dword [ebp - 0xcb4], ecx
call fcn.0102cb40
mov dword [ebp - 0xc90], eax
jmp 0x115f6c3
mov eax, dword [edi + 0x110]
cmp eax, ecx
jne 0x115f61f
mov eax, dword [edi + 0x30]
cmp eax, ecx
je 0x115f69c
push 8
push 0x10238ec
push eax
call fcn.0102c1c0
test eax, eax
jne 0x115f69c
mov eax, dword [edi + 0x30]
push 0x10238e4
push eax
call fcn.0102c870
test eax, eax
je 0x115f69c
mov dword [ebp - 0xcb4], 0
mov dword [ebp - 0xc90], 0x98967f
jmp 0x115f6c3
push eax
call fcn.0102cb40
mov dword [ebp - 0xcb4], eax
mov dword [ebp - 0xc90], 0
mov ecx, dword [ebp - 0xcb4]
test ecx, ecx
je 0x115f6c3
mov eax, 0xc22e4507
mul ecx
shr edx, 0x10
imul edx, edx, 0x15180
mov eax, ecx
sub eax, edx
jne 0x115f6c3
dec ecx
mov dword [ebp - 0xcb4], ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x115f6f6
push 8
push 0x10238d8
push eax
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x115f6e8
cmp dword [ebp - 0xc], 0x8f36e881
jne 0x115f6f6
mov eax, 0x200
mov dword [ebp - 8], eax
mov dword [ebp - 0xce4], eax
test byte [ebp - 0xcac], 1
je 0x115f709
add dword [ebp - 0xcb4], 0x2a300
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x35b0]
test eax, eax
je 0x115f787
test dword [eax + 0x138], 0x200
jne 0x115f787
mov eax, dword [ecx]
cmp dword [eax + 0xa64], 0
jne 0x115f787
cmp dword [eax + 0xa54], 0
jne 0x115f787
cmp dword [ebx + 0x1c], 0
je 0x115f787
cmp dword [ebp - 0xcb4], 0
ja 0x115f757
cmp dword [ebp - 0xc90], 0
jbe 0x115f757
or dword [ebp - 0x798], 0x40
jmp 0x115f75e
and dword [ebp - 0x798], 0xffffffbf
cmp dword [ecx + 0x8af4], 0x1771
jb 0x115f787
mov eax, dword [ecx + 0x3590]
test eax, eax
je 0x115f780
push 1
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov dword [ebp - 0x14], 1
cmp dword [edi + 0x16c], 0
je 0x115f7c7
mov esi, dword [ebx + 8]
push 0x105
add esi, 0x134a0
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x16c]
add esp, 0xc
test esi, esi
je 0x115f7c7
test eax, eax
je 0x115f7c7
push 0x103
push eax
push esi
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x115f816
mov esi, dword [ebx + 8]
add esi, 0x15cbc
je 0x115f7eb
push eax
push esi
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x115f816
mov eax, dword [edi + 0x1a0]
test esi, esi
je 0x115f806
test eax, eax
je 0x115f806
push 0x3f
push eax
push esi
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov ecx, dword [edi + 0x1a0]
mov edx, dword [ebx + 8]
push ecx
push edx
call fcn.010be310
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0xa44], 0
je 0x115f831
lea edx, [ebp - 0xe38]
push edx
push eax
call fcn.010be190
mov eax, dword [ebp - 0xd70]
shr eax, 0x1d
push 0
and eax, 1
push eax
lea eax, [ebp - 0xe38]
push eax
push edi
call fcn.0103f880
mov esi, dword [edi + 0x118]
test esi, esi
je 0x115f878
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115f860
sub eax, edx
push eax
push esi
call fcn.0102cab0
mov dword [ebp - 0x248], eax
jmp 0x115f882
mov dword [ebp - 0x248], 0
mov eax, dword [edi + 0x114]
mov esi, dword [ebp - 0xce4]
test eax, eax
je 0x115f8c9
mov al, byte [eax]
cmp al, 0x49
je 0x115f8c1
cmp al, 0x50
je 0x115f8b3
cmp al, 0x59
je 0x115f8a8
and esi, 0xfffdffef
jmp 0x115f8f9
and esi, 0xfff9ffff
or esi, 0x10
jmp 0x115f8f9
and esi, 0xfffbffef
or esi, 0x20000
jmp 0x115f8f9
and esi, 0xfffdffef
jmp 0x115f8f3
mov eax, dword [ebp - 8]
test al, 0x10
je 0x115f8d9
or esi, 0x10
mov dword [ebp - 0xce4], esi
test eax, 0x20000
je 0x115f8ec
or esi, 0x20000
mov dword [ebp - 0xce4], esi
test eax, 0x40000
je 0x115f8ff
or esi, 0x40000
mov dword [ebp - 0xce4], esi
mov edx, dword [edi + 0x130]
test edx, edx
je 0x115f991
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115f912
sub eax, edi
push eax
push edx
call fcn.0102cab0
cmp eax, 0x65
jl 0x115f933
or dword [ebp - 0xcac], 0x200
jmp 0x115f93d
and dword [ebp - 0xcac], 0xfffffdff
cmp eax, 5
je 0x115f951
cmp eax, 0x69
je 0x115f951
cmp eax, 4
je 0x115f951
cmp eax, 0x68
jne 0x115f991
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x10]
or dword [ebp - 0xd70], 0x200
or esi, 0x80000
mov dword [ebp - 0xce4], esi
test eax, eax
je 0x115f991
push 0x10238d0
push eax
call fcn.0102c870
test eax, eax
je 0x115f991
mov edi, dword [ebx + 8]
mov edx, dword [edi]
mov dword [edx + 0xa48], 1
jmp 0x115f994
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x12c]
test esi, esi
je 0x115f9db
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115f9a6
sub eax, edx
push eax
push esi
call fcn.0102cab0
add eax, 0xb179a800
cmp dword [ebp - 0xd68], 0
mov dword [edi + 0x16118], eax
jne 0x115f9db
push 0x100f5f0
push edi
mov dword [ebp - 0xd68], eax
call fcn.011210c0
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 0x128]
test ecx, ecx
je 0x115fa03
lea eax, [edi + 0x15a65]
test eax, eax
je 0x115fa03
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
push 0x3f
push ecx
push eax
call esi
add esp, 0xc
jmp 0x115fa09
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x198]
test ecx, ecx
je 0x115fa2c
lea eax, [edi + 0x15aa6]
test eax, eax
je 0x115fa2c
push 0x103
push ecx
push eax
call esi
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x19c]
test ecx, ecx
je 0x115fa4f
lea eax, [edi + 0x15bab]
test eax, eax
je 0x115fa4f
push 0x103
push ecx
push eax
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x115fb6c
cmp byte [eax], 0
je 0x115fb6c
push eax
lea edx, [ebp - 0xcdc]
push edx
call fcn.0102c200
test eax, eax
je 0x115fb6c
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x10]
push 0
push ecx
push edi
mov dword [ebp - 0x18], 1
call fcn.010be5b0
push 0x51
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x115fad1
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
push 0x24
push eax
lea ecx, [esi + 0x29]
push ecx
call fcn.0102c460
push 0x24
lea edx, [ebp - 0xcdc]
push edx
lea eax, [esi + 4]
push eax
call fcn.0102c460
mov dword [esi], edi
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi + 0x10]
push ecx
push edi
call fcn.010be660
push 1
push edi
call fcn.010d17d0
mov edx, dword [esi + 0x10]
xor eax, eax
push 0x24
mov dword [ebp - 0xcdc], eax
mov dword [ebp - 0xcd8], eax
mov dword [ebp - 0xcd4], eax
mov dword [ebp - 0xcd0], eax
mov dword [ebp - 0xccc], eax
mov dword [ebp - 0xcc8], eax
mov dword [ebp - 0xcc4], eax
mov dword [ebp - 0xcc0], eax
mov dword [ebp - 0xcbc], eax
mov byte [ebp - 0xcb8], al
push edx
lea eax, [ebp - 0xcdc]
push eax
call fcn.0102c460
test byte [ebp - 0xa00], 0x40
jne 0x115fb6c
push 0x18
push edi
call fcn.010fc170
mov esi, eax
test esi, esi
je 0x115fb6c
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x10]
push edx
push esi
lea eax, [edi + 0x1335c]
push 0
push eax
call fcn.01110500
add esp, 0x10
push esi
call fcn.0102add0
lea ecx, [ebp - 0xe38]
push ecx
call fcn.0103f6c0
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x115fb91
cmp byte [eax], 0x59
jne 0x115fb91
or dword [ebp - 0xcac], 0x40
mov edx, dword [esi + 0x14c]
test edx, edx
je 0x115fbb9
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115fba0
sub eax, esi
push eax
push edx
call fcn.0102cab0
mov esi, dword [ebx + 0x10]
mov dword [edi + 0x91d4], eax
mov eax, dword [esi + 0x148]
test eax, eax
je 0x115fbea
cmp byte [eax], 0x4e
jne 0x115fbd4
mov dword [edi + 0x91d0], 0
jmp 0x115fbea
push 0x10238cc
push 0x1013a60
push eax
call fcn.01084bc0
mov dword [edi + 0x91d0], eax
mov edx, dword [esi + 0x138]
test edx, edx
je 0x115fc22
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115fc00
sub eax, esi
push eax
push edx
mov edx, dword [edi + 0x91e0]
push 0xffffffffffffffff
push edx
call fcn.010314c0
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0xd74], eax
mov edx, dword [esi + 0x134]
test edx, edx
je 0x115fc52
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115fc31
sub eax, esi
push eax
push edx
call fcn.0102cab0
push eax
lea eax, [ebp - 0xe38]
push eax
push edi
call fcn.0103f510
mov esi, dword [ebx + 0x10]
test dword [ebp - 0xce4], 0x2000000
je 0x115fc8a
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x115fc8a
mov ecx, dword [edi + 0x2fc10]
mov edx, dword [edi]
push ecx
push 1
push eax
push 4
push edx
call fcn.010627f0
cmp dword [ebp - 0x58], 0
jne 0x115fc8a
push 4
push edi
call fcn.01062760
mov edx, dword [esi + 0x174]
test edx, edx
je 0x115fd13
test dword [ebp - 0xce4], 0x8000
jne 0x115fcba
mov eax, dword [edi]
cmp dword [eax + 0xa3c], 0
jne 0x115fcba
cmp dword [ebp - 0x68], 0
je 0x115fd13
mov dword [ebp - 0x68], 0
jmp 0x115fd13
mov esi, dword [edi]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x35b0]
test eax, eax
je 0x115fd05
cmp dword [eax + 0xe40], 0
jne 0x115fcda
cmp dword [ecx + 0x1f2a4], 0
je 0x115fd05
test byte [eax + 0x4a8], 0x80
je 0x115fd05
push edx
call dword [sym.imp.msvcrt.dll_atol]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x35b0]
add esp, 4
cmp dword [edx + 0xe40], eax
je 0x115fd05
push 2
push ecx
call fcn.01062760
cmp dword [ebp - 0x68], 0
jne 0x115fd13
push 2
push edi
call fcn.01062760
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x168]
test edx, edx
je 0x115fdac
test dword [ebp - 0xce4], 0x10000
je 0x115fd91
mov esi, dword [edi]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x35b0]
test eax, eax
je 0x115fd7b
cmp dword [eax + 0xe48], 0
jne 0x115fd50
cmp dword [ecx + 0x1f2a4], 0
je 0x115fd7b
test byte [eax + 0x4a8], 0x80
je 0x115fd7b
push edx
call dword [sym.imp.msvcrt.dll_atol]
mov esi, dword [esi]
mov ecx, dword [esi + 0x35b0]
add esp, 4
cmp dword [ecx + 0xe48], eax
je 0x115fd7b
push 3
push esi
call fcn.01062760
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x115fd87
cmp eax, 1
jne 0x115fdac
push 3
push edi
call fcn.01062760
jmp 0x115fdac
cmp dword [ebp - 0x60], 0
je 0x115fdac
mov edx, dword [edi]
mov eax, dword [edx]
push 1
push 0
push eax
call fcn.010da9a0
mov dword [ebp - 0x60], 0
mov dword [edi + 0x2fc10], 0
mov ecx, dword [ebx + 8]
mov esi, dword [ecx]
cmp dword [esi + 0xa04], 0
mov dword [ebp - 0xc], esi
je 0x115fdce
or dword [ebp - 0xd70], 2
mov eax, dword [esi + 0xa00]
test eax, eax
je 0x115fdde
mov dword [ebp - 0xc68], eax
cmp dword [ebx + 0x14], 0
je 0x115fef6
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0xe38]
mov edi, eax
mov ecx, 0xe20
sub edx, edi
lea ebx, [ebx]
mov edi, dword [eax + edx]
cmp edi, dword [eax]
jne 0x115fe1d
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x115fe00
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
lea eax, [esi + 0x92c]
mov dword [ebp - 8], eax
test eax, eax
je 0x115fe6c
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [ebx + 0xc]
lea edx, [ebp - 0xe38]
push edx
push edi
push esi
call fcn.0115dbc0
mov eax, dword [ebp - 0xc]
mov ecx, 0x388
lea esi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x1f2b4], 1
test eax, eax
je 0x115fe6c
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp - 0x14], 0
mov edi, dword [ebx + 8]
je 0x115fe81
mov edx, dword [edi]
push 0
push 1
push edx
call fcn.010d9fe0
cmp dword [ebp - 0x18], 0
je 0x115ff1f
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3598]
push 0
push ecx
push eax
call fcn.01119c30
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x115ff1f
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push 0x10fd040
push 0
push 0
call esi
test eax, eax
je 0x115feca
push eax
mov eax, dword [edi + 0x1c8]
call eax
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push 0x110a930
push 0
push 0
call esi
test eax, eax
je 0x115ff1f
mov edx, dword [edi + 0x1c8]
push eax
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
cmp dword [ebp - 0x14], 0
mov edi, dword [ebx + 0xc]
mov ecx, 0x388
lea esi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
je 0x115ff1f
mov eax, dword [ebx + 8]
mov eax, dword [eax]
test eax, eax
je 0x115ff1f
push 0
push 1
push eax
call fcn.010d9fe0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18