Function at 0x4261c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [0x64efec]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2c8]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
xor ebx, ebx
cmp eax, ebx
je 0x42623c
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x426236
mov eax, dword [esi + 0x2c8]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x2c8]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c8]
cmp ecx, ebx
je 0x426236
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x2c8], ebx
mov eax, dword [esi + 0x2cc]
cmp eax, ebx
je 0x426299
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 8], 0x103
jne 0x426293
mov eax, dword [esi + 0x2cc]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x2cc]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2cc]
cmp ecx, ebx
je 0x426293
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x2cc], ebx
mov eax, dword [esi + 0x2d0]
cmp eax, ebx
je 0x4262f6
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0xc], 0x103
jne 0x4262f0
mov eax, dword [esi + 0x2d0]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x2d0]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2d0]
cmp ecx, ebx
je 0x4262f0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x2d0], ebx
mov eax, dword [esi + 0x2d4]
cmp eax, ebx
je 0x426353
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov edx, dword [eax + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x42634d
mov eax, dword [esi + 0x2d4]
mov ecx, dword [eax + 0x2c]
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x2d4]
mov eax, dword [edx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2d4]
cmp ecx, ebx
je 0x42634d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x2d4], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x42636c
push eax
call fcn.00445171
add esp, 4
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x9c], ebx
cmp eax, ebx
je 0x42638b
push eax
call fcn.00445171
add esp, 4
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x4263a4
push eax
call fcn.00545dfd
add esp, 4
mov dword [esi + 0x98], ebx
mov ecx, dword [esi + 0x188]
cmp ecx, ebx
je 0x4263ca
cmp dword [ecx - 4], ebx
lea eax, [ecx - 4]
je 0x4263c1
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 3
call eax
jmp 0x4263ca
push eax
call fcn.00445171
add esp, 4
mov ecx, dword [esi + 0x18c]
cmp ecx, ebx
je 0x4263dd
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x190]
cmp ecx, ebx
je 0x4263f0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x194]
cmp ecx, ebx
je 0x426403
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x198]
cmp ecx, ebx
je 0x426416
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [0x64de2c]
cmp ecx, ebx
je 0x42644a
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x42643b
push eax
call fcn.00445171
mov ecx, dword [0x64de2c]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de2c], ebx
mov ecx, dword [0x64de30]
cmp ecx, ebx
je 0x42647e
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x42646f
push eax
call fcn.00445171
mov ecx, dword [0x64de30]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de30], ebx
mov ecx, dword [0x64de34]
cmp ecx, ebx
je 0x4264b2
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x4264a3
push eax
call fcn.00445171
mov ecx, dword [0x64de34]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de34], ebx
mov ecx, dword [0x64de38]
cmp ecx, ebx
je 0x4264e6
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x4264d7
push eax
call fcn.00445171
mov ecx, dword [0x64de38]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de38], ebx
mov ecx, dword [0x64de3c]
cmp ecx, ebx
je 0x42651a
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x42650b
push eax
call fcn.00445171
mov ecx, dword [0x64de3c]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de3c], ebx
mov ecx, dword [0x64de40]
cmp ecx, ebx
je 0x42654e
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x42653f
push eax
call fcn.00445171
mov ecx, dword [0x64de40]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de40], ebx
mov ecx, dword [0x64de44]
cmp ecx, ebx
je 0x426582
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x426573
push eax
call fcn.00445171
mov ecx, dword [0x64de44]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de44], ebx
mov ecx, dword [0x64de48]
cmp ecx, ebx
je 0x4265b6
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x4265a7
push eax
call fcn.00445171
mov ecx, dword [0x64de48]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de48], ebx
mov ecx, dword [0x64ddd8]
cmp ecx, ebx
je 0x4265f6
call fcn.0043efa0
lea esi, [ecx + 4]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4265db
push eax
call fcn.00445171
add esp, 4
mov dword [esi], ebx
push edi
call fcn.00445171
mov ecx, dword [0x64ddd8]
push ecx
call fcn.00445171
add esp, 8
mov dword [0x64ddd8], ebx
mov ecx, dword [0x64de4c]
cmp ecx, ebx
je 0x42662a
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
cmp eax, ebx
je 0x42661b
push eax
call fcn.00445171
mov ecx, dword [0x64de4c]
add esp, 4
mov dword [esi], ebx
push ecx
call fcn.00445171
add esp, 4
mov dword [0x64de4c], ebx
mov eax, dword [0x64f018]
mov ecx, dword [0x64f014]
mov edx, eax
sub edx, ecx
sar edx, 2
xor esi, esi
test edx, edx
je 0x426667
mov edx, dword [ecx + esi*4]
cmp edx, ebx
je 0x42665b
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x64f018]
mov ecx, dword [0x64f014]
mov edx, eax
sub edx, ecx
inc esi
sar edx, 2
cmp esi, edx
jb 0x426642
mov esi, ecx
cmp esi, eax
je 0x42668e
mov ecx, eax
sub ecx, eax
sar ecx, 2
lea edi, [ecx*4]
push edi
push eax
push esi
call fcn.00544b60
add esp, 0xc
add edi, esi
mov dword [0x64f018], edi
mov eax, dword [0x64dba4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x4266a6
push eax
call esi
mov dword [0x64dba4], ebx
mov eax, dword [0x64dba8]
cmp eax, ebx
je 0x4266b8
push eax
call esi
mov dword [0x64dba8], ebx
mov eax, dword [0x64ddf4]
cmp eax, ebx
je 0x4266ce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x64ddf4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret