Function at 0x418fe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x43fa8c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp + 0x3c]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp + 0x38]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp + 0x4c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x48]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x50]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp + 0x5c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x58]
mov dword [ebp - 0x58], edx
mov edx, dword [ebp + 0x64]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 0x60]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp + 0x6c]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x68]
mov dword [ebp - 0x88], edx
mov edx, dword [ebp + 0x74]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebp - 0x80], edx
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp + 0x78]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x7c], ecx
xor ecx, ecx
mov edx, 3
mov edi, dword [ebp + 0x34]
mov dword [ebp - 0x30], ecx
cmp dx, ax
je 0x4190a5
mov edx, 0x16
cmp dx, ax
jne 0x4190b5
push esi
call dword [sym.imp.USER32.dll_IsWindow]
xor ecx, ecx
test eax, eax
je 0x4190b5
mov dword [ebp - 0x30], esi
mov eax, 3
cmp ax, word [ebp + 0x1c]
jne 0x4190c6
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x43f124]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebx + 0x190]
push eax
mov esi, 0x80004005
mov dword [ebp - 0xc], 0x76c
call fcn.00415fe0
test eax, eax
je 0x41911b
cmp dword [eax + 4], 0
jne 0x419404
push 0x148
call fcn.0041d6ca
add esp, 4
test eax, eax
je 0x419137
mov ecx, eax
call fcn.0041d2e0
mov esi, eax
jmp 0x419139
xor esi, esi
mov ecx, 9
mov dword [ebp - 0x34], esi
cmp cx, word [ebp - 0x78]
jne 0x41917f
test edi, edi
je 0x41917f
mov edx, dword [edi]
mov ecx, dword [edx]
lea eax, [ebp - 0x18]
push eax
push 0x434520
push edi
call ecx
test eax, eax
js 0x41917f
cmp dword [ebp - 0x18], 0
je 0x41917f
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0x110]
call fcn.004168a0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00417c80
mov ecx, 9
cmp cx, word [ebp - 0x88]
jne 0x4191bd
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4191bd
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x28]
push ecx
push str.D_3
push eax
call edx
test eax, eax
js 0x4191bd
cmp dword [ebp - 0x28], 0
je 0x4191bd
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x120]
call fcn.004168a0
mov ecx, 9
cmp cx, word [ebp - 0x68]
jne 0x4191f8
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4191f8
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x24]
push ecx
push 0x435de0
push eax
call edx
test eax, eax
js 0x4191f8
cmp dword [ebp - 0x24], 0
je 0x4191f8
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x114]
call fcn.004168a0
mov ecx, 9
cmp cx, word [ebp - 0x48]
jne 0x419233
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x419233
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x2c]
push ecx
push 0x4346d4
push eax
call edx
test eax, eax
js 0x419233
cmp dword [ebp - 0x2c], 0
je 0x419233
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x118]
call fcn.004168a0
mov ecx, 9
cmp cx, word [ebp - 0x58]
jne 0x41926e
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x41926e
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x20]
push ecx
push 0x4346d4
push eax
call edx
test eax, eax
js 0x41926e
cmp dword [ebp - 0x20], 0
je 0x41926e
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x11c]
call fcn.004168a0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x140], ecx
mov dword [esi + 0x124], edx
mov edi, dword [ebx + 0x1c0]
cmp dword [esi + 0x128], edi
je 0x4192b2
test edi, edi
je 0x41929a
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4192ac
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x128], edi
mov edi, dword [ebx + 0x1c4]
cmp dword [esi + 0x12c], edi
je 0x4192e4
test edi, edi
je 0x4192cc
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x4192de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x12c], edi
lea eax, [ebx + 8]
lea ecx, [esi + 0x10c]
push eax
call fcn.00411490
mov ecx, dword [ebx + 0x20]
mov dword [esi + 0x134], ecx
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x419366
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push 0
push 0x50000000
push 0x434598
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x14]
push ecx
mov ecx, esi
mov dword [eax], edx
call fcn.0041ca20
test eax, eax
js 0x419366
push 8
call fcn.0041d6ca
mov edi, dword [ebp - 0x1c]
push 0
push 0
push eax
push 0x418f70
push 0
push 0
mov dword [eax + 4], edi
mov dword [eax], ebx
call fcn.0042076c
add esp, 0x1c
test eax, eax
je 0x419369
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419369
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
push edi
lea ecx, [ebx + 0x190]
call fcn.00418330
mov edx, dword [esi + 0x120]
push edx
mov edx, dword [esi + 0x11c]
mov eax, dword [ebx + 0x1c4]
push edx
mov edx, dword [esi + 0x118]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x114]
push edx
mov edx, dword [esi + 0x110]
push edx
mov edx, dword [esi + 0x40]
push edx
mov edx, dword [esi + 0x50]
push edx
mov edx, dword [ebp - 0x30]
push edx
push edi
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 0x20]
xor esi, esi
test eax, eax
je 0x4193c8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4193d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4193e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4193f5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x419404
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d48e
mov esp, ebp
pop ebp
ret 0x74