Function at 0x43c8dc
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, 0x50c4a4
call fcn.004d08c0
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, 0x50ba6d
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x5d0]
mov esi, 0x50bc75
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x80
push edi
lea edi, [ebp - 0x7d0]
mov esi, 0x50be7d
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x9d8]
mov esi, 0x50c07d
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, 0x50c285
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [0x50c292]
xor edx, edx
mov dword [ebp - 0x84], eax
mov eax, dword [0x50c296]
mov dword [ebp - 0x80], eax
mov ax, word [0x50c29a]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x88], edx
mov word [ebp - 0x14], 8
test bh, 0x10
je 0x43c9d6
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43d1d1
test ebx, 0x40000
je 0x43c9e2
mov byte [ebp - 0x51], 0x20
test edi, edi
jne 0x43c9fa
xor eax, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x3c8], 0
or ebx, 0x20
jmp 0x43cad2
test bl, 0x10
je 0x43ca09
lea edx, [ebp - 0x58]
push edx
push edi
call sub.USER32.dll_GetWindowThreadProcessId
test bl, 0x40
je 0x43ca14
mov dword [ebp - 0x58], edi
or ebx, 0x10
test bl, 8
je 0x43ca4e
or ebx, 0x20
mov byte [ebp - 0x3c8], 0
test edi, edi
je 0x43ca4e
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 0x43cad2
test bl, 0x40
jne 0x43cad2
test bl, 8
jne 0x43cad2
test bl, 4
je 0x43ca79
push 0
lea eax, [ebp - 0x3c8]
push eax
push edi
call fcn.0043c6e0
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43cab0
test bl, 0x80
je 0x43ca98
push pe_nt_image_headers32
lea edx, [ebp - 0x3c8]
push edx
push edi
call fcn.0043c6e0
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x43cab0
push 0x200
lea ecx, [ebp - 0x3c8]
push ecx
push edi
call fcn.0043c6e0
add esp, 0xc
mov dword [ebp - 0x50], eax
test byte [ebp - 0x4f], 0x80
je 0x43cac9
lea eax, [ebp - 0x3c8]
push eax
call fcn.004d615c
pop ecx
mov dword [ebp - 0x58], eax
or ebx, 0x10
test byte [ebp - 0x4f], 0x40
je 0x43cad2
or ebx, 0x20
test bh, 0x10
je 0x43cae4
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43cae4
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 0x43cb12
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 0x43d1d1
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 0x43cb51
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 0x43d1d1
mov dword [ebp - 0x68], 0xfffffeb5
push 0x5d159a
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x43d1d1
mov dword [ebp - 0x68], 0xfffffeab
push 0x5d15b3
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 0x43d1d1
mov dword [ebp - 0x68], 0xfffffea1
push 0x5d15c2
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 0x43d1d1
mov dword [ebp - 0x68], 0xfffffe8d
push 0x5d15d0
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], 0xfffffe82
push 0x5d15eb
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x68], 0xfffffe80
push 0x5d15fe
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 0x43cc21
push 0x5d1613
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 0x43cc3a
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x43cc3a
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43d1d1
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 0x43d1d1
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 0x43d1d1
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 0x43ccc5
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x400
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43ccde
mov eax, dword [ebp - 0x1b8]
push eax
push 0
push 0x1000
call sub.KERNEL32.dll_OpenProcess
mov edi, eax
test edi, edi
jne 0x43cd01
mov byte [ebp - 0x64], 1
lea eax, [ebp - 0x19c]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.004d26c8
add esp, 8
jmp 0x43ce47
mov byte [ebp - 0x64], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43cd1f
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x44]
jmp 0x43cd4f
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43cd39
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x9d8]
push eax
push edx
push 0
push edi
call dword [ebp - 0x40]
jmp 0x43cd4f
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x43cd4f
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 0x43ce41
push esi
push edi
lea edi, [ebp - 0xbe0]
mov esi, 0x50c29c
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 0x43ce35
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 0x43ce35
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 0x43ce69
push 0x900
lea edx, [ebp - 0x5d0]
push edx
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.0043c6e0
add esp, 0xc
jmp 0x43ce84
push 0xa00
lea eax, [ebp - 0x5d0]
push eax
lea edx, [ebp - 0x9d8]
push edx
call fcn.0043c6e0
add esp, 0xc
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 0
test bl, 0x10
je 0x43cebb
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
je 0x43ceb2
mov edx, dword [ebp - 0x58]
test edx, edx
jne 0x43cf3e
test bl, 0x20
je 0x43cf3e
mov byte [ebp - 0x62], 1
jmp 0x43cf3e
test bl, 8
je 0x43cee0
lea ecx, [ebp - 0x7d0]
push ecx
lea eax, [ebp - 0x3c8]
push eax
call fcn.004ce170
add esp, 8
test eax, eax
jne 0x43cf3e
mov byte [ebp - 0x62], 1
jmp 0x43cf3e
mov word [ebp - 0x14], 8
test byte [ebp - 0x4f], 0x20
lea eax, [ebp - 0x19c]
je 0x43cef8
lea eax, [ebp - 0x5d0]
test bl, 4
je 0x43cf17
lea edx, [ebp - 0x3c8]
push edx
push eax
call fcn.0041d408
add esp, 8
test eax, eax
je 0x43cf3e
mov byte [ebp - 0x62], 1
jmp 0x43cf3e
push eax
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.004ce170
add esp, 8
test eax, eax
je 0x43cf3a
mov al, byte [ebp - 0x3c8]
test al, al
jne 0x43cf3e
test bl, 0x20
je 0x43cf3e
mov byte [ebp - 0x62], 1
mov dl, byte [ebp - 0x62]
cmp dl, 1
jne 0x43d1bb
test bh, 1
jne 0x43cf54
test bh, 2
je 0x43cf6c
mov byte [ebp - 0x61], 1
mov ecx, dword [ebp - 0x1b8]
push ecx
push 0x43c89c
call sub.USER32.dll_EnumWindows
inc dword [ebp - 0x68]
test bh, 2
je 0x43cfa5
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 0x43cfa5
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 0x43d1ac
mov byte [ebp - 0x61], 1
inc dword [ebp - 0x68]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43d1ac
test ebx, 0x20000
je 0x43cfdf
test ebx, 0x20000
je 0x43d1ac
mov dl, byte [ebp - 0x64]
test dl, dl
jne 0x43d1ac
mov byte [ebp - 0x9d8], 0
test bh, 0x80
je 0x43d01a
movsx ecx, byte [ebp - 0x51]
push ecx
lea edx, [ebp - 0x9d8]
mov eax, dword [ebp - 0x1b8]
push eax
push 0x5d1628
push edx
call fcn.004cdfec
pop ecx
lea ecx, [ebp - 0x9d8]
add eax, ecx
push eax
call fcn.004d26c8
add esp, 0x10
test ebx, 0x10000
je 0x43d051
movsx eax, byte [ebp - 0x51]
push eax
lea edx, [ebp - 0x7d0]
push edx
push 0x5d162f
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004cdfec
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d26c8
add esp, 0x10
test bh, 0x20
je 0x43d082
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5d1638
push ecx
call fcn.004cdfec
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d26c8
add esp, 0xc
jmp 0x43d0ac
lea eax, [ebp - 0x5d0]
lea ecx, [ebp - 0x9d8]
push eax
push 0x5d163d
push ecx
call fcn.004cdfec
pop ecx
lea edx, [ebp - 0x9d8]
add eax, edx
push eax
call fcn.004d26c8
add esp, 0xc
mov eax, dword [ebp + 0x10]
inc eax
je 0x43d0cf
lea ecx, [ebp - 0x9d8]
push ecx
call fcn.004cdfec
pop ecx
add eax, esi
add eax, 3
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x43d15c
mov al, byte [ebp - 0x9d8]
test al, al
je 0x43d1ac
movsx ecx, al
cmp ecx, 0x20
je 0x43d1ac
test esi, esi
je 0x43d11d
test bh, 0x40
je 0x43d107
mov eax, dword [ebp + 0xc]
add eax, esi
push esi
mov edi, eax
mov esi, 0x5d1642
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43d11d
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5d1644
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.004cdfec
pop ecx
add eax, esi
mov esi, eax
jmp 0x43d1ac
mov dl, byte [ebp - 0x63]
test dl, dl
jne 0x43d1ac
mov byte [ebp - 0x63], 1
test esi, esi
je 0x43d1ac
test bh, 0x40
je 0x43d185
mov ecx, dword [ebp + 0xc]
add ecx, esi
push esi
mov edi, ecx
mov esi, 0x5d1647
mov eax, edi
movsw word es:[edi], word [esi]
pop esi
inc esi
jmp 0x43d19b
mov edx, dword [ebp + 0xc]
add edx, esi
push esi
mov edi, edx
mov esi, 0x5d1649
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, 0x5d164c
mov eax, edi
movsd dword es:[edi], dword [esi]
pop esi
mov dl, byte [ebp - 0x61]
test dl, dl
jne 0x43d1b6
inc dword [ebp - 0x68]
test bl, 0x20
je 0x43d1d1
lea ecx, [ebp - 0x1c0]
push ecx
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x4c]
test eax, eax
jne 0x43cc82
mov word [ebp - 0x14], 0
jmp 0x43d1ff
mov al, byte [ebp - 0x29]
test al, al
je 0x43d20f
mov edx, dword [ebp - 0x30]
push edx
call sub.KERNEL32.dll_FreeLibrary
mov cl, byte [ebp - 0x31]
test cl, cl
je 0x43d21f
mov eax, dword [ebp - 0x38]
push eax
call sub.KERNEL32.dll_FreeLibrary
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43d22f
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