joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4015ff
Capabilities:
Read file via mapping
Terminate process

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403010], eax
mov eax, dword [0x40300c]
mov esi, dword [0x403008]
mov ebp, dword [0x403004]
mov dword [esp + 0x18], eax
mov eax, dword [section..data]
push 0x46
mov dword [esp + 0x20], eax
pop eax
mov word [esp + 0x20], ax
push 0x4d
pop eax
mov word [esp + 0x22], ax
xor eax, eax
mov word [esp + 0x34], ax
xor edi, edi
mov ebx, ebp
shr ebx, 0x1c
and bl, 0xf
movzx eax, bl
lea ecx, [eax + 0x30]
add eax, 0x57
movzx edx, ax
movzx eax, cx
cmp bl, 0x39
cmovbe edx, eax
shl ebp, 4
mov word [esp + edi*2 + 0x24], dx
inc edi
cmp edi, 8
jl 0x401648
lea eax, [esp + 0x20]
push eax
push esi
xor ebx, ebx
push ebx
push 2
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x401704
push esi
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x4016fd
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi]
add ecx, esi
call fcn.004012a0
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4016f6
cmp dword [esp + 0x14], ebx
je 0x4016f6
push dword [esp + 0x18]
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4016ed
push dword [esp + 0x1c]
mov edx, ebp
push esi
push ecx
mov ecx, ebx
call fcn.00401432
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebp
call fcn.00401762
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4229a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x4229c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4229c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4229b8
mov eax, 1
add ebx, ebx
jne 0x4229db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4229d0
jne 0x4229ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4229d0
xor ecx, ecx
sub eax, 3
jb 0x422a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422a72
mov ebp, eax
add ebx, ebx
jne 0x422a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422a3c
inc ecx
add ebx, ebx
jne 0x422a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422a1d
jne 0x422a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422a4d
jmp 0x4229be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422a5c
add edi, ecx
jmp 0x4229be
pop esi
mov edi, esi
mov ecx, 0x440
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422a7a
cmp byte [edi], 7
jne 0x422a7a
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 eax, ebx
loop 0x422a7f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422af7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22e50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22f2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422aac
mov ecx, edi
jns 0x422adb
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 + 0x22f30]
or eax, eax
je 0x422af1
mov dword [ebx], eax
add ebx, 4
jmp 0x422ac9
call dword [esi + 0x22f34]
popal
jmp 0x4112a0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0xb97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 4
jne 0x41825a
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 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18110]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x18114]
mov ebp, dword [esi + 0x1811c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x418302
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x3519e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [esp + 0x24]
push ecx
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 6
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [0x35523c]
push 0x353140
push 0x6b
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x35523c]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x35523c]
push esi
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x40], esi
xor esi, esi
push 0x10
mov dword [esp + 0x38], 0x3530c0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
cmp edi, esi
je 0x351aa9
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [edi], 0x353160
mov dword [esp + 0x24], esi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov edx, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [esp + 0xc], edi
jmp 0x351aaf
mov dword [esp + 0xc], esi
mov edi, esi
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, esi
je 0x351ac9
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, esi
je 0x351ae3
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [esp + 0x14]
imul ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push esi
push eax
mov dword [0x355238], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov ebx, 0xff000000
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x14], esi
jbe 0x351b91
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
jbe 0x351b82
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipBitmapGetPixel]
test eax, eax
je 0x351b4e
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], eax
jmp 0x351b52
mov ebx, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
mov byte [esi + edi], dl
mov eax, ebx
shr eax, 0x10
mov byte [esi + edi + 1], al
mov eax, dword [esp + 0x18]
mov ecx, ebx
shr ecx, 8
mov byte [esi + edi + 2], cl
inc eax
mov byte [esi + edi + 3], bl
add esi, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x10]
jb 0x351b24
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x14]
jb 0x351b15
push edi
call fcn.00351630
mov eax, dword [ebp + 8]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3e70
mov eax, 1
add ebx, ebx
jne 0x4b3e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3ea4
jne 0x4b3ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ec3
dec eax
add ebx, ebx
jne 0x4b3eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3e88
add ebx, ebx
jne 0x4b3ebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3f15
xor ecx, ecx
sub eax, 3
jb 0x4b3edb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3f4a
sar eax, 1
mov ebp, eax
jmp 0x4b3ee6
add ebx, ebx
jne 0x4b3ee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3eb4
inc ecx
add ebx, ebx
jne 0x4b3ef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3eb4
add ebx, ebx
jne 0x4b3f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3ef6
jne 0x4b3f12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3ef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3f26
jmp 0x4b3e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3f34
add edi, ecx
jmp 0x4b3e76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3f52
cmp byte [edi], 0x13
jne 0x4b3f52
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 0x4b3f57
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3fcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb5d30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb5e84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3f84
mov ecx, edi
jns 0x4b3fb3
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 + 0xb5e88]
or eax, eax
je 0x4b3fc9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3fa1
call dword [esi + 0xb5e98]
mov ebp, dword [esi + 0xb5e8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b4003
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x48df2d
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4932e8
call fcn.0048e6a1
push 1
call fcn.0048e1e9
pop ecx
test al, al
jne 0x48dde4
push 7
call fcn.0048e463
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0048e1b4
mov byte [ebp - 0x24], al
mov eax, dword [0x49993c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x48dddd
test eax, eax
jne 0x48de4e
mov dword [0x49993c], ecx
push 0x48f4b8
push 0x48f4a4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x48de31
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x48df27
push 0x48f4a0
push 0x48f498
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x49993c], 2
jmp 0x48de53
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0048e356
pop ecx
call fcn.0048e457
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x48de83
push esi
call fcn.0048e2cc
pop ecx
test al, al
je 0x48de83
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0048e69b
call esi
call fcn.0048e45d
mov esi, eax
cmp dword [esi], edi
je 0x48dea1
push esi
call fcn.0048e2cc
pop ecx
test al, al
je 0x48dea1
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.0048e579
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0048e5ac
test al, al
jne 0x48decc
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x48ded5
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0048e373
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x48df27
call fcn.0048e6e6
ret
call fcn.0048dc76
jmp 0x48ddc5

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004227db

Function at 0x404530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5e6000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0xd98], 0
je 0x404565
mov dword [edi + 0xd9c], 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055cc1b
mov esp, ebp
pop ebp
ret
push ebx
push esi
sub esp, 8
lea esi, [edi + 0x6c8]
mov ecx, esi
push 0xbe
call fcn.0040bba0
mov eax, dword [esi + 0x98]
mov ecx, esi
push 1
push dword [esi + 0x9c]
sar eax, 2
push eax
push 0x208
push 0x2c7
call fcn.004301c4
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [esi + 0x20]
call ebx
push 1
mov ecx, esi
call fcn.0042f956
push 1
push 0
push dword [esi + 0x20]
call ebx
lea ebx, [esi + 0xd0]
test ebx, ebx
je 0x4045d0
cmp dword [ebx + 0x20], 0
jne 0x4045f2
mov eax, dword [ebx]
mov ecx, ebx
push 0
push esi
call dword [eax + 0x164]
push 0
push 1
push 0x401
push dword [esi + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x40d
push dword [esi + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x404632
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push 0x5c0d00
push esi
call fcn.00432e8b
push 1
push esi
push 0x5c0d00
mov ecx, ebx
call fcn.004337b4
push 0
lea ecx, [edi + 0x278]
call fcn.0042f956
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [edi + 0x298]
call ebx
push 0
lea ecx, [edi + 0x3e8]
call fcn.0042f956
push 1
push 0
push dword [edi + 0x408]
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x140000
push 0
push 0x401
push dword [edi + 0x148]
mov dword [edi + 0xd98], 1
mov dword [edi + 0xd9c], 0
call ebx
push 0
push 1
push 0x404
push dword [edi + 0x148]
call ebx
push 0
push 0
push edi
push 0x404500
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
mov dword [edi + 0xdac], eax
xor ecx, ebp
pop edi
call fcn.0055cc1b
mov esp, ebp
pop ebp
ret
Function at 0x407990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4079b9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4079cf
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4079c6
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x407a02
nop
cmp esi, ecx
jae 0x4079c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4079f0
cmp esi, ecx
jae 0x4079c6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.0042ed64
mov esi, dword [eax + 0xc]
mov eax, 0x5c09b4
cmp eax, 2
jne 0x408b17
push 0x2000
push 0
push 0
push 0
push 0xc3
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
push eax
lea ecx, [edi + 0x8c]
call fcn.00407e40
jmp 0x408bbe
push 0x5c09b4
push 0xc3
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x408c41
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408c41
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x408c41
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x408c41
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call fcn.0055ff10
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x408bb0
push dword [ebp - 4]
lea ecx, [edi + 0x8c]
call fcn.00408140
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [edi + 0xa4], 0x20
mov eax, dword [edi + 0x98]
mov esi, dword [edi + 0x9c]
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], esi
jne 0x408c33
lea edx, [esi - 1]
imul esi, eax
imul edx, dword [edi + 0xa0]
add edx, dword [edi + 0x94]
test esi, esi
je 0x408c33
nop word [eax + eax]
movzx ecx, byte [edx + 3]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
imul eax, ecx
shr eax, 8
mov byte [edx - 4], al
movzx eax, byte [edx - 3]
imul eax, ecx
shr eax, 8
mov byte [edx - 3], al
movzx eax, byte [edx - 2]
imul eax, ecx
shr eax, 8
mov byte [edx - 2], al
sub esi, 1
jne 0x408c00
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e6000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0xb0], 0
jne 0x40b263
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00560490
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40b263
push esi
push 0x5c29e0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40b262
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x40b25b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0xb0], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0055cc1b
mov esp, ebp
pop ebp
ret

Function at 0x40b280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e6000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x210]
push esi
push edi
mov edi, dword [ebp + 0x10]
push ecx
push 1
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40b30e
push 0x208
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x104
push eax
call fcn.00560490
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055cc1b
mov esp, ebp
pop ebp
ret 0xc