Function at 0x100647d0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x27c]
mov eax, dword [esi + 0x2d0]
inc ecx
test eax, eax
mov dword [esi + 0x27c], ecx
je 0x10064843
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [esi + 0x2d0]
je 0x10064843
mov eax, dword [esi + 0x480]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x10064828
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10064828
mov eax, dword [esi + 0x480]
push 0
push edi
push 0x83e7
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x4b4]
test eax, eax
jne 0x10064bd0
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, esi
mov dword [esi + 0x4b4], 1
call fcn.10062920
mov ecx, esi
call fcn.1002e669
mov edx, dword [esi + 0x134]
lea ecx, [esi + 0x134]
call dword [edx + 8]
mov edi, dword [esi + 0xf0]
xor ebx, ebx
shr edi, 2
test edi, edi
jle 0x1006488c
mov eax, dword [esi + 0xe8]
mov ecx, dword [eax + ebx*4]
call fcn.10066e10
inc ebx
cmp ebx, edi
jl 0x10064879
mov ebx, dword [esi + 0x160]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x100648be
mov ecx, dword [esi + 0x158]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x100648b9
mov edx, dword [esi + 0x16c]
push 0
mov ecx, dword [edx + edi*4]
push ecx
push 6
call dword [eax + 0x78]
inc edi
cmp edi, ebx
jl 0x1006489b
mov eax, dword [esi + 0x19c]
push ebp
lea ebp, [esi + 0x18c]
test eax, eax
jne 0x100648d3
xor edi, edi
jmp 0x100648d6
mov edi, dword [ebp + 8]
test ebx, ebx
jle 0x100648f2
mov eax, dword [edi]
test eax, eax
je 0x100648ec
cmp eax, dword [esi + 0x68]
je 0x100648ec
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add edi, 4
dec ebx
jne 0x100648da
mov ecx, ebp
call fcn.10030700
lea ecx, [esi + 0x178]
call fcn.10030700
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1a0]
call fcn.100e3a7c
lea ecx, [esi + 0x164]
call fcn.10030700
lea ecx, [esi + 0x150]
call fcn.10030700
mov edi, dword [esi + 0x1ec]
shr edi, 2
test edi, edi
jle 0x10064981
xor ebx, ebx
test edi, edi
jle 0x10064955
mov edx, dword [esi + 0x1e4]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x10064950
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc ebx
cmp ebx, edi
jl 0x1006493c
lea ecx, [esi + 0x1dc]
call fcn.10030700
lea ecx, [esi + 0x1f0]
call fcn.10030700
lea ecx, [esi + 0x1b4]
call fcn.10030700
lea ecx, [esi + 0x1c8]
call fcn.10030700
mov ebx, dword [esi + 0x258]
shr ebx, 2
test ebx, ebx
jle 0x100649c3
xor edi, edi
test ebx, ebx
jle 0x100649a9
mov eax, dword [esi + 0x250]
mov ecx, dword [eax + edi*4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc edi
cmp edi, ebx
jl 0x10064994
lea ecx, [esi + 0x248]
call fcn.10030700
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x25c]
call fcn.100e3a7c
mov ecx, esi
call fcn.10062fb0
lea ecx, [esi + 0x278]
call fcn.100e84a8
lea ecx, [esi + 0x204]
call fcn.100e463b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x220]
call fcn.100e3a7c
lea ecx, [esi + 0x234]
call fcn.10030700
mov ebp, dword [esi + 0xf0]
xor ebx, ebx
shr ebp, 2
xor edi, edi
cmp ebp, ebx
jle 0x10064a2f
mov edx, dword [esi + 0xe8]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x10064a28
mov ecx, ebx
call fcn.10066e40
push ebx
call fcn.100e4a28
add esp, 4
inc edi
cmp edi, ebp
jl 0x10064a0b
xor ebx, ebx
lea ecx, [esi + 0xe0]
call fcn.10030700
mov eax, dword [esi + 0x4ac]
cmp eax, ebx
je 0x10064a51
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x4ac], ebx
mov eax, dword [esi + 0x4b0]
cmp eax, ebx
je 0x10064a68
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x4b0], ebx
mov eax, dword [esi + 0x480]
cmp eax, ebx
je 0x10064a9c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10064a9c
push ebx
call fcn.100e4ef0
test eax, eax
je 0x10064a96
mov eax, dword [esi + 0x464]
lea ecx, [esi + 0x464]
call dword [eax + 0x58]
mov dword [esi + 0x480], ebx
mov ecx, esi
call fcn.10061720
mov ebp, dword [esi + 0x44c]
xor edi, edi
cmp ebp, ebx
jle 0x10064ac7
mov ecx, dword [esi + 0x448]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x10064ac2
mov edx, dword [ecx]
push 1
call dword [edx]
inc edi
cmp edi, ebp
jl 0x10064aaf
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x444]
call fcn.100e3d94
push 1
mov ecx, esi
call fcn.10067ed0
cmp dword [esi + 0x30c], ebx
jne 0x10064aea
xor ecx, ecx
jmp 0x10064af0
mov ecx, dword [esi + 0x304]
mov eax, dword [esi + 0x30c]
shr eax, 2
cmp eax, ebx
jle 0x10064b50
mov ebp, ecx
mov dword [esp + 0x14], eax
mov edi, dword [ebp]
cmp edi, ebx
je 0x10064b42
mov eax, dword [edi + 0xc]
mov dword [edi], ebx
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
je 0x10064b26
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x10064b39
push eax
call fcn.100e4a28
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.100e4a28
add esp, 4
mov eax, dword [esp + 0x14]
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x10064b03
lea ecx, [esi + 0x2fc]
call fcn.10030700
cmp dword [esi + 0x440], 1
jne 0x10064b70
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [esi + 0x440], ebx
mov ebp, dword [esi + 0x128]
xor edi, edi
cmp ebp, ebx
jle 0x10064b9d
mov eax, dword [esi + 0x124]
mov edx, dword [esi + 0x110]
push ebx
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + edi*4]
push ecx
push eax
mov ecx, esi
call fcn.10063960
inc edi
cmp edi, ebp
jl 0x10064b7c
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x10c]
call fcn.100e3a7c
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x120]
call fcn.100e3a7c
mov eax, dword [esi + 0x4a0]
pop ebp
cmp eax, ebx
je 0x10064bd0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov dword [esi + 0x4a0], ebx
pop edi
pop esi
pop ebx
ret 4