joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a2ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4a761b
call fcn.00483fef
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42a36b
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42a36b
call fcn.00417ca7
mov esi, eax
jmp 0x42a442
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42a38e
call fcn.00417ca7
jmp 0x42a435
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x42a384
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42a3be
mov esi, 0x8007000e
jmp 0x42a437
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004263ce
jmp 0x42a3e4
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42a3b7
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x42a384
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0042a1b5
mov esi, eax
test edi, edi
je 0x42a442
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42a45b
lea ecx, [ebp - 0x418]
call fcn.004291d2
mov eax, esi
call fcn.00483f41
ret 0x10
Function at 0x42cbd1
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x4a7a11
call fcn.00483f50
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
xor edi, edi
inc edi
push 0x4afa80
mov dword [ebp - 4], edi
call fcn.0040181c
mov esi, dword [0x4f3280]
push 0x12
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x14], edi
cmp edx, edi
jne 0x42cc3e
push 0x62
mov ecx, ebx
pop edi
jmp 0x42cc2e
mov eax, esi
or eax, 0xffffff07
add esi, eax
mov eax, esi
imul eax, esi
inc ecx
cmp ecx, eax
jg 0x42cc38
mov eax, esi
cdq
idiv edi
cmp edx, 0x2b
jne 0x42cc1b
mov dword [0x4f3280], ecx
mov eax, dword [ebp + 0xc]
mov esi, ebx
cmp dword [eax - 0xc], ebx
jle 0x42cc90
push esi
lea ecx, [ebp + 0xc]
call fcn.00403a28
mov byte [ebp - 0x10], al
lea eax, [esi + 1]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403a28
push 0x10
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 0xe], bl
call fcn.00489540
mov ecx, dword [ebp + 8]
xor al, 0x48
cbw
movzx eax, ax
add esp, 0xc
push eax
call fcn.0042c59c
mov eax, dword [ebp + 0xc]
add esi, 2
cmp esi, dword [eax - 0xc]
jl 0x42cc48
lea ecx, [eax - 0x10]
call fcn.00404d08
mov eax, dword [ebp + 8]
call fcn.00483f1e
ret

Function at 0x42d1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push eax
call fcn.00484d42
pop ecx
call fcn.0042dc4b
test al, al
jne 0x42d22b
mov edx, dword [0x4f3280]
push esi
xor ecx, ecx
push edi
push 8
mov esi, ecx
pop edi
mov eax, esi
and eax, 1
dec eax
not eax
and eax, edx
sar esi, 1
xor esi, eax
dec edi
jne 0x42d207
add edx, esi
inc ecx
cmp ecx, 0x100
jl 0x42d202
pop edi
mov dword [0x4f3280], edx
pop esi
mov eax, dword [ebp - 8]
leave
ret
Function at 0x42d572
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x230
mov eax, 0x4a7aff
call fcn.00483f83
mov edi, dword [ebp + 8]
and dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d5b4
xor al, al
jmp 0x42d7bb
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
xor ebx, ebx
call fcn.004845c0
add esp, 0xc
call fcn.0042dcb7
test al, al
jne 0x42d5fc
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x4f3280]
push 7
pop edx
test eax, eax
cmove ecx, edx
mov dword [0x4f3280], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push ecx
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42d79f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040185d
and dword [ebp - 4], 0
and dword [ebp - 0x224], 0
push 0x4b0448
lea ecx, [ebp - 0x22c]
call fcn.0040185d
push 0x4f19f8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004016bd
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 2
call fcn.0041db62
lea ecx, [ebp - 0x22c]
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.0041db62
add esp, 0x18
lea ecx, [ebp - 0x224]
push ecx
push 0x20019
push 0
push dword [eax]
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404d08
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.00404d08
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00404d08
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00404d08
call fcn.0042dc91
test al, al
jne 0x42d71b
push 4
call fcn.00482ffe
pop ecx
mov ecx, dword [0x4f3280]
mov dword [eax], ecx
test esi, esi
jne 0x42d757
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040185d
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00416272
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00404d08
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
inc ebx
push ebx
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x228]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404d08
test esi, esi
je 0x42d62f
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 4]
sub eax, dword [edi]
xor ecx, ecx
sar eax, 2
cmp ecx, eax
sbb eax, eax
neg eax
call fcn.00483f32
ret
Function at 0x4311b0
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.00484da0
mov eax, dword [0x4f1e38]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x431215
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x431215
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00489c9f
add eax, 0x40
push eax
call fcn.00489ad7
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00483eb4
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00489a12
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4312a4
call fcn.00431070
test eax, eax
jle 0x4312a4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00483eb4
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00483eb4
add esp, 0x108
ret

Function at 0x4362c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x436307
mov al, byte [edx]
test al, al
je 0x436307
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x4362d7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x443290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.00484da0
mov eax, dword [0x4f1e38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x4432c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4432c0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x443338
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x44331a
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x443338
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x4433ca
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x4433b8
lea eax, [esi + esi]
call fcn.00488140
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x4433ca
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443363
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x4433ca
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00485dfd
mov esi, eax
add esp, 8
test esi, esi
jne 0x44346e
call fcn.0048b80e
cmp dword [eax], 2
je 0x4433b0
call fcn.0048b80e
cmp dword [eax], 9
jne 0x4433c2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.00488861
mov esi, eax
add esp, 8
test esi, esi
jne 0x44346e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0042fd20
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x4be564
push eax
push 0x4be560
push ecx
push str.fopen_
push 5
call fcn.0042f900
add esp, 0x2c
call fcn.0048b80e
cmp dword [eax], 2
jne 0x443440
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0042fd20
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483eb4
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0042fd20
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483eb4
mov esp, ebp
pop ebp
ret
push 0x4f0eb8
call fcn.0042e370
mov edi, eax
add esp, 4
test edi, edi
jne 0x4434a0
push esi
call fcn.00485f8d
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483eb4
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0042de00
push esi
push 1
push 0x6a
push edi
call fcn.0042e160
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00483eb4
mov esp, ebp
pop ebp
ret
Function at 0x462120
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x462139
mov esi, edi
mov edi, eax
jmp 0x46213b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x46214b
mov eax, ebx
jmp 0x462155
push eax
push ebx
call fcn.00433430
add esp, 8
test eax, eax
jne 0x46215d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x462179
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x462164
cmp eax, dword [esi + 4]
jge 0x462190
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x462180
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4621b1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4621ae
dec eax
test eax, eax
jg 0x4621a0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x49b8d8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f1e38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0048da78
mov dword [ebp - 0x14], eax
cmp dword [0x4f7038], edi
jne 0x49b9c9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x49b956
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49baa9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x49baa9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49baa9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4f7038], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4f703c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4e21bc
push esi
mov dword [0x4f7040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f7048], eax
test eax, eax
je 0x49b9c6
push 0x4e21d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f7044], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49b9ee
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49b9e1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x49ba03
push 4
pop eax
jmp 0x49baab
cmp dword [ebp - 0x14], edi
je 0x49ba03
push dword [0x4f7038]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49b9e8
mov eax, dword [0x4f7044]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x49ba61
cmp dword [0x4f7048], esi
je 0x49ba61
push eax
call ebx
push dword [0x4f7048]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49ba61
test eax, eax
je 0x49ba61
call ecx
test eax, eax
je 0x49ba56
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49ba56
test byte [ebp - 8], 1
jne 0x49ba61
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x49ba91
mov eax, dword [0x4f703c]
cmp eax, esi
je 0x49ba8e
push eax
call ebx
test eax, eax
je 0x49ba8e
call eax
mov edi, eax
test edi, edi
je 0x49ba8e
mov eax, dword [0x4f7040]
cmp eax, esi
je 0x49ba8e
push eax
call ebx
test eax, eax
je 0x49ba8e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4f7038]
call ebx
test eax, eax
je 0x49baa9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x49baab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00483eb4
leave
ret
Function at 0x49df1e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0048eb79
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x49df56
xor eax, eax
jmp 0x49df82
cmp esi, dword [ebp - 4]
je 0x49df7f
cmp dword [ebp + 0xc], 0
je 0x49df7f
push dword [edi + 0x9c]
call fcn.0049db2c
push dword [edi + 0x9c]
mov esi, eax
call fcn.004846da
pop ecx
pop ecx
cmp esi, eax
je 0x49df52
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40673a
pop dword [ebp - 0x18]
mov eax, 0xad6ab893
sub eax, 0xad2a5159
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x28d128ed
sub dword [ebp - 0x28], 0xda7ee3a2
mov dword [ebp - 0x24], 0x47f9f25
sub dword [ebp - 0x24], 0xd24c52e0
mov dword [ebp - 0x20], 0xea6080f9
sub dword [ebp - 0x20], 0x9e143ccb
mov dword [ebp - 0x1c], 0x7f729586
add dword [ebp - 0x1c], 0x808d6a7a
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xb9ae6e5f
sub dword [ebp - 0x28], 0x453c0509
mov dword [ebp - 0x24], 0x1668229e
sub dword [ebp - 0x24], 0xd4fbc129
mov dword [ebp - 0x20], 0x9823a9e0
add dword [ebp - 0x20], 0xcb4bc28c
mov dword [ebp - 0x1c], 0xc5a9f561
add dword [ebp - 0x1c], 0x3a560a9f
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xa4276427
add eax, 0x5c191cd9
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3cd99
push 0
call eax
mov ecx, 0x5d56
xor edi, edi
add edi, eax
mov ebx, 0x63923754
add ebx, 0x9cb4acac
add ebx, dword [ebp - 0x18]
mov esi, 0x5cc9ef0f
xor dword [ebp - 0xc], ebx
mov edx, dword [ebx]
sub dword [ebp - 4], edx
sub edx, esi
xor dword [ebp - 8], 0x41f650a7
mov dword [edi], edx
sub dword [ebp - 0x10], eax
add edi, 0x13668ced
sub edi, 0x13668ce9
add ebx, 4
loop 0x40684d
add eax, 0x49322859
add eax, 0xb6cf3fd2
mov ebx, eax
add eax, 0x238573b3
sub eax, 0x238573ae
mov ecx, 0x9128906f
add ecx, 0x6f176f91
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1ef06539
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
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
nop
nop
nop
nop
jne 0x432024
mov eax, section..rsrc
nop
nop
mov ebx, 0x42f314
mov ecx, 0x46a83e26
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x89b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x89b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x89b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89b06a
add dl, dl
jne 0x89b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89b0dc
xor eax, eax
add dl, dl
jne 0x89b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89b17d
add dl, dl
jne 0x89b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x89b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x89b075
mov eax, 1
add dl, dl
jne 0x89b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x89b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89b0e1
sub eax, ebx
mov ebx, 1
jne 0x89b128
mov ecx, 1
add dl, dl
jne 0x89b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x89b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x89b136
cmp eax, 0x7d00
jae 0x89b16d
cmp eax, 0x500
jb 0x89b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89b075
cmp eax, 0x7f
ja 0x89b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x89b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x89b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x89b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x642c527e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x642c8008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
mov ebx, edx
mov edi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [section..data]
cmp eax, section..data
je 0x642c52dc
test byte [eax + 0x1c], 2
je 0x642c52dc
cmp byte [eax + 0x19], 5
jb 0x642c52dc
push dword [eax + 0x14]
mov edx, 0x642c18f0
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.642c1faa
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x642c532b
mov eax, dword [section..data]
cmp eax, section..data
je 0x642c531f
test byte [eax + 0x1c], 2
je 0x642c531f
cmp byte [eax + 0x19], 2
jb 0x642c531f
push edi
push dword [eax + 0x14]
mov edx, 0x642c18f0
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.642c1fc8
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x642c5375
lea eax, [ebp - 0x214]
mov edx, 0x105
push eax
mov ecx, ebx
call fcn.642c1e50
mov edi, eax
test edi, edi
jns 0x642c5372
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x642c531f
test byte [ecx + 0x1c], 2
je 0x642c531f
cmp byte [ecx + 0x19], 2
jb 0x642c531f
movzx eax, di
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xc
pop ecx
call fcn.642c5183
jmp 0x642c531f
xor esi, esi
inc esi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.642c7750
leave
ret 4