Function at 0x40a790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cbad
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4b03e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x38], 0
jne 0x40a853
lea ecx, [ebp - 0xa0]
call fcn.00422cf4
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xa0]
call fcn.004235a5
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x40a82c
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40a807
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004095b0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40a81f
mov eax, dword [esi]
jmp 0x40a821
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0040b890
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40a841
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004095b0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.00422ddc
cmp dword [edi + 0x68], 0
jne 0x40a91b
push 8
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.XinSuZip
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405810
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041df23
add esp, 8
lea esi, [edi + 0x58]
mov ebx, eax
cmp esi, ebx
je 0x40a8d8
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40a8b3
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004095b0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40a8cb
mov eax, dword [esi]
jmp 0x40a8cd
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0040b890
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40a8ed
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004095b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40a91b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405910
cmp dword [edi + 0x80], 0
jne 0x40a9df
push 7
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.1.0.1.6
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405810
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041df23
add esp, 8
lea esi, [edi + 0x70]
mov ebx, eax
cmp esi, ebx
je 0x40a9a3
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40a97e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004095b0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40a996
mov eax, dword [esi]
jmp 0x40a998
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.0040b890
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40a9b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004095b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x40a9df
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405910
cmp dword [ebp + 8], 0
je 0x40aa04
lea eax, [ebp - 0xa4]
mov byte [edi], 1
push eax
push 0
push edi
push 0x40a5b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168b6
mov esp, ebp
pop ebp
ret 4