Function at 0x44cd90
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x3e8
push ebx
push ebp
push esi
lea eax, [esp + 0x360]
push edi
mov dword [esp + 0x20], ecx
push eax
mov dword [esp + 0x368], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x44d2df
mov eax, dword [esp + 0x374]
cmp eax, 2
jne 0x44d0f0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x6be4dc
call esi
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x44d2df
push 0x6c13b4
call esi
test eax, eax
mov dword [esp + 0x18], eax
je 0x44d2df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6be4cc
push ebx
call esi
push 0x6be4b8
push ebx
mov edi, eax
call esi
mov ebp, eax
push 0x6c139c
push ebx
mov dword [esp + 0x38], ebp
call esi
mov ecx, dword [esp + 0x18]
mov ebx, eax
push 0x6c1388
push ecx
mov dword [esp + 0x2c], ebx
call esi
test edi, edi
je 0x44cee7
test ebp, ebp
je 0x44cee7
test ebx, ebx
je 0x44cee7
test eax, eax
je 0x44cee7
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x400
mov dword [esp + 0x14], eax
xor ebp, ebp
test ebp, ebp
je 0x44ce85
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
lea eax, [edx + edx]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0
call ebx
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x44ceb8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
call edi
test eax, eax
je 0x44cedb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x44cf0a
jmp 0x44ce66
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
shr eax, 2
mov dword [esp + 0x1c], eax
je 0x44d0d0
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x260], 0
mov eax, dword [edi]
push eax
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
je 0x44cf87
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 4
push edx
push esi
call dword [esp + 0x40]
test eax, eax
je 0x44cf80
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x260]
push 0x104
push eax
push ecx
push esi
call dword [esp + 0x34]
test eax, eax
jne 0x44cf80
mov byte [esp + 0x260], al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3fc]
mov esi, dword [edi]
test eax, eax
je 0x44cff0
lea edx, [esp + 0x260]
test edx, edx
je 0x44cff0
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44d02c
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x44d02c
push esi
push eax
push 1
call ebx
mov esi, eax
test esi, esi
je 0x44d02c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x44d02c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d02c
lea edx, [esp + 0x260]
push 0x5c
push edx
call fcn.005df0e0
add esp, 8
test eax, eax
je 0x44d009
inc eax
jmp 0x44d010
lea eax, [esp + 0x260]
push 0x6c137c
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x44d02c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x44d051
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
jae 0x44d0d0
jmp 0x44cf2f
push esi
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x44d09b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x44d092
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1e4]
push 0x6c1348
push eax
call fcn.005deb38
add esp, 0xc
lea ecx, [esp + 0x1e0]
push 1
jmp 0x44d0c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d0d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x164]
push 0x6c1318
push eax
call fcn.005deb38
add esp, 0xc
lea ecx, [esp + 0x160]
push 1
mov edx, dword [esp + 0x24]
push ecx
lea ecx, [edx + 0x1b8]
call fcn.004ab540
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44d2bb
cmp eax, 1
jne 0x44d2df
push 0x6be490
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x44d2df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6c12fc
push ebx
call esi
push 0x6c12ec
push ebx
mov edi, eax
call esi
push 0x6c12dc
push ebx
mov ebp, eax
call esi
test eax, eax
mov dword [esp + 0x24], eax
je 0x44d2d8
test ebp, ebp
je 0x44d2d8
test edi, edi
je 0x44d2d8
push 0
push 2
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44d167
mov eax, dword [esp + 0x10]
push eax
jmp 0x44d2d9
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push ecx
push ebx
call ebp
test eax, eax
je 0x44d2bb
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x3fc]
mov esi, dword [esp + 0x40]
test eax, eax
je 0x44d1e7
lea edx, [esp + 0x5c]
test edx, edx
je 0x44d1e7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44d21d
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x44d21d
push esi
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x44d21d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x44d21d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d21d
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.005df0e0
add esp, 8
test eax, eax
je 0x44d1fd
inc eax
jmp 0x44d201
lea eax, [esp + 0x5c]
push 0x6c137c
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x44d21d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x44d23c
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push eax
push ebx
call dword [esp + 0x2c]
test eax, eax
je 0x44d2bb
jmp 0x44d185
push esi
push 0
push 1
call ebp
mov esi, eax
test esi, esi
je 0x44d286
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x44d27d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x164]
push 0x6c1348
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [esp + 0x160]
push 1
jmp 0x44d2ab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44d2bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1e4]
push 0x6c1318
push ecx
call fcn.005deb38
add esp, 0xc
lea edx, [esp + 0x1e0]
push 1
mov eax, dword [esp + 0x24]
push edx
lea ecx, [eax + 0x1b8]
call fcn.004ab540
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4