Function at 0x43ae70
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 0x43b3bf
mov eax, dword [esp + 0x374]
cmp eax, 2
jne 0x43b1d0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x650d3c
call esi
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x43b3bf
push 0x650d30
call esi
test eax, eax
mov dword [esp + 0x18], eax
je 0x43b3bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x650d20
push ebx
call esi
push 0x650d0c
push ebx
mov edi, eax
call esi
mov ebp, eax
push 0x650cf4
push ebx
mov dword [esp + 0x38], ebp
call esi
mov ecx, dword [esp + 0x18]
mov ebx, eax
push 0x650ce0
push ecx
mov dword [esp + 0x2c], ebx
call esi
test edi, edi
je 0x43afc7
test ebp, ebp
je 0x43afc7
test ebx, ebx
je 0x43afc7
test eax, eax
je 0x43afc7
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x400
mov dword [esp + 0x14], eax
xor ebp, ebp
test ebp, ebp
je 0x43af65
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 0x43af98
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
call edi
test eax, eax
je 0x43afbb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x43afea
jmp 0x43af46
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 0x43b1b0
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 0x43b067
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 4
push edx
push esi
call dword [esp + 0x40]
test eax, eax
je 0x43b060
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 0x43b060
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 0x43b0d0
lea edx, [esp + 0x260]
test edx, edx
je 0x43b0d0
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43b10c
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x43b10c
push esi
push eax
push 1
call ebx
mov esi, eax
test esi, esi
je 0x43b10c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43b10c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43b10c
lea edx, [esp + 0x260]
push 0x5c
push edx
call fcn.0057f890
add esp, 8
test eax, eax
je 0x43b0e9
inc eax
jmp 0x43b0f0
lea eax, [esp + 0x260]
push 0x6535dc
push eax
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x43b10c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x43b131
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 0x43b1b0
jmp 0x43b00f
push esi
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x43b17b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x43b172
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1e4]
push 0x6535a8
push eax
call fcn.0057f2ea
add esp, 0xc
lea ecx, [esp + 0x1e0]
push 1
jmp 0x43b1a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43b1b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x164]
push 0x653578
push eax
call fcn.0057f2ea
add esp, 0xc
lea ecx, [esp + 0x160]
push 1
mov edx, dword [esp + 0x24]
push ecx
lea ecx, [edx + 0x1c4]
call fcn.00480980
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 0x43b39b
cmp eax, 1
jne 0x43b3bf
push 0x650cd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x43b3bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x650cb4
push ebx
call esi
push 0x650ca4
push ebx
mov edi, eax
call esi
push 0x650c94
push ebx
mov ebp, eax
call esi
test eax, eax
mov dword [esp + 0x24], eax
je 0x43b3b8
test ebp, ebp
je 0x43b3b8
test edi, edi
je 0x43b3b8
push 0
push 2
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43b247
mov eax, dword [esp + 0x10]
push eax
jmp 0x43b3b9
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push ecx
push ebx
call ebp
test eax, eax
je 0x43b39b
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x3fc]
mov esi, dword [esp + 0x40]
test eax, eax
je 0x43b2c7
lea edx, [esp + 0x5c]
test edx, edx
je 0x43b2c7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43b2fd
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x43b2fd
push esi
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x43b2fd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43b2fd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43b2fd
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.0057f890
add esp, 8
test eax, eax
je 0x43b2dd
inc eax
jmp 0x43b2e1
lea eax, [esp + 0x5c]
push 0x6535dc
push eax
call fcn.00587e70
add esp, 8
test eax, eax
jne 0x43b2fd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x43b31c
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push eax
push ebx
call dword [esp + 0x2c]
test eax, eax
je 0x43b39b
jmp 0x43b265
push esi
push 0
push 1
call ebp
mov esi, eax
test esi, esi
je 0x43b366
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x43b35d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x164]
push 0x6535a8
push ecx
call fcn.0057f2ea
add esp, 0xc
lea edx, [esp + 0x160]
push 1
jmp 0x43b38b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43b39b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1e4]
push 0x653578
push ecx
call fcn.0057f2ea
add esp, 0xc
lea edx, [esp + 0x1e0]
push 1
mov eax, dword [esp + 0x24]
push edx
lea ecx, [eax + 0x1c4]
call fcn.00480980
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