Function at 0x4335a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482fda
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x496004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], edi
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
push 8
mov dword [ebp - 0xa8], 0
mov byte [eax], 0
call fcn.00436ba1
xor ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0
add esp, 4
mov dword [ebp - 0xa0], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
push 8
mov dword [ebp - 0x9c], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
add esp, 4
mov dword [ebp - 0x94], 3
mov word [eax], cx
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 8
movlpd qword [ebp - 0x6c], xmm0
mov word [ebp - 0x64], cx
mov dword [ebp - 0x60], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
add esp, 4
mov dword [ebp - 0x58], 3
mov word [eax], cx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.0042c5f0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x20], 0
call fcn.00436ba1
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
add esp, 4
mov dword [ebp - 0x18], 3
mov word [eax], cx
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 7
mov dword [ebp - 0xac], esi
lea edx, [ecx + 2]
cmp edi, eax
je 0x43374d
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0xa0]
jbe 0x433726
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
add esp, 4
mov edi, eax
push dword [ebp - 0xa8]
call fcn.00436a37
add esp, 4
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa0], esi
jmp 0x43372c
mov edi, dword [ebp - 0xa8]
lea eax, [esi*2 + 2]
mov dword [ebp - 0xa4], esi
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push edi
call fcn.00441fd0
add esp, 0xc
mov edx, 2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x9c]
cmp edi, eax
je 0x4337c2
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0x94]
jbe 0x43379e
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
add esp, 4
mov dword [ebp + 0x18], eax
push dword [ebp - 0x9c]
call fcn.00436a37
mov ecx, dword [ebp + 0x18]
add esp, 4
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x94], esi
jmp 0x4337a9
mov eax, dword [ebp - 0x9c]
mov ecx, eax
mov dword [ebp + 0x18], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x98], esi
push eax
push dword [edi]
push ecx
call fcn.00441fd0
add esp, 0xc
push 0xf0
call fcn.00436c23
add esp, 4
mov dword [ebp + 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00433c80
mov esi, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x90], esi
test esi, esi
je 0x4337f3
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x433803
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x8c], esi
je 0x4339a5
mov eax, dword [ebp - 0x90]
mov dword [ebp + 8], 0
mov dword [eax + 0xd8], 1
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 9
push eax
push 0
lea eax, [ebp - 0xac]
push eax
push 0x433580
push 0
push 0
call fcn.004428b5
mov esi, eax
add esp, 0x18
mov dword [ebp + 8], esi
test esi, esi
jne 0x433871
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
je 0x433871
jmp 0x433a7f
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
add eax, 0x68
mov dword [ebp + 0x10], eax
lea ecx, [eax + 0xc]
cmp edx, ecx
je 0x4338ea
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx + 8]
jbe 0x4338d0
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0x18]
push dword [eax + 0x74]
call fcn.00436a37
mov ecx, dword [ebp + 0x10]
add esp, 4
mov eax, dword [ebp - 0x14]
add ecx, 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx], edi
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [edx]
push dword [ecx]
call fcn.00441fd0
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [0x498871], 0
je 0x43390b
push eax
push 0x40c570
push 0
push 0x61
push dword [0x49897c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x43393f
push 4
call fcn.00436ba1
mov edi, eax
add esp, 4
mov byte [edi], 0
push dword [ebp + 0x10]
push 0x40c570
push 0
push 0x61
push dword [0x49897c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push edi
mov byte [ebp - 4], 9
call fcn.00436a37
add esp, 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 0xce4
lea ecx, [ebp - 0xbc]
call fcn.00411a30
mov byte [ebp - 4], 0xd
mov edi, dword [ebp + 0x18]
push dword [ebp - 0xbc]
lea ecx, [edi + 0x6c]
call fcn.00430560
push dword [ebp - 0xbc]
call fcn.00436a37
add esp, 4
push 1
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x43399f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43399f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 7
jmp 0x4339b0
lea ecx, [ebp - 0xac]
call fcn.00433020
lea eax, [ebp - 0x20]
cmp eax, ebx
je 0x433a04
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebx + 8]
jbe 0x4339ec
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
add esp, 4
mov esi, eax
push dword [ebx]
call fcn.00436a37
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
push dword [ebp - 0x20]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
cmp dword [ebx + 4], 0
jne 0x433a6b
mov eax, dword [ebp - 0x90]
add eax, 0xe4
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x433a6b
mov edi, dword [eax + 4]
cmp edi, dword [ebx + 8]
jbe 0x433a51
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
add esp, 4
mov esi, eax
push dword [ebx]
call fcn.00436a37
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x24]
mov al, byte [eax + 0xe0]
mov byte [ecx], al
push dword [ebp - 0x20]
call fcn.00436a37
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.004324b0
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x433aac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x9c]
call fcn.00436a37
add esp, 4
push dword [ebp - 0xa8]
call fcn.00436a37
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14