joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8b69b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2d9000]
push edi
jmp 0x8b69ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8b69d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b69c0
mov eax, 1
add ebx, ebx
jne 0x8b69e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8b69f4
jne 0x8b6a13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b6a13
dec eax
add ebx, ebx
jne 0x8b6a00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8b69d8
add ebx, ebx
jne 0x8b6a0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8b6a65
xor ecx, ecx
sub eax, 3
jb 0x8b6a2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8b6a9a
sar eax, 1
mov ebp, eax
jmp 0x8b6a36
add ebx, ebx
jne 0x8b6a36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b6a04
inc ecx
add ebx, ebx
jne 0x8b6a44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b6a04
add ebx, ebx
jne 0x8b6a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8b6a46
jne 0x8b6a62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8b6a46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8b6a84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8b6a76
jmp 0x8b69c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8b6a84
add edi, ecx
jmp 0x8b69c6
pop esi
mov edi, esi
mov ecx, 0xc687
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8b6aa2
cmp byte [edi], 0x19
jne 0x8b6aa2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8b6aa7
lea edi, [esi + 0x4a6000]
mov eax, dword [edi]
or eax, eax
je 0x8b6b1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4be5d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4be710]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8b6ad4
mov ecx, edi
jns 0x8b6b03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4be714]
or eax, eax
je 0x8b6b19
mov dword [ebx], eax
add ebx, 4
jmp 0x8b6af1
call dword [esi + 0x4be724]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8b6b50
cmp al, 0xef
ja 0x8b6b43
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8b6b25
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8b6b32
mov ebp, dword [esi + 0x4be718]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x277]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8b6b84
sub esp, 0xffffff80
jmp 0x5731c9
Function at 0x403874
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x468020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40390c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038ec
xor eax, eax
push ebp
push 0x4038e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403928
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4038ec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x468020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x468020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40475c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46a04c], 0
je 0x4047bd
cmp word [0x46a220], 0xd7b2
jne 0x404785
cmp dword [0x46a228], 0
jbe 0x404785
mov eax, 0x46a21c
call dword [0x46a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x468070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4047e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x468030], 0
jne 0x4047d9
push 0
push 0x468068
push 0x468070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406954
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4069ba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404b50
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040327c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069c1
lea eax, [ebp - 0x10]
call fcn.004048e0
ret

Function at 0x40bd14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd4d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049d0
jmp 0x40bd56
mov eax, ebx
mov edx, esi
call fcn.00404934
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd60
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bd81
mov al, byte [esp]
jmp 0x40bd83
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c418
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c280
mov eax, dword [0x469d28]
cmp byte [eax], 0
je 0x40c494
mov eax, dword [0x469b2c]
call fcn.004030dc
call fcn.00402c14
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004094d0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c4dc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c4ca
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469ad8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a668]
call fcn.00405da4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cd80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ce56
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404978
lea eax, [ebp - 8]
call fcn.00404df0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404da0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce40
mov eax, ebx
call fcn.00402a88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404da0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce23
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce68
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce23
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce40
mov eax, dword [ebp - 0x10]
call fcn.00402ab8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce5d
lea eax, [ebp - 8]
call fcn.004048e0
ret

Function at 0x40d3c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d428
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404b50
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408fe4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d42f
lea eax, [ebp - 0xc]
call fcn.004048e0
ret

Function at 0x41e900
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46a890
cmp dword [edi], 0
jne 0x41e97c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46a88c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46840c
mov ecx, 2
call fcn.00402ca8
mov edx, 0x41e8d8
lea eax, [esi + 5]
call fcn.0041e8f8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e8f8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41e951
mov dword [0x46a88c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41fef0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fef6
ret
Function at 0x4223bc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42240d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4223f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4223e4
jmp 0x42240d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4223f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42859c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x428638
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call fcn.00404f2c
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call fcn.00404df8
lea edx, [ebp + 0x30]
mov byte [eax + esi - 1], dl
dec esi
test ebx, ebx
jne 0x4285c4
cmp byte [esp], 0
je 0x428609
mov eax, edi
call fcn.00404df8
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x428644
mov eax, edi
call fcn.00404df8
push eax
mov eax, edi
call fcn.00404df8
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.00402ca8
mov edx, ebx
mov eax, edi
call fcn.00404f2c
jmp 0x428644
mov eax, edi
mov edx, 0x428654
call fcn.00404934
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428c9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d90
xor eax, eax
push ebp
push 0x428cfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404934
mov eax, ebx
call fcn.00404df0
mov eax, dword [ebx]
call fcn.00404ba0
test eax, eax
jle 0x428ce8
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x428cdd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d05
lea eax, [ebp - 4]
call fcn.004048e0
ret

Function at 0x429348
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x429390
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x429386
cmp word [edi], 0x5a4d
jne 0x429386
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x429386
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42939c
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4294d4
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x42951a
push 0x20a
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov ebx, eax
push 0x104
push ebx
push esi
call sub.kernel32.dll_GetModuleFileNameW
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileW
mov ebx, eax
jmp 0x42954b
push 0x105
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov ebx, eax
push 0x104
push ebx
push esi
call sub.kernel32.dll_GetModuleFileNameA_1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x429582
push 0
push 0
push 0
push 2
push 0
push ebx
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
je 0x42957c
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
push esi
call sub.kernel32.dll_CloseHandle_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x42c640
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffedc
mov ebp, ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
push 0x1c
lea eax, [esp + 4]
push eax
push edi
call sub.kernel32.dll_VirtualQuery_1
cmp eax, 0x1c
jne 0x42c6bc
cmp dword [esp + 0x10], 0x1000
jne 0x42c6bc
cmp dword [esp + 4], 0
je 0x42c6bc
push 0x104
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
test eax, eax
je 0x42c6bc
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esi]
cmp word [eax], 0x5a4d
jne 0x42c6bc
mov eax, dword [esi]
mov edx, dword [esi]
add edx, 0x3c
add eax, dword [edx]
cmp dword [eax], 0x4550
jne 0x42c6bc
mov edx, dword [esi]
add edx, dword [eax + 0x78]
mov dword [ebp], edx
cmp dword [ebp], 0
setne bl
mov eax, ebx
add esp, 0x124
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42edfc
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
cmp dword [0x46920c], 0xffffffff
jne 0x42ee4b
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x42ee44
mov eax, esp
mov edx, 0x114
call fcn.00407974
mov dword [esp], 0x114
mov eax, esp
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 6
setae al
and eax, 0x7f
mov dword [0x46920c], eax
jmp 0x42ee4b
xor eax, eax
mov dword [0x46920c], eax
cmp dword [0x46920c], 1
sete al
add esp, 0x114
ret

Function at 0x42f59c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x42f653
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, 0x42f66c
call fcn.00428c9c
push dword [ebp - 0xc]
push 0x42f680
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov cl, byte [ebp - 1]
mov eax, 0x42f68c
call fcn.0042f460
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c60
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404da0
push eax
call fcn.0042f17c
mov esi, eax
test esi, esi
je 0x42f638
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
test eax, eax
je 0x42f632
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f65a
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404904
ret

Function at 0x42f8e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov edi, eax
xor esi, esi
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x42f955
mov ebx, 0x5f040000
jmp 0x42f943
cmp dword [esp + 0x10], 0x10000
jne 0x42f921
push 0x40
push 0x2000
push edi
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
jmp 0x42f955
cmp dword [esp + 0xc], 0x10000
jae 0x42f935
mov dword [esp + 0xc], 0x10000
jmp 0x42f93d
and dword [esp + 0xc], 0xffff0000
mov eax, dword [esp + 0xc]
add ebx, eax
push 0x1c
lea eax, [esp + 4]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp eax, 0x1c
je 0x42f901
push 0x40
push 0x1000
push edi
push esi
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, esi
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x42fabc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
pushfd
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x4691f8]
cmp eax, 0x1c
jne 0x42fb37
cmp dword [ebp - 0xc], 0x1000
jne 0x42fb32
cmp dword [ebp - 0x18], 0
je 0x42fb32
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
je 0x42fb32
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0
jne 0x42fb11
mov eax, dword [ebp - 0x18]
cmp eax, 0x80000000
jae 0x42fb37
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4691c8]
cmp eax, 0
je 0x42fb32
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call dword [0x469214]
add ebx, dword [ebp - 0x10]
jmp 0x42fad3
popfd
popal
add esp, 0x20
pop ebp
ret 0xc
Function at 0x433474
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x433659
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 0x433674
call fcn.0042c4b8
mov dword [0x46a960], eax
xor edx, edx
mov eax, 0x433698
call fcn.0042c4b8
mov dword [0x46a964], eax
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404f2c
lea eax, [ebp - 8]
call fcn.00404df8
mov byte [eax], 0x72
lea eax, [ebp - 8]
call fcn.00404df8
mov byte [eax + 1], 0x64
lea eax, [ebp - 8]
call fcn.00404df8
mov byte [eax + 2], 0x65
lea eax, [ebp - 8]
call fcn.00404df8
mov byte [eax + 3], 0x63
lea eax, [ebp - 8]
call fcn.00404df8
mov byte [eax + 4], 0x20
lea edx, [ebp - 0xc]
mov eax, 0x4336c0
call fcn.00428c9c
push dword [ebp - 0xc]
push 0x4336d0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00428930
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404da0
push eax
push 0
push 0
call fcn.00406eb0
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x43363e
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [0x46a954], esi
mov dword [0x46a958], edi
cmp dword [0x46a960], 0
je 0x433590
cmp dword [0x46a964], 0
jne 0x433610
mov eax, 0x4336dc
call fcn.0042c5b4
mov esi, eax
cmp dword [esi], 0x4244c8b
jne 0x433622
lea eax, [esi + 4]
mov eax, dword [eax]
and eax, 0xffffff
cmp eax, 0x241c8b
jne 0x433622
lea eax, [esi + 7]
cmp byte [eax], 0x51
jne 0x433622
lea eax, [esi + 8]
cmp byte [eax], 0x53
jne 0x433622
lea eax, [esi + 9]
cmp byte [eax], 0xe8
jne 0x433622
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea eax, [esi + 0xa]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x433622
lea edx, [esi + 0xe]
lea eax, [esi + 0xa]
add edx, dword [eax]
mov dword [0x46a95c], edx
mov edx, 0x433424
sub edx, esi
sub edx, 0xe
mov dword [eax], edx
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 4]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov bl, 1
jmp 0x433622
push 0x4333d0
push 1
call dword [0x46a960]
test eax, eax
setne bl
test bl, bl
jne 0x43363e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433660
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404904
ret
Function at 0x4336f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
cmp dword [0x46a960], 0
je 0x433710
cmp dword [0x46a964], 0
jne 0x433767
mov eax, 0x433780
call fcn.0042c5b4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea esi, [ebx + 0xa]
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x43374d
mov eax, dword [0x46a95c]
sub eax, ebx
sub eax, 0xe
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push 4
push esi
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x433772
push 0x4333d0
call dword [0x46a964]
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4367a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x43687d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469304], 0
jne 0x436849
lea edx, [ebp - 8]
mov eax, 0x436894
call fcn.00428c9c
push dword [ebp - 8]
lea edx, [ebp - 0xc]
mov eax, 0x4368a4
call fcn.00428c9c
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00428930
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404c60
mov eax, dword [ebp - 4]
call fcn.00404da0
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [0x469304], eax
mov eax, dword [0x469304]
xor edx, edx
mov dword [eax], edx
push ebx
call sub.kernel32.dll_CloseHandle_1
cmp dword [0x469304], 0
je 0x436860
mov eax, dword [0x469304]
call fcn.00436790
mov ebx, eax
jmp 0x436862
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436884
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404904
ret