Function at 0x40a8e9
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439db1
mov eax, dword fs:[0]
push eax
mov eax, 0x193d4
call fcn.004272a0
mov eax, dword [0x452c60]
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
xor ebx, ebx
push ebx
push 4
mov esi, ecx
push ebx
push ebx
push 0x4420a0
mov dword [esi + 0x1198], ebx
mov dword [esi + 0x119c], ebx
mov dword [esi + 0x11a0], ebx
mov dword [esi + 0x11b0], ebx
mov dword [esi + 0x11a8], ebx
mov dword [esi + 0x11ac], ebx
call fcn.00413bff
mov dword [eax + 0x108], ebx
mov dword [eax + 0x10c], 0x81
push dword [eax + 0x2c]
mov dword [ebp - 0x19334], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00403009
test al, al
jne 0x40a981
mov byte [esi + 0x94], 1
call fcn.00403551
lea eax, [ebp - 0x1932d]
push eax
mov edi, 0x45a178
push edi
lea ecx, [ebp - 0x1932e]
mov byte [ebp - 0x1932e], bl
mov byte [ebp - 0x1932d], bl
call fcn.00403643
cmp byte [ebp - 0x1932e], bl
jne 0x40a9bc
cmp byte [ebp - 0x1932d], bl
je 0x40aa0e
jmp 0x40a9d9
push 0x85c
push edi
xor ecx, ecx
lea edi, [ebp - 0x193c0]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
cmp byte [ebp - 0x1932d], bl
je 0x40aa02
push 0xa58
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x193a4]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
mov byte [esi + 0x94], 1
mov edi, 0x45a178
cmp byte [esi + 0x94], bl
jne 0x40af3c
call fcn.004027c8
test al, al
jne 0x40aa2a
mov byte [esi + 0x94], 1
cmp byte [esi + 0x94], bl
jne 0x40af3c
cmp dword [0x458f70], ebx
je 0x40aa60
push str.25b8df9ddd1d463ba23e9fb44a316f89
call dword [0x458f28]
pop ecx
cmp dword [0x458f70], ebx
je 0x40aa60
call dword [0x458f2c]
cmp dword [0x458f70], ebx
jne 0x40aa64
xor eax, eax
jmp 0x40aa6d
push 0x2e
call dword [0x458f58]
pop ecx
mov dword [0x458f78], eax
cmp dword [0x458f70], ebx
je 0x40aaab
push 0xc
call dword [0x458f58]
pop ecx
cmp eax, ebx
je 0x40aaab
push 0x85c
push edi
xor ecx, ecx
lea edi, [ebp - 0x1932c]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
mov byte [esi + 0x94], 1
cmp dword [0x458f78], ebx
je 0x40aacc
push str.2468
lea eax, [esi + 0x129c]
call fcn.00403e68
test eax, eax
jne 0x40aacc
call fcn.0040c15c
mov edi, 0xff
push edi
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call fcn.00425210
add esp, 0xc
push edi
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.00425210
add esp, 0xc
cmp dword [0x458f70], ebx
je 0x40ab27
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x210]
push ecx
push eax
lea eax, [ebp - 0x310]
push eax
call dword [0x458f30]
add esp, 0x10
cmp eax, ebx
jne 0x40ab2e
mov byte [esi + 0x94], 1
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x1932c]
call fcn.0040229e
or edi, 0xffffffff
push edi
push ebx
push eax
mov ecx, 0x458fcc
mov dword [ebp - 4], ebx
call fcn.0040251a
push ebx
push 1
lea ecx, [ebp - 0x1932c]
mov dword [ebp - 4], edi
call fcn.00402614
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1932c]
call fcn.0040229e
push edi
push ebx
push eax
mov ecx, 0x458fe8
mov dword [ebp - 4], 1
call fcn.0040251a
push ebx
push 1
lea ecx, [ebp - 0x1932c]
mov dword [ebp - 4], edi
call fcn.00402614
push 0x10
pop edi
cmp dword [esi + 0x12b4], edi
jb 0x40abae
mov eax, dword [esi + 0x12a0]
jmp 0x40abb4
lea eax, [esi + 0x12a0]
cmp dword [0x458f70], ebx
jne 0x40abc0
xor eax, eax
jmp 0x40abd4
push eax
push 0x458c68
push 0x458b60
call dword [0x458f64]
add esp, 0xc
mov dword [0x458f7c], eax
cmp dword [esi + 0x12b4], edi
jb 0x40abe9
mov edx, dword [esi + 0x12a0]
jmp 0x40abef
lea edx, [esi + 0x12a0]
lea eax, [esi + 0x1264]
cmp dword [eax + 0x18], edi
jb 0x40abff
mov ecx, dword [eax + 4]
jmp 0x40ac02
lea ecx, [eax + 4]
lea eax, [esi + 0x1280]
cmp dword [eax + 0x18], edi
jb 0x40ac12
mov eax, dword [eax + 4]
jmp 0x40ac15
add eax, 4
cmp dword [0x458f70], ebx
je 0x40ac2d
push edx
push ecx
push eax
call dword [0x458f34]
add esp, 0xc
cmp eax, ebx
jne 0x40ac3c
cmp dword [0x458f78], ebx
jne 0x40ac3c
mov byte [esi + 0x94], 1
push 0x70b
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x1932c]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
call fcn.004031ee
xor ecx, ecx
lea edi, [ebp - 0x1932c]
test al, al
je 0x40ac89
push 0x822
push 0x45a178
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
jmp 0x40acad
push 0x6b9
push 0x45a178
call fcn.004033b1
push ebx
push 1
lea ecx, [ebp - 0x1932c]
call fcn.00402614
mov byte [esi + 0x94], 1
push 0x7a4
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x1932c]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
cmp dword [0x458f70], ebx
je 0x40ace7
call dword [0x458f38]
cmp eax, ebx
je 0x40ace7
mov byte [esi + 0x94], 1
push 0x7a1
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x1936c]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
cmp dword [0x458f70], ebx
je 0x40ad67
call dword [0x458f3c]
cmp eax, ebx
je 0x40ad42
push 0xa28
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x19388]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
mov byte [esi + 0x94], 1
cmp dword [0x458f70], ebx
je 0x40ad67
mov edi, 0x4412a0
push edi
call dword [0x458f40]
pop ecx
cmp dword [0x458f70], ebx
je 0x40ad67
push edi
call dword [0x458f44]
pop ecx
cmp byte [esi + 0x94], bl
jne 0x40af3c
cmp dword [0x458f70], ebx
je 0x40ad85
call dword [0x458f48]
cmp eax, ebx
jne 0x40ad8c
mov byte [esi + 0x94], 1
cmp dword [0x458f70], ebx
je 0x40ad9e
call dword [0x458f4c]
cmp eax, ebx
jne 0x40ada5
mov byte [esi + 0x94], 1
cmp byte [esi + 0x94], bl
jne 0x40addd
mov ecx, esi
call fcn.0040a75b
cmp byte [esi + 0x97], bl
jne 0x40addd
push 0x84f
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x19350]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
push 0x18fff
lea eax, [ebp - 0x1930f]
push ebx
push eax
mov byte [ebp - 0x19310], bl
call fcn.00425210
add esp, 0xc
cmp dword [0x458f70], ebx
je 0x40ae1f
push 0x19000
lea eax, [ebp - 0x19310]
push eax
push 0x43fecb
push 0x440e8c
call dword [0x458f50]
add esp, 0x10
lea eax, [ebp - 0x19310]
push eax
lea ecx, [ebp - 0x1932c]
call fcn.0040229e
mov dword [ebp - 4], 2
xor ecx, ecx
lea edi, [ebp - 0x19350]
cmp dword [ebp - 0x19318], ebx
je 0x40ae84
push 0x69e
push 0x45a178
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
push 0x6a0
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x19350]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
jmp 0x40aea8
push 0x69f
push 0x45a178
call fcn.004033b1
push ebx
push 1
lea ecx, [ebp - 0x19350]
call fcn.00402614
mov byte [esi + 0x94], 1
cmp byte [esi + 0x94], bl
jne 0x40af2a
push 0xff
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00425210
add esp, 0xc
cmp dword [0x458f70], ebx
je 0x40aee7
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [0x458f54]
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x19350]
call fcn.0040229e
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4540c0
mov byte [ebp - 4], 3
call fcn.0040251a
push ebx
push 1
lea ecx, [ebp - 0x19350]
mov byte [ebp - 4], 2
call fcn.00402614
mov edi, esi
call fcn.00410b6f
push esi
call fcn.0040ff9b
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x1932c]
call fcn.00402614
cmp dword [0x458f70], ebx
je 0x40af4a
call dword [0x458f68]
cmp byte [esi + 0x94], bl
je 0x40af78
call fcn.00402d28
push 0x6d3
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x19350]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
push 0x7b6
push 0x45a178
xor ecx, ecx
lea edi, [ebp - 0x19350]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
mov dword [esi + 0x74], 2
push 3
mov esi, 0x45a178
push esi
xor ecx, ecx
lea edi, [ebp - 0x19350]
call fcn.004033b1
push ebx
push 1
mov ecx, edi
call fcn.00402614
push 4
push esi
xor ecx, ecx
lea edi, [ebp - 0x193dc]
call fcn.004033b1
xor esi, esi
push ebx
inc esi
push esi
mov ecx, edi
call fcn.00402614
mov eax, dword [ebp - 0x19334]
add eax, 0x44
cmp eax, ebx
je 0x40afdb
mov eax, dword [ebp - 0x19334]
add eax, 0x44
cmp dword [eax + 0x20], ebx
je 0x40afdb
mov eax, dword [ebp - 0x19334]
push ebx
push ebx
push 0x10
push dword [eax + 0x64]
mov dword [eax + 0x98], esi
call dword [sym.imp.USER32.dll_SendMessageA]
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.00421987
leave
ret