Function at 0x412580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0xaaaaa4e0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
sub ecx, 0x7c448c89
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jg 0x412877
jmp 0x4125b5
mov eax, dword [ebp - 0x20]
sub eax, 0x70d9246e
mov dword [ebp - 0x28], eax
jg 0x41285e
jmp 0x4125cb
mov eax, dword [ebp - 0x20]
sub eax, 0x639ad6e6
mov dword [ebp - 0x2c], eax
jg 0x412845
jmp 0x4125e1
mov eax, dword [ebp - 0x20]
sub eax, 0xa0d4ad13
mov dword [ebp - 0x30], eax
jg 0x41260d
jmp 0x4125f7
mov eax, dword [ebp - 0x20]
sub eax, 0x9b29db52
mov dword [ebp - 0x34], eax
je 0x412983
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x4852a536
mov dword [ebp - 0x38], eax
jg 0x41282c
jmp 0x412623
mov eax, dword [ebp - 0x20]
sub eax, 0x46219d8c
mov dword [ebp - 0x3c], eax
jg 0x412813
jmp 0x412639
mov eax, dword [ebp - 0x20]
sub eax, 0x7afb158
mov dword [ebp - 0x40], eax
jg 0x4127fa
jmp 0x41264f
mov eax, dword [ebp - 0x20]
sub eax, 0xf174fac0
mov dword [ebp - 0x44], eax
jg 0x4127e1
jmp 0x412665
mov eax, dword [ebp - 0x20]
sub eax, 0xa26fca9e
mov dword [ebp - 0x48], eax
jg 0x412691
jmp 0x41267b
mov eax, dword [ebp - 0x20]
sub eax, 0xa0d4ad14
mov dword [ebp - 0x4c], eax
je 0x412990
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xaaaaa4df
mov dword [ebp - 0x50], eax
jg 0x4126bd
jmp 0x4126a7
mov eax, dword [ebp - 0x20]
sub eax, 0xa26fca9f
mov dword [ebp - 0x54], eax
je 0x412b37
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xb068d470
mov dword [ebp - 0x58], eax
jg 0x4126e9
jmp 0x4126d3
mov eax, dword [ebp - 0x20]
sub eax, 0xaaaaa4e0
mov dword [ebp - 0x5c], eax
je 0x412895
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xb73eecf0
mov dword [ebp - 0x60], eax
jg 0x412715
jmp 0x4126ff
mov eax, dword [ebp - 0x20]
sub eax, 0xb068d471
mov dword [ebp - 0x64], eax
je 0x412b0b
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xccc081c1
mov dword [ebp - 0x68], eax
jg 0x412741
jmp 0x41272b
mov eax, dword [ebp - 0x20]
sub eax, 0xb73eecf1
mov dword [ebp - 0x6c], eax
je 0x4129ef
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xd158a7dc
mov dword [ebp - 0x70], eax
jg 0x41276d
jmp 0x412757
mov eax, dword [ebp - 0x20]
sub eax, 0xccc081c2
mov dword [ebp - 0x74], eax
je 0x412a29
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xd69b3fc5
mov dword [ebp - 0x78], eax
jg 0x412799
jmp 0x412783
mov eax, dword [ebp - 0x20]
sub eax, 0xd158a7dd
mov dword [ebp - 0x7c], eax
je 0x41295b
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xd69b3fc6
mov dword [ebp - 0x80], eax
je 0x4129d6
jmp 0x4127af
mov eax, dword [ebp - 0x20]
sub eax, 0xe5705fc7
mov dword [ebp - 0x84], eax
je 0x4129e2
jmp 0x4127c8
mov eax, dword [ebp - 0x20]
sub eax, 0xe5f5e527
mov dword [ebp - 0x88], eax
je 0x412aff
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0xf174fac1
mov dword [ebp - 0x8c], eax
je 0x4129a9
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x7afb159
mov dword [ebp - 0x90], eax
je 0x412a0e
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x46219d8d
mov dword [ebp - 0x94], eax
je 0x412a56
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x4852a537
mov dword [ebp - 0x98], eax
je 0x4128a2
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x639ad6e7
mov dword [ebp - 0x9c], eax
je 0x41299c
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x70d9246f
mov dword [ebp - 0xa0], eax
je 0x412976
jmp 0x412890
mov eax, dword [ebp - 0x20]
sub eax, 0x7c448c8a
mov dword [ebp - 0xa4], eax
je 0x412a4e
jmp 0x412890
jmp 0x412b47
mov eax, 0x4852a537
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, 0
lea ecx, [0x411d70]
mov edx, 4
mov dword [ebp - 0xa8], eax
mov eax, edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb0], ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [eax]
add edx, 0x2c
mov esi, dword [eax]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0xb0]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
call fcn.0043e937
add esp, 0x18
mov ecx, 0xd158a7dd
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
sete bl
and bl, 1
mov byte [ebp - 0xe], bl
mov dword [ebp - 0x18], ecx
jmp 0x412b47
mov eax, 0x639ad6e7
mov ecx, 0x70d9246f
mov dl, byte [ebp - 0xe]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, 0x9b29db52
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, 0xa0d4ad14
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov dword [ebp - 0x18], 0xe5705fc7
jmp 0x412b47
mov eax, 0xf174fac1
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
mov ecx, 0xd69b3fc6
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xb8], eax
jmp 0x412b47
mov dword [ebp - 0x18], 0xe5705fc7
jmp 0x412b47
mov eax, 0xb73eecf1
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, 0x7afb159
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
setne dl
and dl, 1
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, 0x7c448c8a
mov ecx, 0xccc081c2
mov dl, byte [ebp - 0xd]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412b47
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
mov dword [ebp - 0x18], 0x7c448c8a
mov dword [ebp - 0xbc], eax
jmp 0x412b47
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0
lea ecx, [0x411d70]
mov edx, 4
mov dword [ebp - 0xc0], eax
mov eax, edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [eax], 0
mov esi, dword [ecx]
add esi, 0x2c
mov edi, dword [ecx]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0xc8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov dword [ebp - 0xd0], eax
call fcn.0043e937
add esp, 0x18
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov dword [ebp - 0x18], 0x4852a537
jmp 0x412b47
mov dword [ebp - 0x18], 0x9b29db52
jmp 0x412b47
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
mov dword [ebp - 0x18], 0xf174fac1
mov dword [ebp - 0xd4], eax
jmp 0x412b47
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xb73eecf1
mov dword [ebp - 0xd8], eax
jmp 0x412599