Function at 0x43e80c
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, 0x51e218
call fcn.004d57f0
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, 0x51d7e1
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x5d0]
mov esi, 0x51d9e9
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x80
push edi
lea edi, [ebp - 0x7d0]
mov esi, 0x51dbf1
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x9d8]
mov esi, 0x51ddf1
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, 0x51dff9
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [0x51e006]
xor edx, edx
mov dword [ebp - 0x84], eax
mov eax, dword [0x51e00a]
mov dword [ebp - 0x80], eax
mov ax, word [0x51e00e]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x88], edx
mov word [ebp - 0x14], 8
test bh, 0x10
je 0x43e906
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43f101
test ebx, 0x40000
je 0x43e912
mov byte [ebp - 0x51], 0x20
test edi, edi
jne 0x43e92a
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x3c8], 0
or ebx, 0x20
jmp 0x43ea02
test bl, 0x10
je 0x43e939
lea edx, [ebp - 0x58]
push edx
push edi
call sub.USER32.dll_GetWindowThreadProcessId
test bl, 0x40
je 0x43e944
mov dword [ebp - 0x58], edi
or ebx, 0x10
test bl, 8
je 0x43e97e
or ebx, 0x20
mov byte [ebp - 0x3c8], 0
test edi, edi
je 0x43e97e
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 0x43ea02
test bl, 0x40
jne 0x43ea02
test bl, 8
jne 0x43ea02
test bl, 4
je 0x43e9a9
push 0
lea eax, [ebp - 0x3c8]
push eax
push edi
call fcn.0043e610
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43e9e0
test bl, 0x80
je 0x43e9c8
push pe_nt_image_headers32
lea edx, [ebp - 0x3c8]
push edx
push edi
call fcn.0043e610
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43e9e0
push 0x200
lea ecx, [ebp - 0x3c8]
push ecx
push edi
call fcn.0043e610
add esp, 0xc
mov dword [ebp - 0x50], eax
test byte [ebp - 0x4f], 0x80
je 0x43e9f9
lea eax, [ebp - 0x3c8]
push eax
call fcn.004db08c
pop ecx
mov dword [ebp - 0x58], eax
or ebx, 0x10
test byte [ebp - 0x4f], 0x40
je 0x43ea02
or ebx, 0x20
test bh, 0x10
je 0x43ea14
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43ea14
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 0x43ea42
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 0x43f101
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 0x43ea81
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 0x43f101
mov dword [ebp - 0x68], 0xfffffeb5
push 0x5eaabe
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x43f101
mov dword [ebp - 0x68], 0xfffffeab
push 0x5eaad7
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 0x43f101
mov dword [ebp - 0x68], 0xfffffea1
push 0x5eaae6
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 0x43f101
mov dword [ebp - 0x68], 0xfffffe8d
push 0x5eaaf4
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], 0xfffffe82
push 0x5eab0f
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x68], 0xfffffe80
push 0x5eab22
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 0x43eb51
push 0x5eab37
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 0x43eb6a
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x43eb6a
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43f101
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 0x43f101
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 0x43f101
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 0x43ebf5
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x400
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43ec0e
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x1000
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43ec31
mov byte [ebp - 0x64], 1
lea eax, [ebp - 0x19c]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.004d75f8
add esp, 8
jmp 0x43ed77
mov byte [ebp - 0x64], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43ec4f
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x44]
jmp 0x43ec7f
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43ec69
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x40]
jmp 0x43ec7f
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x43ec7f
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 0x43ed71
push esi
push edi
lea edi, [ebp - 0xbe0]
mov esi, 0x51e010
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 0x43ed65
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 0x43ed65
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 0x43ed99
push 0x900
lea edx, [ebp - 0x5d0]
push edx
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0043e610
add esp, 0xc
jmp 0x43edb4
push 0xa00
lea eax, [ebp - 0x5d0]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.0043e610
add esp, 0xc
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 0
test bl, 0x10
je 0x43edeb
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
je 0x43ede2
mov edx, dword [ebp - 0x58]
test edx, edx
jne 0x43ee6e
test bl, 0x20
je 0x43ee6e
mov byte [ebp - 0x62], 1
jmp 0x43ee6e
test bl, 8
je 0x43ee10
lea ecx, [ebp - 0x7d0]
push ecx
lea eax, [ebp - 0x3c8]
push eax
call fcn.004d30a0
add esp, 8
test eax, eax
jne 0x43ee6e
mov byte [ebp - 0x62], 1
jmp 0x43ee6e
mov word [ebp - 0x14], 8
test byte [ebp - 0x4f], 0x20
lea eax, [ebp - 0x19c]
je 0x43ee28
lea eax, [ebp - 0x5d0]
test bl, 4
je 0x43ee47
lea edx, [ebp - 0x3c8]
push edx
push eax
call fcn.0041e5c0
add esp, 8
test eax, eax
je 0x43ee6e
mov byte [ebp - 0x62], 1
jmp 0x43ee6e
push eax
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.004d30a0
add esp, 8
test eax, eax
je 0x43ee6a
mov al, byte [ebp - 0x3c8]
test al, al
jne 0x43ee6e
test bl, 0x20
je 0x43ee6e
mov byte [ebp - 0x62], 1
mov dl, byte [ebp - 0x62]
cmp dl, 1
jne 0x43f0eb
test bh, 1
jne 0x43ee84
test bh, 2
je 0x43ee9c
mov byte [ebp - 0x61], 1
mov ecx, dword [ebp - 0x1b8]
push ecx
push 0x43e7cc
call sub.USER32.dll_EnumWindows
inc dword [ebp - 0x68]
test bh, 2
je 0x43eed5
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 0x43eed5
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 0x43f0dc
mov byte [ebp - 0x61], 1
inc dword [ebp - 0x68]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43f0dc
test ebx, 0x20000
je 0x43ef0f
test ebx, 0x20000
je 0x43f0dc
mov dl, byte [ebp - 0x64]
test dl, dl
jne 0x43f0dc
mov byte [ebp - 0x9d8], 0
test bh, 0x80
je 0x43ef4a
movsx ecx, byte [ebp - 0x51]
push ecx
lea edx, [ebp - 0x9d8]
mov eax, dword [ebp - 0x1b8]
push eax
push 0x5eab4c
push edx
call fcn.004d2f1c
pop ecx
lea ecx, [ebp - 0x9d8]
add eax, ecx
push eax
call fcn.004d75f8
add esp, 0x10
test ebx, 0x10000
je 0x43ef81
movsx eax, byte [ebp - 0x51]
push eax
lea edx, [ebp - 0x7d0]
push edx
push 0x5eab53
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004d2f1c
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d75f8
add esp, 0x10
test bh, 0x20
je 0x43efb2
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5eab5c
push ecx
call fcn.004d2f1c
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d75f8
add esp, 0xc
jmp 0x43efdc
lea eax, [ebp - 0x5d0]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5eab61
push ecx
call fcn.004d2f1c
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d75f8
add esp, 0xc
mov eax, dword [ebp + 0x10]
inc eax
je 0x43efff
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004d2f1c
pop ecx
add eax, esi
add eax, 3
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x43f08c
mov al, byte [ebp - 0x9d8]
test al, al
je 0x43f0dc
movsx ecx, al
cmp ecx, 0x20
je 0x43f0dc
test esi, esi
je 0x43f04d
test bh, 0x40
je 0x43f037
mov eax, dword [ebp + 0xc]
add eax, esi
push esi
mov edi, eax
mov esi, 0x5eab66
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43f04d
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5eab68
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.004d2f1c
pop ecx
add eax, esi
mov esi, eax
jmp 0x43f0dc
mov dl, byte [ebp - 0x63]
test dl, dl
jne 0x43f0dc
mov byte [ebp - 0x63], 1
test esi, esi
je 0x43f0dc
test bh, 0x40
je 0x43f0b5
mov ecx, dword [ebp + 0xc]
add ecx, esi
push esi
mov edi, ecx
mov esi, 0x5eab6b
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43f0cb
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5eab6d
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, 0x5eab70
mov eax, edi
movsd dword es:[edi], dword [esi]
pop esi
mov dl, byte [ebp - 0x61]
test dl, dl
jne 0x43f0e6
inc dword [ebp - 0x68]
test bl, 0x20
je 0x43f101
lea ecx, [ebp - 0x1c0]
push ecx
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x4c]
test eax, eax
jne 0x43ebb2
mov word [ebp - 0x14], 0
jmp 0x43f12f
mov al, byte [ebp - 0x29]
test al, al
je 0x43f13f
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_FreeLibrary
mov cl, byte [ebp - 0x31]
test cl, cl
je 0x43f14f
mov eax, dword [ebp - 0x38]
push eax
call sub.KERNEL32.dll_FreeLibrary
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43f15f
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