joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1a4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4122e4], 0
jne 0x40c225
cmp dword [0x412304], 0
jne 0x40c1d4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x412304], eax
test eax, eax
jne 0x40c1d4
push str.GetEnvironmentStrings_failed
call fcn.0040b214
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x412304]
jmp 0x40c1e8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c1e0
lea edi, [ebp + 1]
push edi
call fcn.00404260
pop ecx
mov ebx, eax
mov dword [0x4122e8], ebx
test ebx, ebx
jne 0x40c212
xor eax, eax
jmp 0x40c2e8
push edi
mov edx, dword [0x412304]
push edx
push ebx
call fcn.00404fdc
add esp, 0xc
jmp 0x40c245
xor esi, esi
mov ebx, dword [0x4122e4]
jmp 0x40c23f
push eax
call fcn.0040512c
pop ecx
test eax, eax
jne 0x40c23b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c22f
lea ebx, [esi + 4]
push 4
mov dword [0x4122ec], ebx
inc ebx
push ebx
call fcn.00404060
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40c268
xor eax, eax
jmp 0x40c2e8
cmp dword [0x4122e4], 0
jne 0x40c299
xor esi, esi
mov ebx, dword [0x4122e8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40c28a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c280
jmp 0x40c2ca
xor esi, esi
mov ebx, dword [0x4122e4]
mov eax, dword [esp]
mov edi, eax
jmp 0x40c2c4
push eax
call fcn.0040512c
pop ecx
test eax, eax
je 0x40c2b9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40c2bd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c2a8
mov eax, dword [0x4122e4]
test eax, eax
je 0x40c2da
push eax
call fcn.00404270
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4122e4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xe19d54
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add bl, ch
jmp 0xe19d5e
add byte [esi], cl
add eax, 0
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0xe19d5e
pushal
call 0xe19d64
pop ebp
sub ebp, 0x10
sub ebp, 0xa19d54
jmp 0xe19d7a
mov eax, 0xa19d54
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a9
mov edx, 0x92069093
xor byte [eax], dl
inc eax
dec ecx
jne 0xe19d91
jmp 0xe19da4
sbb byte [esi + 0x18], bl
sbb ch, byte [edi + 0x12939393]
push edx
imul edx, dword [ebx + 0x5e909393], 0x2b
xchg esp, eax
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
sub dword [ebx + 0x64939393], edi
jno 0xe19d51
pop ebx
sbb byte [edx], dl
lahf
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
nop
push esi
ret
Function at 0x1000a41d
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000a46f
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000a455
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000a453
push 0xc7
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1000a46d
push 0
push 0x24e7
push 0
push 0
push 0x178
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000a47d
push 0
push 0x197
call fcn.10019f66
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000a913
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000a949
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 0x6a59
push 1
push dword [ebp - 4]
push 0x13d4
push dword [ebp - 8]
call fcn.1000a971
add esp, 0x14
jmp 0x1000a96d
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000a965
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1000a96d
push 0
call dword [sym.imp.USER32.dll_DestroyMenu]
mov esp, ebp
pop ebp
ret

Function at 0x1000b973
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000b9b8
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1000b99d
push 0xb8f
call dword [sym.imp.USER32.dll_HideCaret]
jmp 0x1000b9b6
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1a6b
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000b9d5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x61d8
push 0x5b2
push 1
push dword [ebp - 8]
call fcn.100095a1
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1000bebc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x44]
test eax, eax
je 0x1000bf60
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000bf10
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000bf0e
push 0
push 0x24e7
push 0
push 0
push 0x178
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000bf5b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1000bf3e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x1000bf5b
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.10026d01
mov dword [eax], 0x5d6c05ba
jmp 0x1000bf33
jmp 0x1000bfef
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x59b5
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x3bba
push 1
push dword [ebp - 0x3c]
push 0x6989
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x4d56
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x16b7
call fcn.100095c3
add esp, 0x48
mov esp, ebp
pop ebp
ret
Function at 0x100112c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001132b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10011306
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0x10], 0
jmp 0x10011329
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10011329
push 0x2146
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1001134c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push 0x5301
call fcn.10021b19
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10020534
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10020594
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10020564
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10020592
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10020592
push 0x6f9
push 0
push 0
push 0
push 0xa4d
push 0
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
jmp 0x100205ba
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 1
push 0x3250
push dword [ebp - 0x14]
push 0x7aaa
push dword [ebp - 0x18]
call fcn.1000a02f
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x100478ab
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 0xc], 0x49c5
cmp dword [esp + 0xc], 0x4c83
push esi
push edi
jle 0x1004792a
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], esi
mov ebx, esi
mov esi, 0x2ff6
mov eax, ebx
lea ecx, [esp + 0x18]
or eax, edi
cdq
push edx
push eax
call fcn.1004550c
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100478f2
mov eax, dword [eax]
push eax
call fcn.1004e3a9
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.10027530
dec ebx
dec esi
jne 0x100478d8
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x1c94
jl 0x100478d1
inc edi
cmp edi, 0x25f
jl 0x100478cb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp dword [esp + 0x14], 0x4758
jge 0x1004793f
push 0x10007cc4
call fcn.1004e3a9
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10047a97
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100680d4
call fcn.10066958
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x4c1a
cmp dword [ebp - 0x18], 0x4d9d
push edi
mov dword [ebp - 0x10], esp
jle 0x10047af5
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], esi
mov ebx, esi
mov esi, 0x6e50
mov eax, ebx
mov ecx, 0x10658678
xor eax, edi
cdq
push edx
push eax
call fcn.10047cc3
dec ebx
dec esi
jne 0x10047ac8
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x5553
jl 0x10047ac1
inc edi
cmp edi, 0x14ad
jl 0x10047abc
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x4aa4
jge 0x10047b11
mov edx, 0x10007d48
mov ecx, 0x10658678
call fcn.1002b007
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10062235
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006c750]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10052428
mov dword [ebp - 0x14], eax
cmp dword [0x106597a0], esi
jne 0x10062328
push 0x800
push esi
push 0x100076f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100622b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10062408
push esi
push esi
push 0x100076f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10062408
push 0x10007710
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10062408
push eax
call ebx
push 0x1000771c
push edi
mov dword [0x106597a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000772c
push edi
mov dword [0x106597a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007740
push edi
mov dword [0x106597a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106597b0], eax
test eax, eax
je 0x10062325
push 0x1000775c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106597ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006234d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10062340
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10062362
push 4
pop eax
jmp 0x1006240a
cmp dword [ebp - 0x14], esi
je 0x10062362
push dword [0x106597a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10062347
mov eax, dword [0x106597ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100623c0
cmp dword [0x106597b0], edi
je 0x100623c0
push eax
call ebx
push dword [0x106597b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100623c0
test eax, eax
je 0x100623c0
call ecx
test eax, eax
je 0x100623b5
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 0x100623b5
test byte [ebp - 8], 1
jne 0x100623c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100623f0
mov eax, dword [0x106597a4]
cmp eax, edi
je 0x100623ed
push eax
call ebx
test eax, eax
je 0x100623ed
call eax
mov esi, eax
test esi, esi
je 0x100623ed
mov eax, dword [0x106597a8]
cmp eax, edi
je 0x100623ed
push eax
call ebx
test eax, eax
je 0x100623ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106597a0]
call ebx
test eax, eax
je 0x10062408
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006240a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004fa78
mov esp, ebp
pop ebp
ret
Function at 0x1004cad
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 8], ebx
jne 0x1004cc5
xor eax, eax
jmp 0x1004d45
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1004d43
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x7fff
jae 0x1004d39
push esi
call sub.cmutil.dll_CmMalloc
mov edi, eax
cmp edi, ebx
je 0x1004d39
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004d39
cmp byte [edi], bl
mov eax, edi
je 0x1004d39
mov cl, byte [eax]
cmp cl, 9
je 0x1004d37
cmp cl, 0xa
je 0x1004d37
cmp cl, 0xd
je 0x1004d37
inc eax
cmp byte [eax], bl
jne 0x1004d1f
jmp 0x1004d39
mov byte [eax], bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret 4

Function at 0x4011b3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov cl, byte [0x403050]
mov edx, eax
mov edi, dword [0x403050]
sar edx, cl
mov ebx, eax
sub edi, edx
mov eax, 0x403054
mov edx, edi
call fcn.004010f0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402ac1
push edx
sub edi, fcn.0040226b
push edi
xor eax, eax
push fcn.0040226b
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401229
mov eax, fcn.0040226b
mov ebx, esi
mov edx, edi
call fcn.004010f0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.00401a6f
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x402038
Capabilities:
Check if file exists
Get graphical window text
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x6cc, 0
sub ebp, 0x82
lea ebx, [ebp - 0x1c2]
push ebx
xor eax, eax
push 2
mov word [ebp + 0x4e], ax
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x104
lea ebx, [ebp - 0x3ca]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
lea ebx, [ebp + 0x5e]
call dword [sym.imp.OLE32.DLL_CoInitialize]
push ebx
mov dword [ebp + 0x7e], 1
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
lea eax, [ebp + 0x7e]
push eax
lea eax, [ebp - 0x64a]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, eax
xor eax, eax
mov word [ebp + 0x6e], ax
lea eax, [ebp + 0x6e]
push eax
lea eax, [ebp + 0x4e]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
push 0x80
lea eax, [ebp - 0x32]
push eax
push 0
call dword [sym.imp.USER32.DLL_GetWindowTextA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
sub ebx, 0x6f
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
mov eax, ebx
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret
Function at 0xdb1e90
Capabilities:
Encode data using xor

Disassembly:
les ecx, [eax]
xor cl, byte [esi + ebx*4 + 9]
invalid
jmp 0xdb1e9a
pushal
call 0xdb1ea0
pop ebp
sub ebp, 0x10
sub ebp, 0x9b1e90
jmp 0xdb1eb6
mov eax, 0x9b1e90
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b0
mov edx, 0xe082122e
xor byte [eax], dl
inc eax
dec ecx
jne 0xdb1ecd
jmp 0xdb1ee0
movsd dword es:[edi], dword [esi]
jecxz 0xdb1e88
cmpsd dword [esi], dword es:[edi]
adc ch, byte [esi]
scasd eax, dword es:[edi]
out dx, eax
salc
sub eax, 0x2e2896e3
xchg esp, eax
push es
fxch st(4)
sub eax, 0x22afa5e6
sub eax, 0x4aa37eeb
or dl, dl
cmpsd dword [esi], dword es:[edi]
sub cl, byte [edx]
inc esi
push edx
loop 0xdb1f21
inc esi
cmp bh, byte [edi + edx*2 + 0x2e]
das
add cl, byte [edx]
inc esi
mov al, 0x27
aam 0xc6
sub ebp, dword [esi]
mov dword cs:[esi], 0x7b2e2e2e
movsd dword es:[edi], dword [esi]
ret 0xaba5
Function at 0x89e060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37f000]
push edi
or ebp, 0xffffffff
jmp 0x89e082
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x89e089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89e078
mov eax, 1
add ebx, ebx
jne 0x89e09b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x89e0ac
jne 0x89e0cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89e0cb
dec eax
add ebx, ebx
jne 0x89e0b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x89e090
add ebx, ebx
jne 0x89e0c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x89e11d
xor ecx, ecx
sub eax, 3
jb 0x89e0e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x89e152
sar eax, 1
mov ebp, eax
jmp 0x89e0ee
add ebx, ebx
jne 0x89e0ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89e0bc
inc ecx
add ebx, ebx
jne 0x89e0fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89e0bc
add ebx, ebx
jne 0x89e109
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x89e0fe
jne 0x89e11a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x89e0fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x89e13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x89e12e
jmp 0x89e07e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x89e13c
add edi, ecx
jmp 0x89e07e
pop esi
mov edi, esi
mov ecx, 0xfb38
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x89e15a
cmp byte [edi], 0x63
jne 0x89e15a
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 0x89e15f
lea edi, [esi + 0x477000]
mov eax, dword [edi]
or eax, eax
je 0x89e1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fa760]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fa8ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x89e18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4fa8b4]
or eax, eax
je 0x89e1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x89e1a9
call dword [esi + 0x4fa8b0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x89e1ff
cmp al, 0xef
ja 0x89e1f2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x89e1d4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x89e1e1
mov ebp, dword [esi + 0x4fa8b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x89e233
sub esp, 0xffffff80
jmp 0x745978
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x403203
pop dword [ebp - 0x28]
mov eax, 0x6afae716
sub eax, 0x6abab513
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x1a10971e
add dword [ebp - 0x38], 0x3441ae2d
mov dword [ebp - 0x34], 0x26b9adb4
sub dword [ebp - 0x34], 0xf486616f
mov dword [ebp - 0x30], 0x4cb373eb
sub dword [ebp - 0x30], 0x672fbd
mov dword [ebp - 0x2c], 0x76d1dc3a
add dword [ebp - 0x2c], 0x892e23c6
lea eax, [ebp - 0x38]
push eax
mov eax, 0x86b26c41
add eax, 0x798e144b
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x821c91b1
sub dword [ebp - 0x38], 0xdaa285b
mov dword [ebp - 0x34], 0xbbcd2087
sub dword [ebp - 0x34], 0x7a60bf12
mov dword [ebp - 0x30], 0x1f150873
add dword [ebp - 0x30], 0x445a63f9
mov dword [ebp - 0x2c], 0x1847b0f1
add dword [ebp - 0x2c], 0xe7b84f0f
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37885
push 0
call eax
mov ecx, 0xc39cf369
sub ecx, 0xc39ca7a8
mov edx, eax
mov edi, 0xb8dde31
sub edi, 0xb4cce31
add edi, dword [ebp - 0x28]
mov esi, 0xecdb89c
sub esi, 0x66fdbf3e
add dword [ebp - 0x18], 0x419d1b42
mov ebx, dword [edi]
sub dword [ebp - 0x1c], esi
xor ebx, esi
xor dword [ebp - 0x24], edi
mov dword [edx], ebx
sub dword [ebp - 0x20], 0xe38f793d
add edx, 0xe192ac8c
sub edx, 0xe192ac88
add edi, 4
loop 0x403320
add eax, 0xf6c93a97
sub eax, 0xf6c818c0
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1db58ffd
add ecx, 0xe28a7003
add ecx, dword [ebp - 0x28]
call ebx
leave
ret