joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4720c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00404da0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x47218b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x47218b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x47213e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x472149
or bh, 8
and edi, 0x8000000
je 0x472164
mov eax, dword [0x49debc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x47218b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x47258b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4725af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4725ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4735a9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4735c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00406276
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4735ec
test byte [esp + 8], 2
je 0x4735ec
call fcn.004062e9
mov dword [eax], 0xd
call fcn.004062f2
mov dword [eax], 5
jmp 0x4735c5
xor eax, eax
ret
Function at 0x475b3e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x475b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00406276
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x475b81
test byte [esp + 8], 2
je 0x475b81
call fcn.004062e9
mov dword [eax], 0xd
call fcn.004062f2
mov dword [eax], 5
jmp 0x475b5a
xor eax, eax
ret

Function at 0x47c23d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47c27f
call fcn.0047ee19
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c27f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c276
xor eax, eax
jmp 0x47c287
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c28d
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ffef
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48001d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48003b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ff55
jmp 0x48003b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48003b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ff55
test edi, edi
mov eax, edi
jne 0x480025
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401990
Capabilities:
Stop service

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x4019ba
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 8
mov eax, dword [esp + 0x34]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4019e5
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 8
mov ebp, dword [sym.imp.ADVAPI32.dll_ControlService]
lea ecx, [esp + 0x14]
push ecx
push 4
push esi
call ebp
test eax, eax
je 0x401a72
cmp dword [esp + 0x18], 1
je 0x401a72
lea edx, [esp + 0x14]
push edx
push 1
push esi
call ebp
test eax, eax
jne 0x401a27
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea eax, [esp + 0x14]
push eax
push 4
push esi
call ebp
test eax, eax
je 0x401a6e
cmp dword [esp + 0x18], 1
je 0x401a6e
push 0xfa0
call ebx
inc edi
cmp edi, 0xa
jl 0x401a2f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 8
mov edi, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 8

Function at 0x401a90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x40c
push ebp
mov ebp, dword [esp + 0x418]
test ebp, ebp
mov dword [esp + 0xc], ecx
je 0x401b71
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x401b71
mov ecx, dword [esp + 0x414]
lea eax, [esp + 4]
push eax
push 0x10008
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b76
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x28]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x400
call edi
mov esi, eax
cmp esi, 0x103
je 0x401b47
test esi, esi
jne 0x401b58
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00401a90
mov esi, eax
test esi, esi
je 0x401ae4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x40c
ret 8
mov ecx, dword [esp + 0x41c]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x40c
ret 8
mov eax, 0x3f2
pop ebp
add esp, 0x40c
ret 8
Function at 0x401d10
Capabilities:
Create service
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
test edi, edi
je 0x401dbe
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x401dbe
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x401dbe
push 0xf01ff
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x401de3
mov edi, dword [sym.imp.ADVAPI32.dll_ControlService]
lea eax, [esp + 0x10]
push eax
push 4
push esi
call edi
test eax, eax
je 0x401dcb
cmp dword [esp + 0x14], 1
je 0x401dcb
lea ecx, [esp + 0x10]
push ecx
push 1
push esi
call edi
test eax, eax
je 0x401db2
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea edx, [esp + 0x10]
push edx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401dcb
cmp dword [esp + 0x14], 1
je 0x401dcb
push 0xfa0
call ebp
inc edi
cmp edi, 0xa
jl 0x401d8c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
push 0
push 0
push 0
push 0
push 0
push ebp
push 1
push 1
push 1
push 0xf01ff
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
jne 0x401e1a
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
Function at 0x401e40
Capabilities:
Start service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
xor bl, bl
test esi, esi
jne 0x401e5c
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.00401d10
test eax, eax
jge 0x401e77
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
jne 0x401e98
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
push 0xf01ff
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x401ebe
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401eee
cmp dword [esp + 0x10], 4
jne 0x401f13
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x401f13
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401f3a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 8
push edi
xor edi, edi
lea edx, [esp + 0x10]
push edx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401f56
cmp dword [esp + 0x14], 4
je 0x401f69
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x401f3d
jmp 0x401f6b
mov bl, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
neg bl
sbb ebx, ebx
pop edi
neg ebx
dec ebx
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x404a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x40498e
xor edi, edi
nop
mov esi, dword [edx + 0x28]
jmp 0x40499f
movzx ecx, word [edx + 0x26]
nop
nop
xor eax, eax
lodsb al, byte [esi]
nop
jmp 0x4049b9
cmp al, 0x61
nop
jmp 0x4049cc
jl 0x4049ec
nop
nop
jmp 0x4049da
sub al, 0x20
nop
jmp 0x4049ec
ror edi, 0xd
nop
add edi, eax
dec ecx
jne 0x4049a4
nop
jmp 0x404a05
push edx
nop
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
nop
add eax, edx
nop
jmp 0x404a23
mov eax, dword [eax + 0x78]
nop
jmp 0x404a35
test eax, eax
je 0x404c01
nop
jmp 0x404a4c
add eax, edx
nop
mov ebx, dword [eax + 0x20]
nop
jmp 0x404a5f
push eax
nop
add ebx, edx
mov ecx, dword [eax + 0x18]
nop
test ecx, ecx
nop
jmp 0x404a7a
je 0x404bf2
xor edi, edi
nop
jmp 0x404a93
dec ecx
mov esi, dword [ebx + ecx*4]
nop
add esi, edx
nop
nop
xor eax, eax
jmp 0x404aa9
ror edi, 0xd
nop
jmp 0x404ab7
lodsb al, byte [esi]
nop
add edi, eax
jmp 0x404ac7
cmp al, ah
nop
jne 0x404a9b
add edi, dword [ebp - 8]
jmp 0x404ae2
cmp edi, dword [ebp + 0x24]
nop
jmp 0x404af3
jne 0x404a67
nop
nop
jmp 0x404b0a
pop eax
nop
jmp 0x404b19
mov ebx, dword [eax + 0x24]
nop
jmp 0x404b2d
add ebx, edx
jmp 0x404b3e
mov cx, word [ebx + ecx*2]
nop
jmp 0x404b51
mov ebx, dword [eax + 0x1c]
jmp 0x404b64
add ebx, edx
nop
jmp 0x404b7b
mov eax, dword [ebx + ecx*4]
jmp 0x404b91
add eax, edx
nop
mov dword [esp + 0x24], eax
nop
pop ebx
nop
jmp 0x404ba9
pop ebx
jmp 0x404bbc
popal
nop
pop ecx
nop
jmp 0x404bcd
pop edx
nop
push ecx
nop
jmp 0x404be1
jmp eax
pop eax
nop
jmp 0x404c01
pop edi
nop
jmp 0x404c16
pop edx
nop
mov edx, dword [edx]
jmp 0x40497c
Function at 0x406291
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261d0]
jne 0x40629b
repz ret
jmp fcn.0040871c

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4261d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004074b2
and dword [ebp - 0x14], 0
cmp dword [0x427a30], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427a30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427a34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427a38], eax
call edi
push eax
call esi
mov dword [0x427a40], eax
test eax, eax
je 0x40aeaf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427a3c], eax
mov eax, dword [0x427a3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x427a40], ecx
je 0x40af08
push eax
call esi
push dword [0x427a40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x427a34]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x427a38]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427a30]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406291
leave
ret

Function at 0x408aca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
rcl byte [eax + 0x613c90ac], 0x90
push ebx
push edx
je 0x408a96
xchg edx, eax
and ebx, ebx
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x60c018b1
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x4434493e
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2a7a7a90
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0xdb21aba
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401443
pop dword [ebp - 0x4c]
mov eax, 0x401443
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc60c4845
add dword [ebp - 0x5c], 0x8845fd06
mov dword [ebp - 0x58], 0xb3f6cf6a
add dword [ebp - 0x58], 0x7e3c7cdb
mov dword [ebp - 0x54], 0x4475cce6
add dword [ebp - 0x54], 0x7d67748
mov dword [ebp - 0x50], 0xceb07345
sub dword [ebp - 0x50], 0xceb07345
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x19c67b53
sub dword [ebp - 0x5c], 0xa55411fd
mov dword [ebp - 0x58], 0x4f9ae367
add dword [ebp - 0x58], 0xf1d17e0e
mov dword [ebp - 0x54], 0x2be3539b
sub dword [ebp - 0x54], 0xc873e72f
mov dword [ebp - 0x50], 0xa757bcdc
sub dword [ebp - 0x50], 0xa757bcdc
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x37dae
push 0
call eax
mov ecx, 0xd4f31d9b
sub ecx, 0xd4f2d759
mov ebx, eax
mov esi, 0x46e400
add esi, dword [ebp - 0x4c]
mov edx, 0x92b32370
xor dword [ebp - 0x18], edx
mov edi, dword [esi]
xor dword [ebp - 0x28], 0xa44b3af9
xor edi, edx
xor dword [ebp - 0x34], 0x36390e
mov dword [ebx], edi
add dword [ebp - 0x24], esi
add ebx, 4
add esi, 4
loop 0x40154a
add eax, 0x2531ac6
sub eax, 0x2520eeb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2fd5c5c7
sub ecx, 0x2f95c5c7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27