Function at 0x1156590
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.0117ec90
push esi
mov esi, dword [ebx + 0xc]
push edi
mov ecx, 0x388
lea edi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x144]
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
cmp eax, edx
je 0x11565e4
cmp byte [eax], 0x59
jne 0x11565e4
mov dword [ebp - 0xa2c], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [ebx + 8]
cmp eax, edx
je 0x1156604
push 0x14
push eax
mov eax, dword [esi + 0x8890]
push 0xffffffffffffffff
push eax
call fcn.0102fbe0
mov dword [ebp - 0xc], eax
jmp 0x1156607
mov dword [ebp - 0xc], edx
mov edi, dword [ebx + 0x10]
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1156626
cmp byte [eax], 0x59
jne 0x1156626
lea ecx, [ebp - 0xe38]
push ecx
push esi
call fcn.0103dd70
mov eax, dword [edi + 0x1b8]
test eax, eax
je 0x1156653
cmp dword [ebp - 0xcb4], 0
jne 0x1156645
test dword [ebp - 0xd70], 0x200
jne 0x1156653
lea edx, [ebp - 0xe38]
push edx
push eax
push esi
call fcn.01142ef0
xor edx, edx
cmp dword [ebx + 0x18], edx
je 0x11578f2
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0xce4]
mov dword [ebp - 8], ecx
cmp eax, edx
je 0x1156c5b
mov esi, dword [edi + 0xa4]
mov dword [ebp - 0xce4], edx
mov dword [ebp - 0xca0], edx
mov dword [ebp - 0xc9c], edx
cmp esi, edx
je 0x11566b8
mov cl, byte [esi]
test cl, cl
je 0x11566b8
cmp cl, 0x59
je 0x11566a6
cmp cl, 0x79
je 0x11566a6
cmp cl, 0x4e
jne 0x11566b2
mov dword [ebp - 0xce4], 0x20
jmp 0x11566b8
mov dword [ebp - 0xce4], edx
mov ecx, dword [edi + 0xa8]
cmp ecx, edx
je 0x11566ed
mov cl, byte [ecx]
test cl, cl
je 0x11566ed
cmp cl, 0x59
je 0x11566d7
cmp cl, 0x79
je 0x11566d7
cmp cl, 0x4e
jne 0x11566e3
or dword [ebp - 0xce4], 0x80
jmp 0x11566ed
and dword [ebp - 0xce4], 0xffffff7f
mov ecx, dword [edi + 0x94]
cmp ecx, edx
je 0x115671c
mov cl, byte [ecx]
test cl, cl
je 0x115671c
cmp cl, 0x59
je 0x115670c
cmp cl, 0x79
je 0x115670c
cmp cl, 0x4e
jne 0x1156715
or dword [ebp - 0xce4], 2
jmp 0x115671c
and dword [ebp - 0xce4], 0xfffffffd
mov al, byte [eax]
test al, al
je 0x1156744
cmp al, 0x59
je 0x115672e
cmp al, 0x79
je 0x115672e
cmp al, 0x4e
jne 0x115673a
or dword [ebp - 0xce4], 0x200
jmp 0x1156744
and dword [ebp - 0xce4], 0xfffffdff
mov eax, dword [edi + 0xb0]
cmp eax, edx
je 0x1156770
mov al, byte [eax]
test al, al
je 0x1156770
cmp al, 0x59
je 0x1156760
cmp al, 0x79
je 0x1156760
cmp al, 0x4e
jne 0x1156769
or dword [ebp - 0xce4], 1
jmp 0x1156770
and dword [ebp - 0xce4], 0xfffffffe
mov eax, dword [edi + 0xb4]
cmp eax, edx
je 0x11567a0
mov al, byte [eax]
test al, al
je 0x11567a0
cmp al, 0x59
je 0x115678c
cmp al, 0x79
je 0x115678c
cmp al, 0x4e
jne 0x1156799
mov edx, 2
or dword [ebp - 0xce4], edx
jmp 0x11567a5
and dword [ebp - 0xce4], 0xfffffffd
mov edx, 2
mov eax, dword [edi + 0xb8]
xor ecx, ecx
cmp eax, ecx
je 0x11567d9
mov al, byte [eax]
test al, al
je 0x11567d9
cmp al, 0x59
je 0x11567c3
cmp al, 0x79
je 0x11567c3
cmp al, 0x4e
jne 0x11567cf
or dword [ebp - 0xce4], 0x400
jmp 0x11567d9
and dword [ebp - 0xce4], 0xfffffbff
mov eax, dword [edi + 0xbc]
cmp eax, ecx
je 0x115680b
mov al, byte [eax]
test al, al
je 0x115680b
cmp al, 0x59
je 0x11567f5
cmp al, 0x79
je 0x11567f5
cmp al, 0x4e
jne 0x1156801
or dword [ebp - 0xce4], 0x800
jmp 0x115680b
and dword [ebp - 0xce4], 0xfffff7ff
mov eax, dword [edi + 0xc0]
cmp eax, ecx
je 0x1156837
mov al, byte [eax]
test al, al
je 0x1156837
cmp al, 0x59
je 0x1156827
cmp al, 0x79
je 0x1156827
cmp al, 0x4e
jne 0x1156830
or dword [ebp - 0xce4], 0x40
jmp 0x1156837
and dword [ebp - 0xce4], 0xffffffbf
mov eax, dword [edi + 0xc4]
cmp eax, ecx
je 0x1156863
mov al, byte [eax]
test al, al
je 0x1156863
cmp al, 0x59
je 0x1156853
cmp al, 0x79
je 0x1156853
cmp al, 0x4e
jne 0x115685c
or dword [ebp - 0xce4], 4
jmp 0x1156863
and dword [ebp - 0xce4], 0xfffffffb
mov eax, dword [edi + 0xf0]
cmp eax, ecx
je 0x1156895
mov al, byte [eax]
test al, al
je 0x1156895
cmp al, 0x59
je 0x115687f
cmp al, 0x79
je 0x115687f
cmp al, 0x4e
jne 0x115688b
or dword [ebp - 0xce4], 0x1000
jmp 0x1156895
and dword [ebp - 0xce4], 0xffffefff
mov eax, dword [edi + 0xf4]
cmp eax, ecx
je 0x11568c7
mov al, byte [eax]
test al, al
je 0x11568c7
cmp al, 0x59
je 0x11568b1
cmp al, 0x79
je 0x11568b1
cmp al, 0x4e
jne 0x11568bd
or dword [ebp - 0xce4], 0x10000000
jmp 0x11568c7
and dword [ebp - 0xce4], 0xefffffff
mov eax, dword [edi + 0xf8]
cmp eax, ecx
je 0x11568f1
mov al, byte [eax]
test al, al
je 0x11568f1
cmp al, 0x59
je 0x11568e3
cmp al, 0x79
je 0x11568e3
cmp al, 0x4e
jne 0x11568eb
mov dword [ebp - 0xca0], edx
jmp 0x11568f1
mov dword [ebp - 0xca0], ecx
mov esi, dword [ebx + 8]
test byte [ebp - 0xce4], dl
je 0x115690c
mov eax, dword [esi]
mov dword [eax + 0xa48], ecx
mov eax, dword [esi]
mov dword [eax + 0xa4c], ecx
mov eax, dword [edi + 0xfc]
cmp eax, ecx
je 0x115693e
mov al, byte [eax]
test al, al
je 0x115693e
cmp al, 0x59
je 0x1156928
cmp al, 0x79
je 0x1156928
cmp al, 0x4e
jne 0x1156934
or dword [ebp - 0xce4], 0x2000
jmp 0x115693e
and dword [ebp - 0xce4], 0xffffdfff
mov eax, dword [edi + 0x104]
cmp eax, ecx
je 0x1156970
mov al, byte [eax]
test al, al
je 0x1156970
cmp al, 0x59
je 0x115695a
cmp al, 0x79
je 0x115695a
cmp al, 0x4e
jne 0x1156966
or dword [ebp - 0xce4], 0x10000
jmp 0x1156970
and dword [ebp - 0xce4], 0xfffeffff
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x11569a2
mov al, byte [ecx]
test al, al
je 0x11569a2
cmp al, 0x59
je 0x115698c
cmp al, 0x79
je 0x115698c
cmp al, 0x4e
jne 0x1156998
or dword [ebp - 0xce4], 0x100000
jmp 0x11569a2
and dword [ebp - 0xce4], 0xffefffff
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x11569d4
mov al, byte [eax]
test al, al
je 0x11569d4
cmp al, 0x59
je 0x11569be
cmp al, 0x79
je 0x11569be
cmp al, 0x4e
jne 0x11569ca
or dword [ebp - 0xce4], 0x8000000
jmp 0x11569d4
and dword [ebp - 0xce4], 0xf7ffffff
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x1156a06
mov al, byte [eax]
test al, al
je 0x1156a06
cmp al, 0x59
je 0x11569f0
cmp al, 0x79
je 0x11569f0
cmp al, 0x4e
jne 0x11569fc
or dword [ebp - 0xce4], 0x400000
jmp 0x1156a06
and dword [ebp - 0xce4], 0xffbfffff
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x1156a38
mov al, byte [eax]
test al, al
je 0x1156a38
cmp al, 0x59
je 0x1156a22
cmp al, 0x79
je 0x1156a22
cmp al, 0x4e
jne 0x1156a2e
or dword [ebp - 0xce4], 0x2000000
jmp 0x1156a38
and dword [ebp - 0xce4], 0xfdffffff
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x1156a6a
mov al, byte [eax]
test al, al
je 0x1156a6a
cmp al, 0x59
je 0x1156a54
cmp al, 0x79
je 0x1156a54
cmp al, 0x4e
jne 0x1156a60
or dword [ebp - 0xce4], 0x800000
jmp 0x1156a6a
and dword [ebp - 0xce4], 0xff7fffff
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x1156a96
mov al, byte [eax]
test al, al
je 0x1156a96
cmp al, 0x59
je 0x1156a86
cmp al, 0x79
je 0x1156a86
cmp al, 0x4e
jne 0x1156a8f
or dword [ebp - 0xce4], 8
jmp 0x1156a96
and dword [ebp - 0xce4], 0xfffffff7
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x1156ac8
mov al, byte [eax]
test al, al
je 0x1156ac8
cmp al, 0x59
je 0x1156ab2
cmp al, 0x79
je 0x1156ab2
cmp al, 0x4e
jne 0x1156abe
or dword [ebp - 0xce4], 0x4000000
jmp 0x1156ac8
and dword [ebp - 0xce4], 0xfbffffff
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x1156afa
mov al, byte [eax]
test al, al
je 0x1156afa
cmp al, 0x59
je 0x1156ae4
cmp al, 0x79
je 0x1156ae4
cmp al, 0x4e
jne 0x1156af0
or dword [ebp - 0xce4], 0x20000000
jmp 0x1156afa
and dword [ebp - 0xce4], 0xdfffffff
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x1156b26
mov al, byte [eax]
test al, al
je 0x1156b26
cmp al, 0x59
je 0x1156b16
cmp al, 0x79
je 0x1156b16
cmp al, 0x4e
jne 0x1156b1f
or dword [ebp - 0xca0], 1
jmp 0x1156b26
and dword [ebp - 0xca0], 0xfffffffe
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x1156b52
mov al, byte [eax]
test al, al
je 0x1156b52
cmp al, 0x59
je 0x1156b42
cmp al, 0x79
je 0x1156b42
cmp al, 0x4e
jne 0x1156b4b
or dword [ebp - 0xca0], 4
jmp 0x1156b52
and dword [ebp - 0xca0], 0xfffffffb
mov eax, dword [edi + 0x208]
test eax, eax
je 0x1156b7d
mov al, byte [eax]
test al, al
je 0x1156b7d
cmp al, 0x59
je 0x1156b6e
cmp al, 0x79
je 0x1156b6e
cmp al, 0x4e
jne 0x1156b76
or dword [ebp - 0xc9c], edx
jmp 0x1156b7d
and dword [ebp - 0xc9c], 0xfffffffd
test ecx, ecx
je 0x1156b95
mov al, byte [ecx]
cmp al, 0x47
je 0x1156b8b
cmp al, 0x67
jne 0x1156b95
or dword [ebp - 0xce4], 0x1100000
mov ecx, dword [edi + 0x100]
test ecx, ecx
je 0x1156bf3
mov al, byte [ecx]
cmp al, 0x59
je 0x1156bad
cmp al, 0x79
je 0x1156bad
cmp al, 0x4e
jne 0x1156bd6
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x1156bca
push 0x1022588
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x1156be9
or dword [ebp - 0xce4], 0x4000
jmp 0x1156bf3
push 0x1022580
push ecx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1156bf3
or dword [ebp - 0xce4], 0x8000
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x1156c1a
push 0x1022578
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1156c1a
or dword [ebp - 0xce4], 0x200000
test dword [ebp - 0xce4], 0x8000
je 0x1156c37
mov ecx, dword [esi]
push 1
add ecx, 0xa38
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov ecx, dword [ebp - 0xce4]
test ecx, 0x10000
je 0x1156c5e
test ecx, 0xc000
je 0x1156c5e
or ecx, 0x100000
mov dword [ebp - 0xce4], ecx
jmp 0x1156c5e
mov esi, dword [ebx + 8]
mov eax, dword [ebp - 8]
test al, 4
jne 0x1156c78
test byte [ebp - 0xce4], 4
je 0x1156c78
mov dword [ebp - 0x144], 1
test eax, 0x8000
jne 0x1156cab
test ecx, 0x8000
je 0x1156cab
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0x1021890
push 0x1014dcc
push connect
push esi
mov dword [ebp - 4], 1
call fcn.010b52d0
cmp dword [edi + 0xac], 0
je 0x1156cf5
cmp dword [edi + 0xb4], 0
je 0x1156cf5
mov eax, dword [edi + 0xec]
and dword [ebp - 0xcac], 0xfffff7ff
test eax, eax
je 0x1156cf5
mov al, byte [eax]
cmp al, 0x41
jb 0x1156ce3
cmp al, 0x5a
ja 0x1156ce3
movsx eax, al
add eax, 0x20
jmp 0x1156ce6
movsx eax, al
cmp eax, 0x79
jne 0x1156cf5
or dword [ebp - 0xcac], 0x800
mov ecx, dword [ebp - 0xce4]
cmp ecx, 0x100
jle 0x1156d0b
or ecx, 0x100
jmp 0x1156d27
mov al, byte [ebp - 0xce4]
test al, 0x20
je 0x1156d2d
test al, 2
jne 0x1156d21
or ecx, 0x40204
jmp 0x1156d27
or ecx, 0x3e47
mov dword [ebp - 0xce4], ecx
test ecx, ecx
jne 0x1156d3a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xce4], ecx
mov eax, dword [esi]
cmp dword [eax + 0xa50], 0
je 0x1156d5b
and ecx, 0xfffe3fff
mov dword [ebp - 0xce4], ecx
mov dword [eax + 0xa38], 0
mov eax, dword [ebp - 0xce4]
cmp eax, dword [ebp - 8]
je 0x1156d76
mov ecx, dword [ebp - 0xcac]
mov edx, dword [esi]
push ecx
push eax
push edx
call fcn.010cf200
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 0xa48], ecx
mov eax, 0x1000
je 0x1156d95
test dword [ebp - 0xd70], eax
jne 0x1156d95
or dword [ebp - 0xd70], eax
mov dword [ebp - 0xe24], ecx
test dword [ebp - 0xd70], eax
je 0x1156dbd
or dword [ebp - 0xce4], 4
test byte [ebp - 0xce4], 2
jne 0x1156dbd
mov dword [ebp - 0xe24], 1
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1156de0
mov al, byte [eax]
cmp al, 0x59
je 0x1156dce
cmp al, 0x79
jne 0x1156dda
mov dword [ebp - 0x584], 1
jmp 0x1156de0
mov dword [ebp - 0x584], ecx
mov esi, dword [edi + 0x1c]
cmp esi, ecx
je 0x1156e0f
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 0x1156fd1
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 0x1156eb2
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
cmp dword [edx + 0xa68], 0
je 0x1156eb2
mov edi, eax
mov esi, 1
jmp 0x1156f65
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x54]
mov edi, esi
test eax, eax
je 0x1156f63
push eax
push 0x100c144
lea ecx, [ebp - 0x1678]
push 0x103
push ecx
call fcn.0102c0d0
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x58]
add esp, 0x10
test eax, eax
je 0x1156f63
push eax
push 0x100c144
lea edx, [ebp - 0x1258]
push 0x103
push edx
call fcn.0102c0d0
mov eax, dword [esi + 0x5c]
add esp, 0x10
test eax, eax
je 0x1156f63
push eax
push 0x100c144
lea eax, [ebp - 0x1888]
push 0x103
push eax
call fcn.0102c0d0
mov eax, dword [esi + 0x60]
add esp, 0x10
test eax, eax
je 0x1156f63
push eax
push 0x100c144
lea ecx, [ebp - 0x1468]
push 0x103
push ecx
call fcn.0102c0d0
mov eax, dword [esi + 0x64]
add esp, 0x10
test eax, eax
je 0x1156f63
push eax
push 0x100c144
lea edx, [ebp - 0x1a98]
push 0x103
push edx
call fcn.0102c0d0
add esp, 0x10
xor esi, esi
push edi
push 0x100c144
lea eax, [ebp - 0x1048]
push 0x103
push eax
call fcn.0102c0d0
add esp, 0x10
test esi, esi
je 0x1156f9c
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 0x1156fcc
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.01061d90
mov edi, dword [ebx + 0x10]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x11570ed
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x84]
xor edi, edi
mov dword [ebp - 4], 1
test eax, eax
je 0x1157009
mov edx, dword [ebx + 8]
mov ecx, dword [edx]
cmp dword [ecx + 0xa68], edi
je 0x1157009
mov esi, eax
mov edi, 1
mov edx, dword [ebx + 8]
mov eax, dword [edx]
add eax, 0xa7c
jne 0x1157019
test esi, esi
jmp 0x115702a
test esi, esi
je 0x115702c
push esi
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x1157080
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push 0x105
add ecx, 0xa7c
push 0
push ecx
call sub.msvcrt.dll_memset
mov edx, dword [ebx + 8]
mov eax, dword [edx]
add esp, 0xc
add eax, 0xa7c
je 0x1157067
test esi, esi
je 0x1157067
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov eax, dword [ebx + 8]
push esi
push 0x1019054
push 0x1014e34
push connect
push eax
call fcn.010b5590
mov esi, dword [ebx + 8]
test edi, edi
jne 0x11570d3
mov edi, dword [ebx + 0x10]
mov edx, dword [edi + 0x70]
lea ecx, [ebp - 4]
push ecx
push edx
push esi
call fcn.0103e0f0
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 4]
push eax
push ecx
push esi
call fcn.0103e0f0
mov eax, dword [edi + 0x78]
lea edx, [ebp - 4]
push edx
push eax
push esi
call fcn.0103e0f0
mov edx, dword [edi + 0x7c]
lea ecx, [ebp - 4]
push ecx
push edx
push esi
call fcn.0103e0f0
mov ecx, dword [edi + 0x80]
lea eax, [ebp - 4]
push eax
push ecx
push esi
call fcn.0103e0f0
mov edx, dword [esi]
mov eax, dword [ebp - 4]
mov edi, dword [ebx + 0x10]
mov dword [edx + 0x109c], eax
mov ecx, dword [esi]
mov dword [ecx + 0x10a0], 0
mov esi, dword [edi + 0x20]
test esi, esi
je 0x115711d
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 0x115714d
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 0x1157177
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 0x11571a7
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 0x11571ba
movsx ecx, byte [eax]
mov dword [ebp - 0xce0], ecx
cmp dword [edi + 0x150], 0
jne 0x11571cc
cmp dword [edi + 0x158], 0
je 0x11571d6
mov edx, dword [ebx + 8]
push edi
push edx
call fcn.010b88e0
mov eax, dword [edi + 0x88]
xor ecx, ecx
cmp eax, ecx
je 0x11571ff
cmp byte [eax], 0x2d
jne 0x1157249
inc eax
push eax
mov dword [ebp - 0xcb4], ecx
call fcn.0102b230
mov dword [ebp - 0xc90], eax
jmp 0x1157286
mov eax, dword [edi + 0x110]
cmp eax, ecx
jne 0x11571e2
mov eax, dword [edi + 0x30]
cmp eax, ecx
je 0x115725f
push 8
push 0x102256c
push eax
call fcn.0102a920
test eax, eax
jne 0x115725f
mov eax, dword [edi + 0x30]
push 0x1022564
push eax
call fcn.0102af60
test eax, eax
je 0x115725f
mov dword [ebp - 0xcb4], 0
mov dword [ebp - 0xc90], 0x98967f
jmp 0x1157286
push eax
call fcn.0102b230
mov dword [ebp - 0xcb4], eax
mov dword [ebp - 0xc90], 0
mov ecx, dword [ebp - 0xcb4]
test ecx, ecx
je 0x1157286
mov eax, 0xc22e4507
mul ecx
shr edx, 0x10
imul edx, edx, 0x15180
mov eax, ecx
sub eax, edx
jne 0x1157286
dec ecx
mov dword [ebp - 0xcb4], ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x11572b9
push 8
push 0x1022558
push eax
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x11572ab
cmp dword [ebp - 0xc], 0x8f36e881
jne 0x11572b9
mov eax, 0x200
mov dword [ebp - 8], eax
mov dword [ebp - 0xce4], eax
test byte [ebp - 0xcac], 1
je 0x11572cc
add dword [ebp - 0xcb4], 0x2a300
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x3550]
test eax, eax
je 0x1157352
test dword [eax + 0x138], 0x200
jne 0x1157352
mov eax, dword [ecx]
cmp dword [eax + 0xa60], 0
jne 0x1157352
cmp dword [eax + 0xa50], 0
jne 0x1157352
cmp dword [ebx + 0x1c], 0
je 0x1157352
cmp dword [ebp - 0xcb4], 0
ja 0x115731a
cmp dword [ebp - 0xc90], 0
jbe 0x115731a
or dword [ebp - 0x798], 0x40
jmp 0x1157321
and dword [ebp - 0x798], 0xffffffbf
cmp dword [ecx + 0x81a4], 0x1771
jb 0x1157352
mov eax, dword [ecx + 0x3530]
test eax, eax
je 0x1157343
push 1
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push 0
push 1
push edx
call fcn.010d5450
cmp dword [edi + 0x16c], 0
je 0x1157392
mov esi, dword [ebx + 8]
push 0x105
add esi, 0x12b50
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x16c]
add esp, 0xc
test esi, esi
je 0x1157392
test eax, eax
je 0x1157392
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 0x11573e1
mov esi, dword [ebx + 8]
add esi, 0x1536c
je 0x11573b6
push eax
push esi
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x11573e1
mov eax, dword [edi + 0x1a0]
test esi, esi
je 0x11573d1
test eax, eax
je 0x11573d1
push 0x3f
push eax
push esi
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov eax, dword [edi + 0x1a0]
mov ecx, dword [ebx + 8]
push eax
push ecx
call fcn.010b8840
mov eax, dword [ebx + 8]
mov edx, dword [eax]
cmp dword [edx + 0xa40], 0
je 0x11573fc
lea ecx, [ebp - 0xe38]
push ecx
push eax
call fcn.010b86c0
mov eax, dword [ebp - 0xd70]
push 0
shr eax, 0x1d
and eax, 1
push eax
lea edx, [ebp - 0xe38]
push edx
push edi
call fcn.0103df90
mov esi, dword [edi + 0x118]
test esi, esi
je 0x115743f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1157427
sub eax, edx
push eax
push esi
call fcn.0102b1a0
mov dword [ebp - 0x248], eax
jmp 0x1157449
mov dword [ebp - 0x248], 0
mov eax, dword [edi + 0x114]
mov esi, dword [ebp - 0xce4]
test eax, eax
je 0x1157490
mov al, byte [eax]
cmp al, 0x49
je 0x1157488
cmp al, 0x50
je 0x115747a
cmp al, 0x59
je 0x115746f
and esi, 0xfffdffef
jmp 0x11574c0
and esi, 0xfff9ffff
or esi, 0x10
jmp 0x11574c0
and esi, 0xfffbffef
or esi, 0x20000
jmp 0x11574c0
and esi, 0xfffdffef
jmp 0x11574ba
mov eax, dword [ebp - 8]
test al, 0x10
je 0x11574a0
or esi, 0x10
mov dword [ebp - 0xce4], esi
test eax, 0x20000
je 0x11574b3
or esi, 0x20000
mov dword [ebp - 0xce4], esi
test eax, 0x40000
je 0x11574c6
or esi, 0x40000
mov dword [ebp - 0xce4], esi
mov edx, dword [edi + 0x130]
test edx, edx
je 0x115755f
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11574e0
sub eax, edi
push eax
push edx
call fcn.0102b1a0
cmp eax, 0x65
jl 0x1157501
or dword [ebp - 0xcac], 0x200
jmp 0x115750b
and dword [ebp - 0xcac], 0xfffffdff
cmp eax, 5
je 0x115751f
cmp eax, 0x69
je 0x115751f
cmp eax, 4
je 0x115751f
cmp eax, 0x68
jne 0x115755f
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x10]
or dword [ebp - 0xd70], 0x200
or esi, 0x80000
mov dword [ebp - 0xce4], esi
test eax, eax
je 0x115755f
push 0x1022550
push eax
call fcn.0102af60
test eax, eax
je 0x115755f
mov edi, dword [ebx + 8]
mov ecx, dword [edi]
mov dword [ecx + 0xa44], 1
jmp 0x1157562
mov edi, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + 0x12c]
test esi, esi
je 0x11575a9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1157574
sub eax, edx
push eax
push esi
call fcn.0102b1a0
add eax, 0xb179a800
cmp dword [ebp - 0xd68], 0
mov dword [edi + 0x157c8], eax
jne 0x11575a9
push 0x100eaa0
push edi
mov dword [ebp - 0xd68], eax
call fcn.0111ec70
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x128]
test ecx, ecx
je 0x11575d1
lea eax, [edi + 0x15115]
test eax, eax
je 0x11575d1
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
push 0x3f
push ecx
push eax
call esi
add esp, 0xc
jmp 0x11575d7
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 0x198]
test ecx, ecx
je 0x11575fa
lea eax, [edi + 0x15156]
test eax, eax
je 0x11575fa
push 0x103
push ecx
push eax
call esi
add esp, 0xc
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x19c]
test ecx, ecx
je 0x115761d
lea eax, [edi + 0x1525b]
test eax, eax
je 0x115761d
push 0x103
push ecx
push eax
call esi
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x115773a
cmp byte [eax], 0
je 0x115773a
push eax
lea ecx, [ebp - 0xcdc]
push ecx
call fcn.0102a960
test eax, eax
je 0x115773a
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
push 0
push eax
push edi
mov dword [ebp - 0x14], 1
call fcn.010b8ae0
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 0x115769f
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x10]
push 0x24
push edx
lea eax, [esi + 0x29]
push eax
call fcn.0102abc0
push 0x24
lea ecx, [ebp - 0xcdc]
push ecx
lea edx, [esi + 4]
push edx
call fcn.0102abc0
mov dword [esi], edi
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x10]
push eax
push edi
call fcn.010b8b90
push 1
push edi
call fcn.010cbfc0
mov ecx, dword [esi + 0x10]
xor eax, eax
push 0x24
push ecx
lea edx, [ebp - 0xcdc]
push edx
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
call fcn.0102abc0
test byte [ebp - 0xa00], 0x40
jne 0x115773a
push 0x18
push edi
call fcn.010f6400
mov esi, eax
test esi, esi
je 0x115773a
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x10]
push ecx
push esi
lea edx, [edi + 0x12a0c]
push 0
push edx
call fcn.0110a0f0
add esp, 0x10
push esi
call fcn.0102d700
lea eax, [ebp - 0xe38]
push eax
call fcn.0103ddd0
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x115775f
cmp byte [eax], 0x59
jne 0x115775f
or dword [ebp - 0xcac], 0x40
mov edx, dword [esi + 0x14c]
test edx, edx
je 0x1157789
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1157770
sub eax, esi
push eax
push edx
call fcn.0102b1a0
mov esi, dword [ebx + 0x10]
mov dword [edi + 0x8884], eax
mov eax, dword [esi + 0x148]
test eax, eax
je 0x11577ba
cmp byte [eax], 0x4e
jne 0x11577a4
mov dword [edi + 0x8880], 0
jmp 0x11577ba
push 0x102254c
push 0x1012d10
push eax
call fcn.0107f840
mov dword [edi + 0x8880], eax
mov edx, dword [esi + 0x138]
test edx, edx
je 0x11577f2
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11577d0
mov ecx, dword [edi + 0x8890]
sub eax, esi
push eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.0102fbe0
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0xd74], eax
mov edx, dword [esi + 0x134]
test edx, edx
je 0x1157822
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1157801
sub eax, esi
push eax
push edx
call fcn.0102b1a0
push eax
lea edx, [ebp - 0xe38]
push edx
push edi
call fcn.0103dc20
mov esi, dword [ebx + 0x10]
test dword [ebp - 0xce4], 0x2000000
je 0x1157853
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x1157853
push 1
push eax
mov eax, dword [edi]
push 4
push eax
call fcn.01060020
cmp dword [ebp - 0x58], 0
jne 0x1157853
push 4
push edi
call fcn.0105ffa0
mov eax, dword [esi + 0x174]
test eax, eax
je 0x115789e
test dword [ebp - 0xce4], 0x8000
jne 0x1157883
mov ecx, dword [edi]
cmp dword [ecx + 0xa38], 0
jne 0x1157883
cmp dword [ebp - 0x68], 0
je 0x115789e
mov dword [ebp - 0x68], 0
jmp 0x115789e
mov edx, dword [edi]
push 1
push eax
push 2
push edx
call fcn.01060020
cmp dword [ebp - 0x68], 0
jne 0x115789e
push 2
push edi
call fcn.0105ffa0
mov eax, dword [esi + 0x168]
test eax, eax
je 0x11578f2
test dword [ebp - 0xce4], 0x10000
je 0x11578d7
push 1
push eax
mov eax, dword [edi]
push 3
push eax
call fcn.01060020
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x11578cd
cmp eax, 1
jne 0x11578f2
push 3
push edi
call fcn.0105ffa0
jmp 0x11578f2
cmp dword [ebp - 0x60], 0
je 0x11578f2
mov ecx, dword [edi]
mov edx, dword [ecx]
push 1
push 0
push edx
call fcn.010d5e00
mov dword [ebp - 0x60], 0
mov eax, dword [ebx + 8]
mov esi, dword [eax]
cmp dword [esi + 0xa00], 0
mov dword [ebp - 0xc], esi
je 0x115790a
or dword [ebp - 0xd70], 2
mov eax, dword [esi + 0x9fc]
test eax, eax
je 0x115791a
mov dword [ebp - 0xc68], eax
cmp dword [ebx + 0x14], 0
je 0x1157a16
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0xe38]
mov edi, eax
mov ecx, 0xe20
sub edx, edi
mov edi, dword [eax + edx]
cmp edi, dword [eax]
jne 0x1157953
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x1157936
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
lea eax, [esi + 0x9b4]
mov dword [ebp - 8], eax
test eax, eax
je 0x11579a2
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [ebx + 0xc]
lea ecx, [ebp - 0xe38]
push ecx
push edi
push esi
call fcn.011557b0
mov edx, dword [ebp - 0xc]
mov ecx, 0x388
lea esi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov dword [eax + 0x1e5e8], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x11579a2
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp - 0x14], 0
mov edi, dword [ebx + 8]
je 0x1157a26
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3538]
push 0
push ecx
push eax
call fcn.01117a70
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1157a26
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push 0x10f72d0
push 0
push 0
call esi
test eax, eax
je 0x11579ea
push eax
mov eax, dword [edi + 0x1c0]
call eax
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push 0x1104980
push 0
push 0
call esi
test eax, eax
je 0x1157a26
mov edx, dword [edi + 0x1c0]
push eax
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov edi, dword [ebx + 0xc]
mov ecx, 0x388
lea esi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18