joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f855
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x415086
call fcn.00414de8
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f927
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
add ebx, 0xb2e0
push ebx
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x20a
call edi
cmp eax, esi
jne 0x40f8fd
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x40f8da
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.0041481a
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x18]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x20a
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x40f8b9
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x40f926
push dword [ebp - 0x20]
push 0x40cb10
call fcn.004148a3
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
mov edi, ecx
je 0x40f926
call fcn.00414870
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
cmp dword [ebp - 0x10], esi
pop esi
pop ebx
je 0x40f937
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40fb76
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test byte [esi + 0x18], 8
jne 0x40fb8b
xor eax, eax
inc eax
jmp 0x40fcc6
push ebx
xor ebx, ebx
inc ebx
cmp dword [0x4177cc], ebx
jne 0x40fb9e
mov eax, ebx
jmp 0x40fcc5
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
mov edi, dword [esi + 0xa658]
call dword [eax + 0x6c]
cmp edi, eax
jae 0x40fcc2
test byte [esi + 0xa648], 4
je 0x40fbcb
test byte [esi + 0x982c], 1
je 0x40fcc2
push 4
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esi + 0xa684], eax
jne 0x40fbf9
push 0x112f
mov ecx, esi
call fcn.0040a31d
xor eax, eax
jmp 0x40fcc4
mov edi, 0x40cffa
push edi
lea ecx, [ebp - 4]
push ecx
lea eax, [esi + 0xa064]
mov ebx, 0xf003f
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040e826
test eax, eax
je 0x40fbf2
mov dword [ebp - 4], ebx
xor ebx, ebx
push ebx
push edi
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0xa064]
push eax
mov ecx, esi
call fcn.0040adc8
test eax, eax
je 0x40fbf2
cmp dword [esi + 0xa680], ebx
mov dword [ebp - 4], ebx
jbe 0x40fcbd
mov edi, dword [ebp - 4]
mov eax, dword [esi + 0xa684]
shl edi, 2
mov eax, dword [edi + eax]
cmp word [eax], bx
je 0x40fc60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xa684]
mov eax, dword [eax + edi]
add eax, 0x208
cmp word [eax], bx
je 0x40fc7a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xa684]
mov eax, dword [eax + edi]
add eax, 0x410
cmp word [eax], bx
je 0x40fc94
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xa684]
mov edi, dword [eax + edi]
lea eax, [edi + 0x618]
cmp word [eax], bx
je 0x40fcaf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xa680]
jb 0x40fc45
xor eax, eax
inc eax
jmp 0x40fcc4
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40fcc9
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
test byte [ebx + 0xa648], 4
jne 0x40fce7
push 0x40e6f4
call fcn.004092c9
jmp 0x40fcf4
test byte [ebx + 0x982c], 1
je 0x40fe99
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push 0x404228
push 0x80000002
mov dword [ebp - 4], eax
call edi
test eax, eax
jne 0x40fe89
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
push eax
call fcn.0040a267
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
je 0x40fd4c
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push dword [ebp - 4]
call esi
mov ecx, ebx
call fcn.0040d0e1
test eax, eax
je 0x40fd6c
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
push eax
push dword [ebp - 4]
call esi
jmp 0x40fe88
mov eax, dword [ebx + 0x18]
test al, al
js 0x40fd57
test al, 8
je 0x40fd57
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
mov dword [ebp - 8], esi
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x40fe7a
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov esi, ecx
call dword [eax + 0x18]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push eax
push 1
push 0
push 0x4047ac
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebx + 0x9c4c]
lea edi, [ebx + 0xaecc]
mov ecx, eax
lea esi, [ebx + 0x9a40]
mov dword [ebp - 0x14], edi
rep movsw word es:[edi], word [esi]
cmp word [ebx + eax*2 + 0xaeca], 0x5c
mov dword [ebp - 0xc], eax
je 0x40fe02
mov word [ebx + eax*2 + 0xaecc], 0x5c
inc eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x44]
add eax, eax
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edi, [ebx + eax*2 + 0xaecc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebx + 8]
mov ecx, 0x105
sub ecx, esi
push ecx
lea ecx, [ebx + esi*2 + 0xaecc]
push ecx
push 0x1400
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
add esi, eax
lea eax, [esi + esi + 2]
push eax
push dword [ebp - 0x14]
push 1
push 0
push 0x40478c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
cmp dword [ebp - 8], esi
je 0x40fe88
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
cmp dword [ebp - 4], 0
pop edi
je 0x40fe99
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop ebx
leave
ret
Function at 0x40fe9f
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x4177cc], 2
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
mov esi, ecx
push 0
jne 0x40fec5
push 0x404840
jmp 0x40feca
push 0x4047c8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ff28
mov eax, dword [esi + 8]
push edi
push 0x105
lea edi, [esi + 0xaecc]
push edi
push 0x1401
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x40ff03
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
test byte [esi + 0x18], 8
push edi
push dword [ebp - 4]
mov ecx, esi
je 0x40ff18
call fcn.0040d191
jmp 0x40ff1d
call fcn.0040d322
test eax, eax
je 0x40ff27
inc edi
cmp edi, 3
jb 0x40ff05
pop edi
cmp dword [ebp - 4], 0
pop esi
je 0x40ff38
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret
Function at 0x413ed9
Capabilities:
Copy file
Set registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x417160]
push ebp
push esi
xor esi, esi
mov ebp, ecx
cmp dword [ebp + 0x830], esi
mov dword [esp + 0x224], eax
mov dword [esp + 0x18], esi
jne 0x413f21
push 0x820
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, esi
mov dword [ebp + 0x830], eax
jne 0x413f21
xor eax, eax
jmp 0x41404c
push ebx
push edi
push dword [esp + 0x238]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
lea ebx, [ebp + 0x834]
mov dword [esp + 0x10], esi
mov eax, dword [ebx - 0x14]
cmp word [eax], si
je 0x41402b
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x830]
shr ecx, 1
lea ecx, [edx + ecx*2]
mov dword [ebx], ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 0x104
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp dword [esp + 0x18], esi
je 0x41402b
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx]
mov esi, dword [esp + 0x238]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x1c]
add eax, edx
cmp word [eax - 2], 0x5c
je 0x413fb7
mov word [eax], 0x5c
inc ecx
mov eax, 0x104
sub eax, ecx
push eax
mov eax, dword [ebx]
push dword [esp + 0x1c]
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebx - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413fec
mov eax, dword [ebx - 0x14]
and word [eax], 0
mov eax, dword [ebx - 0x14]
mov dword [ebx], eax
jmp 0x414029
push 0
push dword [ebx]
push dword [ebx - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebx]
mov eax, dword [esp + 0x18]
xor esi, esi
inc esi
push esi
push 0
push dword [eax + 0x407a0c]
push dword [esp + 0x248]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x20], esi
xor esi, esi
add dword [esp + 0x10], 4
add dword [esp + 0x14], 0x208
add ebx, 4
cmp dword [esp + 0x10], 0x10
jb 0x413f42
mov eax, dword [esp + 0x20]
pop edi
pop ebx
mov ecx, dword [esp + 0x224]
pop esi
pop ebp
call fcn.00414aad
add esp, 0x220
ret 8
Function at 0x4145b7
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [0x4177cc], 2
push esi
push dword [esp + 0xc]
jne 0x4145d0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4145d6
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4145ba
pop esi
ret 4

Function at 0x414aad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417160]
jne 0x414ab6
ret
jmp 0x414abb
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x417160]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x418578]
test eax, eax
je 0x414adf
call eax
cmp dword [0x41857c], 0
je 0x414b26
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x41857c]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00414aad
add ebp, 0x2a8
leave
ret
Function at 0x414ba0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x4157a0
call fcn.00414e64
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x414bf3
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x414bf3
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x414c0b
cmp ecx, 0x20b
je 0x414bf8
mov dword [ebp - 0x1c], ebx
jmp 0x414c1f
cmp dword [eax + 0x84], 0xe
jbe 0x414bf3
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x414c19
cmp dword [eax + 0x74], 0xe
jbe 0x414bf3
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x418584], edi
mov dword [0x418588], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x418574]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x418570]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x418580], eax
call fcn.0040828c
cmp dword [0x417170], ebx
jne 0x414c7c
push fcn.0040828c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00414e52
push 0x417014
push 0x417010
call sub.msvcrt.dll__initterm
mov eax, dword [0x41856c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x418568]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x41700c
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x414d07
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x414ce7
cmp cl, 0x22
jne 0x414cd8
cmp byte [eax], 0x22
jne 0x414cf0
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x414cfb
cmp cl, 0x20
jbe 0x414cec
test byte [ebp - 0x54], 1
je 0x414d12
movzx ecx, word [ebp - 0x50]
jmp 0x414d15
cmp byte [eax], 0x20
jbe 0x414cf0
inc eax
mov dword [ebp - 0x20], eax
jmp 0x414d07
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.00408e80
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x414d33
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x414d6f
mov eax, esi
jmp 0x414d83
call fcn.00414e9f
ret
Function at 0x403400
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x200c
call fcn.0040d360
mov eax, dword [0x4411e4]
mov ecx, dword [0x441158]
shr eax, 3
test eax, eax
jbe 0x403532
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403450
cmp dword [0x4411e4], 0x959
jne 0x403514
push 0
lea eax, [esp + 0x420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0xc20]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1820]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0x402cbc
push 0x402cd8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403240
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
Function at 0x407883
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430ab0]
jne 0x40788d
repz ret
jmp fcn.0040abbb

Function at 0x40a74d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405be8
and dword [ebp - 4], 0
cmp dword [0x431fa8], 0
mov ebx, eax
jne 0x40a7fe
push 0x4023bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023b0
push edi
call esi
test eax, eax
je 0x40a8af
push eax
call fcn.00405b76
mov dword [esp], 0x4023a0
push edi
mov dword [0x431fa8], eax
call esi
push eax
call fcn.00405b76
mov dword [esp], 0x40238c
push edi
mov dword [0x431fac], eax
call esi
push eax
call fcn.00405b76
mov dword [esp], 0x402370
push edi
mov dword [0x431fb0], eax
call esi
push eax
call fcn.00405b76
pop ecx
mov dword [0x431fb8], eax
test eax, eax
je 0x40a7fe
push 0x402358
push edi
call esi
push eax
call fcn.00405b76
pop ecx
mov dword [0x431fb4], eax
mov eax, dword [0x431fb4]
cmp eax, ebx
je 0x40a856
cmp dword [0x431fb8], ebx
je 0x40a856
push eax
call fcn.00405bf1
push dword [0x431fb8]
mov esi, eax
call fcn.00405bf1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a856
test edi, edi
je 0x40a856
call esi
test eax, eax
je 0x40a84d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a84d
test byte [ebp - 0xc], 1
jne 0x40a856
or dword [ebp + 0x10], 0x200000
jmp 0x40a88f
mov eax, dword [0x431fac]
cmp eax, ebx
je 0x40a88f
push eax
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a88f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a88f
mov eax, dword [0x431fb0]
cmp eax, ebx
je 0x40a88f
push eax
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a88f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431fa8]
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a8af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a8b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403340
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x4a04fc]
mov ecx, dword [0x49d404]
sub esp, 0x824
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403447
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4a04fc], 0x959
jne 0x40342d
push 0
call esi
push 0
lea eax, [esp + 0x34]
push eax
push 0x402d5c
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea ecx, [esp + 0x434]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0x402d90
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov eax, dword [esp + 0x14]
push eax
call fcn.004031a0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x824
ret
Function at 0x409c80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4349cc]
jne 0x409c8a
repz ret
jmp fcn.0040d071

Function at 0x40cac7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408613
and dword [ebp - 4], 0
cmp dword [0x435fa4], 0
mov ebx, eax
jne 0x40cb78
push 0x40234c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cc29
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402340
push edi
call esi
test eax, eax
je 0x40cc29
push eax
call fcn.004085a1
mov dword [esp], 0x402330
push edi
mov dword [0x435fa4], eax
call esi
push eax
call fcn.004085a1
mov dword [esp], 0x40231c
push edi
mov dword [0x435fa8], eax
call esi
push eax
call fcn.004085a1
mov dword [esp], 0x402300
push edi
mov dword [0x435fac], eax
call esi
push eax
call fcn.004085a1
pop ecx
mov dword [0x435fb4], eax
test eax, eax
je 0x40cb78
push 0x4022e8
push edi
call esi
push eax
call fcn.004085a1
pop ecx
mov dword [0x435fb0], eax
mov eax, dword [0x435fb0]
cmp eax, ebx
je 0x40cbd0
cmp dword [0x435fb4], ebx
je 0x40cbd0
push eax
call fcn.0040861c
push dword [0x435fb4]
mov esi, eax
call fcn.0040861c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cbd0
test edi, edi
je 0x40cbd0
call esi
test eax, eax
je 0x40cbc7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cbc7
test byte [ebp - 0xc], 1
jne 0x40cbd0
or dword [ebp + 0x10], 0x200000
jmp 0x40cc09
mov eax, dword [0x435fa8]
cmp eax, ebx
je 0x40cc09
push eax
call fcn.0040861c
pop ecx
test eax, eax
je 0x40cc09
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cc09
mov eax, dword [0x435fac]
cmp eax, ebx
je 0x40cc09
push eax
call fcn.0040861c
pop ecx
test eax, eax
je 0x40cc09
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435fa4]
call fcn.0040861c
pop ecx
test eax, eax
je 0x40cc29
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cc2b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b63c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
sub eax, eax
add ebx, ebx
call fcn.0043b682
and eax, eax
or ebx, eax
add ebx, ebx
xor dword [esi], ecx
or ebx, eax
sub ebx, 0xdacce4f
add esi, 1
dec eax
add ebx, ebx
cmp esi, edi
jne fcn.0043b63c
push 0xaf477481
mov eax, dword [esp]
add esp, 4
add ebx, 0x3bfe9d1b
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2ee1c09
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..tls
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x57544854
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219