Function at 0x43c430
Capabilities:
Enumerate gui resources
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff020
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, 0x50b060
call fcn.004cfcb8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x28], edx
xor eax, eax
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x30], ecx
xor edx, edx
mov byte [ebp - 0x31], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x50], edx
push edi
lea edi, [ebp - 0x3c8]
mov ecx, 0x82
mov esi, 0x50a629
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x5d0]
mov esi, 0x50a831
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x80
push edi
lea edi, [ebp - 0x7d0]
mov esi, 0x50aa39
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x9d8]
mov esi, 0x50ac39
rep movsd dword es:[edi], dword [esi]
pop edi
xor eax, eax
mov byte [ebp - 0x51], 0x2c
mov dword [ebp - 0x58], eax
xor edx, edx
mov dword [ebp - 0x5c], edx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
xor esi, esi
mov byte [ebp - 0x63], 0
mov dword [ebp - 0x68], 0xffffffff
push esi
push edi
lea edi, [ebp - 0x78]
mov esi, 0x50ae41
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [0x50ae4e]
xor edx, edx
mov dword [ebp - 0x84], eax
mov eax, dword [0x50ae52]
mov dword [ebp - 0x80], eax
mov ax, word [0x50ae56]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x88], edx
mov word [ebp - 0x14], 8
test bh, 0x10
je 0x43c52a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43cd25
test ebx, 0x40000
je 0x43c536
mov byte [ebp - 0x51], 0x20
test edi, edi
jne 0x43c54e
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x3c8], 0
or ebx, 0x20
jmp 0x43c626
test bl, 0x10
je 0x43c55d
lea edx, [ebp - 0x58]
push edx
push edi
call sub.USER32.dll_GetWindowThreadProcessId
test bl, 0x40
je 0x43c568
mov dword [ebp - 0x58], edi
or ebx, 0x10
test bl, 8
je 0x43c5a2
or ebx, 0x20
mov byte [ebp - 0x3c8], 0
test edi, edi
je 0x43c5a2
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x3c8]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test bl, 0x10
jne 0x43c626
test bl, 0x40
jne 0x43c626
test bl, 8
jne 0x43c626
test bl, 4
je 0x43c5cd
push 0
lea eax, [ebp - 0x3c8]
push eax
push edi
call fcn.0043c234
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43c604
test bl, 0x80
je 0x43c5ec
push pe_nt_image_headers32
lea edx, [ebp - 0x3c8]
push edx
push edi
call fcn.0043c234
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43c604
push 0x200
lea ecx, [ebp - 0x3c8]
push ecx
push edi
call fcn.0043c234
add esp, 0xc
mov dword [ebp - 0x50], eax
test byte [ebp - 0x4f], 0x80
je 0x43c61d
lea eax, [ebp - 0x3c8]
push eax
call fcn.004d5554
pop ecx
mov dword [ebp - 0x58], eax
or ebx, 0x10
test byte [ebp - 0x4f], 0x40
je 0x43c626
or ebx, 0x20
test bh, 0x10
je 0x43c638
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43c638
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov dword [ebp - 0x68], 0xffffff9b
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x78]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x43c666
lea ecx, [ebp - 0x78]
push ecx
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43cd25
mov dword [ebp - 0x68], 0xffffff37
mov byte [ebp - 0x31], 0
lea edx, [ebp - 0x84]
push edx
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x43c6a5
lea eax, [ebp - 0x84]
push eax
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x31], 1
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x43cd25
mov dword [ebp - 0x68], 0xfffffeb5
push 0x5cff91
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x43cd25
mov dword [ebp - 0x68], 0xfffffeab
push 0x5cffaa
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x43cd25
mov dword [ebp - 0x68], 0xfffffea1
push 0x5cffb9
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x43cd25
mov dword [ebp - 0x68], 0xfffffe8d
push 0x5cffc7
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], 0xfffffe82
push 0x5cffe2
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x68], 0xfffffe80
push 0x5cfff5
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
test edx, edx
jne 0x43c775
push 0x5d000a
mov ecx, dword [ebp - 0x38]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x43c78e
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x43c78e
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43cd25
mov dword [ebp - 0x68], 0xfffffe6f
push 0
push 2
call edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43cd25
mov dword [ebp - 0x1c0], 0x128
mov dword [ebp - 0x68], 0xfffffe0b
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp - 0x28]
push ecx
call dword [ebp - 0x48]
test eax, eax
je 0x43cd25
xor eax, eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x9d8], 0
mov dword [ebp - 0x60], 0x208
mov byte [ebp - 0x7d0], 0
mov edx, dword [ebp - 0x1b8]
push edx
push 0
push 0x410
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43c819
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x400
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43c832
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x1000
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43c855
mov byte [ebp - 0x64], 1
lea eax, [ebp - 0x19c]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.004d1ac0
add esp, 8
jmp 0x43c99b
mov byte [ebp - 0x64], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43c873
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x44]
jmp 0x43c8a3
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43c88d
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x40]
jmp 0x43c8a3
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x43c8a3
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x9d8]
push edx
push edi
call dword [ebp - 0x3c]
xor ecx, ecx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0x14], 8
push eax
push 8
push edi
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x43c995
push esi
push edi
lea edi, [ebp - 0xbe0]
mov esi, 0x50ae58
mov ecx, 0x82
lea eax, [ebp - 0xbe0]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebp - 0x90], 0x208
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ebp - 0x94]
push eax
push 1
mov edx, dword [ebp - 0x8c]
push edx
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x43c989
mov dword [ebp - 0x90], 0x200
lea ecx, [ebp - 0x98]
push ecx
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0xfe0]
push edx
lea ecx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0xde0]
push eax
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx]
push ecx
push 0
call sub.ADVAPI32.dll_LookupAccountSidA
test eax, eax
je 0x43c989
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xde0]
or ecx, 0xffffffff
lea esi, [ebp - 0x7d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x8c]
push eax
call sub.KERNEL32.dll_CloseHandle
push edi
call sub.KERNEL32.dll_CloseHandle
test bl, 0x80
je 0x43c9bd
push 0x900
lea edx, [ebp - 0x5d0]
push edx
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0043c234
add esp, 0xc
jmp 0x43c9d8
push 0xa00
lea eax, [ebp - 0x5d0]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.0043c234
add esp, 0xc
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 0
test bl, 0x10
je 0x43ca0f
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
je 0x43ca06
mov edx, dword [ebp - 0x58]
test edx, edx
jne 0x43ca92
test bl, 0x20
je 0x43ca92
mov byte [ebp - 0x62], 1
jmp 0x43ca92
test bl, 8
je 0x43ca34
lea ecx, [ebp - 0x7d0]
push ecx
lea eax, [ebp - 0x3c8]
push eax
call fcn.004cd568
add esp, 8
test eax, eax
jne 0x43ca92
mov byte [ebp - 0x62], 1
jmp 0x43ca92
mov word [ebp - 0x14], 8
test byte [ebp - 0x4f], 0x20
lea eax, [ebp - 0x19c]
je 0x43ca4c
lea eax, [ebp - 0x5d0]
test bl, 4
je 0x43ca6b
lea edx, [ebp - 0x3c8]
push edx
push eax
call fcn.0041d24c
add esp, 8
test eax, eax
je 0x43ca92
mov byte [ebp - 0x62], 1
jmp 0x43ca92
push eax
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.004cd568
add esp, 8
test eax, eax
je 0x43ca8e
mov al, byte [ebp - 0x3c8]
test al, al
jne 0x43ca92
test bl, 0x20
je 0x43ca92
mov byte [ebp - 0x62], 1
mov dl, byte [ebp - 0x62]
cmp dl, 1
jne 0x43cd0f
test bh, 1
jne 0x43caa8
test bh, 2
je 0x43cac0
mov byte [ebp - 0x61], 1
mov ecx, dword [ebp - 0x1b8]
push ecx
push 0x43c3f0
call sub.USER32.dll_EnumWindows
inc dword [ebp - 0x68]
test bh, 2
je 0x43caf9
mov byte [ebp - 0x61], 1
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x401
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
mov word [ebp - 0x14], 8
test edi, edi
je 0x43caf9
push 0
push edi
call sub.KERNEL32.dll_TerminateProcess
add dword [ebp - 0x68], eax
push edi
call sub.KERNEL32.dll_CloseHandle
test bh, 0x10
je 0x43cd00
mov byte [ebp - 0x61], 1
inc dword [ebp - 0x68]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43cd00
test ebx, 0x20000
je 0x43cb33
test ebx, 0x20000
je 0x43cd00
mov dl, byte [ebp - 0x64]
test dl, dl
jne 0x43cd00
mov byte [ebp - 0x9d8], 0
test bh, 0x80
je 0x43cb6e
movsx ecx, byte [ebp - 0x51]
push ecx
lea edx, [ebp - 0x9d8]
mov eax, dword [ebp - 0x1b8]
push eax
push 0x5d001f
push edx
call fcn.004cd3e4
pop ecx
lea ecx, [ebp - 0x9d8]
add eax, ecx
push eax
call fcn.004d1ac0
add esp, 0x10
test ebx, 0x10000
je 0x43cba5
movsx eax, byte [ebp - 0x51]
push eax
lea edx, [ebp - 0x7d0]
push edx
push 0x5d0026
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004cd3e4
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d1ac0
add esp, 0x10
test bh, 0x20
je 0x43cbd6
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5d002f
push ecx
call fcn.004cd3e4
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d1ac0
add esp, 0xc
jmp 0x43cc00
lea eax, [ebp - 0x5d0]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5d0034
push ecx
call fcn.004cd3e4
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d1ac0
add esp, 0xc
mov eax, dword [ebp + 0x10]
inc eax
je 0x43cc23
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004cd3e4
pop ecx
add eax, esi
add eax, 3
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x43ccb0
mov al, byte [ebp - 0x9d8]
test al, al
je 0x43cd00
movsx ecx, al
cmp ecx, 0x20
je 0x43cd00
test esi, esi
je 0x43cc71
test bh, 0x40
je 0x43cc5b
mov eax, dword [ebp + 0xc]
add eax, esi
push esi
mov edi, eax
mov esi, 0x5d0039
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43cc71
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5d003b
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
add esi, 2
mov edx, dword [ebp + 0xc]
xor eax, eax
add edx, esi
push esi
lea edi, [ebp - 0x9d8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x9d8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push eax
call fcn.004cd3e4
pop ecx
add eax, esi
mov esi, eax
jmp 0x43cd00
mov dl, byte [ebp - 0x63]
test dl, dl
jne 0x43cd00
mov byte [ebp - 0x63], 1
test esi, esi
je 0x43cd00
test bh, 0x40
je 0x43ccd9
mov ecx, dword [ebp + 0xc]
add ecx, esi
push esi
mov edi, ecx
mov esi, 0x5d003e
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43ccef
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5d0040
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
add esi, 2
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5d0043
mov eax, edi
movsd dword es:[edi], dword [esi]
pop esi
mov dl, byte [ebp - 0x61]
test dl, dl
jne 0x43cd0a
inc dword [ebp - 0x68]
test bl, 0x20
je 0x43cd25
lea ecx, [ebp - 0x1c0]
push ecx
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x4c]
test eax, eax
jne 0x43c7d6
mov word [ebp - 0x14], 0
jmp 0x43cd53
mov al, byte [ebp - 0x29]
test al, al
je 0x43cd63
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_FreeLibrary
mov cl, byte [ebp - 0x31]
test cl, cl
je 0x43cd73
mov eax, dword [ebp - 0x38]
push eax
call sub.KERNEL32.dll_FreeLibrary
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43cd83
mov ecx, dword [ebp - 0x28]
push ecx
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0xfec]
mov esi, dword [ebp - 0xfe8]
mov ebx, dword [ebp - 0xfe4]
pop ebp
ret