joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00428490
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.00428490
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CFWM7F.cab
push ecx
call edi
lea edx, [ebp - 0x414]
push str.C:Program_FilesWW2017CFwmcRMS7.exe
push edx
call edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00422560
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x30
test eax, eax
jne 0x41c159
push esi
mov esi, 0x44d630
mov edi, edi
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CF_s
push edx
call edi
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call ebx
add esi, 4
cmp esi, 0x44d6ac
jl 0x41c130
pop esi
lea ecx, [ebp - 0x414]
push ecx
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004217e4
mov esp, ebp
pop ebp
ret
Function at 0x41e600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x41e613
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x41e68d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00428830
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x41e661
sub eax, edi
jmp 0x41e663
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x41e652
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x41e680
sub eax, edi
jmp 0x41e682
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x41e671
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x41e742
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x41e6b3
mov ebx, ecx
test ebx, ebx
je 0x41e706
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x41e6d5
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.0041f130
jmp 0x41e6ee
cmp eax, 2
jne 0x41e6f4
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x41e6e7
xor eax, eax
jmp 0x41e6f1
mov edx, ebx
call fcn.0041f7d0
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00428830
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41e72e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x41e742
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x41e610
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f7b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x41f7bb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0041f7d0
Function at 0x4217e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c044]
jne 0x4217ee
repz ret
jmp fcn.004247d2

Function at 0x4224e1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x422508
call fcn.0042492d
mov dword [eax], esi
call fcn.0042491a
push 0x16
pop esi
mov dword [eax], esi
call fcn.00425426
mov eax, esi
jmp 0x42255d
test dword [ebp + 0xc], 0xfffffff9
jne 0x4224ee
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x422535
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424940
pop ecx
call fcn.0042491a
mov eax, dword [eax]
jmp 0x42255d
test al, 0x10
jne 0x42255b
test al, 1
je 0x42255b
test byte [ebp + 0xc], 2
je 0x42255b
call fcn.0042492d
mov dword [eax], 5
call fcn.0042491a
mov dword [eax], 0xd
jmp 0x42252c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x42cdf7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004296e6
and dword [ebp - 0x14], 0
cmp dword [0x44f1d4], 0
mov dword [ebp - 0x18], eax
jne 0x42ceaa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42cf52
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x437548
push ebx
call edi
test eax, eax
je 0x42cf52
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44f1d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44f1d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44f1dc], eax
call edi
push eax
call esi
mov dword [0x44f1e4], eax
test eax, eax
je 0x42ceaa
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44f1e0], eax
mov eax, dword [0x44f1e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42cf03
cmp dword [0x44f1e4], ecx
je 0x42cf03
push eax
call esi
push dword [0x44f1e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42cf03
test ebx, ebx
je 0x42cf03
call edi
test eax, eax
je 0x42cefa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42cefa
test byte [ebp - 8], 1
jne 0x42cf03
or dword [ebp + 0x10], 0x200000
jmp 0x42cf36
mov eax, dword [0x44f1d8]
cmp eax, dword [ebp - 0x18]
je 0x42cf36
push eax
call esi
test eax, eax
je 0x42cf36
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42cf36
mov eax, dword [0x44f1dc]
cmp eax, dword [ebp - 0x18]
je 0x42cf36
push eax
call esi
test eax, eax
je 0x42cf36
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44f1d4]
call esi
test eax, eax
je 0x42cf52
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42cf54
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217e4
leave
ret
Function at 0x1001ab0
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x100609c]
mov dword [ebp - 0x1e4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1d4], ecx
xor ecx, ecx
push ebx
xor ebx, ebx
cmp eax, ecx
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], ecx
jne 0x1001af2
push 0x7a
pop eax
jmp 0x1001ca8
cmp dword [ebp + 0xc], ecx
mov byte [eax], 0
je 0x1001afd
push 0xa
pop ebx
cmp dword [ebp + 0x10], ecx
je 0x1001b05
or ebx, 1
cmp dword [ebp + 0x14], ecx
je 0x1001b0d
or ebx, 0x10
cmp dword [ebp + 0x10], ecx
push esi
mov esi, dword [sym.imp.WS2_32.dll_getnameinfo]
push edi
mov edi, 0x104
je 0x1001b76
cmp dword [ebp + 0xc], ecx
jne 0x1001b76
cmp dword [0x1006af4], ecx
je 0x1001b3b
mov dword [ebp - 0x1d8], 0x10069f0
jmp 0x1001bc8
push edi
push 0x10069f0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1001b74
push 0x2e
mov edi, 0x10069f0
push edi
mov dword [0x1006af4], 1
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001b6c
mov byte [eax], 0
mov dword [ebp - 0x1d8], edi
jmp 0x1001bc6
xor ecx, ecx
push ebx
push ecx
push ecx
push edi
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp + 0x1c]
push dword [ebp - 0x1d4]
call esi
xor ecx, ecx
cmp eax, ecx
je 0x1001bba
cmp dword [ebp + 0xc], ecx
jne 0x1001bb2
mov eax, ebx
or eax, 2
push eax
push ecx
push ecx
push edi
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp + 0x1c]
push dword [ebp - 0x1d4]
call esi
test eax, eax
jne 0x1001ca6
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1d8], eax
xor ecx, ecx
push ebx
mov edi, 0xc8
push edi
lea eax, [ebp - 0xcc]
push eax
push ecx
push ecx
push dword [ebp + 0x1c]
push dword [ebp - 0x1d4]
call esi
cmp eax, 0x2afc
jne 0x1001c0e
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jne 0x1001ca6
or ebx, 8
push ebx
push edi
lea eax, [ebp - 0xcc]
push eax
push ecx
push ecx
push dword [ebp + 0x1c]
push dword [ebp - 0x1d4]
call esi
test eax, eax
jne 0x1001ca6
mov ebx, dword [ebp - 0x1d8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001c21
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0xcc]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001c35
mov edi, dword [ebp - 0x1e4]
sub eax, esi
lea esi, [eax + ecx + 4]
cmp dword [edi], esi
jge 0x1001c58
mov dword [ebp - 0x1dc], 0x7a
jmp 0x1001c9e
mov eax, dword [ebp - 0x1d4]
cmp word [eax], 0x17
jne 0x1001c82
push 0x3a
push ebx
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001c82
lea eax, [ebp - 0xcc]
push eax
push ebx
push 0x10011d8
jmp 0x1001c8f
lea eax, [ebp - 0xcc]
push eax
push ebx
push 0x10011d0
push dword [ebp - 0x1e0]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp - 0x1dc]
mov dword [edi], esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.010038e4
leave
ret 0x18
Function at 0x1001d85
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1001da6
leave
ret
push esi
lea eax, [ebp - 0xc]
push eax
push 0x10011e0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
xor esi, esi
test eax, eax
je 0x1001df0
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1001df0
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x1001e03
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1001e24
leave
ret
push esi
lea eax, [ebp - 0xc]
push eax
push 0x10011e0
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001e68
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1001e68
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x10039fc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001280
call fcn.01003bb4
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1003a37
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003a37
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003a4f
cmp eax, 0x20b
je 0x1003a3c
mov dword [ebp - 0x1c], edi
jmp 0x1003a63
cmp dword [ecx + 0x84], 0xe
jbe 0x1003a37
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1003a5d
cmp dword [ecx + 0x74], 0xe
jbe 0x1003a37
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1006b18], 0xffffffff
or dword [0x1006b1c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1006b04]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1006b00]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1006b20], eax
call fcn.01003baa
cmp dword [0x10060a0], edi
jne 0x1003abe
push fcn.01003baa
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003b93
push 0x1006010
push 0x100600c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1006afc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1006af8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1006008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01003397
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1003b35
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003b6a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01003bef
ret
Function at 0x1003d52
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100609c]
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_time]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x118]
mov dword [esp], 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1003d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1003e59
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003d9f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub eax, edx
cmp dword [0x1006b0c], 0
push esi
lea eax, [ebp + eax - 0x118]
push edi
mov dword [ebp - 0x120], eax
je 0x1003df0
mov edi, eax
mov esi, 0x10012d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x118]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1003df0
push 0x10012c4
push eax
call ebx
mov dword [0x1006b2c], eax
mov edi, dword [ebp - 0x120]
mov esi, 0x10012b4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x118]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1003e35
push 0x10012a0
push esi
call ebx
test eax, eax
mov dword [0x1006b24], eax
je 0x1003e35
push 0x100128c
push esi
call ebx
test eax, eax
mov dword [0x1006b28], eax
jne 0x1003e3a
push 2
pop eax
jmp 0x1003e56
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call dword [0x1006b24]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.010038e4
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1a110c6c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x79671186
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219

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

Disassembly:
pushal
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
mov ecx, 0x2fca1ee3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x4f765684
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40365c
Capabilities:
Terminate process

Disassembly:
jmp 0x45da84
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45da95
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004059c5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40377e
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a522a
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a523b
pop esi
ret
push ebx
push edi
push esi
call fcn.004a5111
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00404057
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a5263
push ebx
push esi
push edi
call fcn.004057a9
add esp, 0xc
push 0
call fcn.00406320
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405876
Capabilities:
Parse pe header

Disassembly:
jmp 0x44c7e8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44c827
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44c827
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44c827
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44c827
cmp dword [ecx + 0x74], 0xe
jbe 0x44c827
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44a783
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004037e2
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44a7c6
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44a7c6
sub eax, 1
je 0x44a7c1
sub eax, 1
je 0x44a7bd
xor eax, eax
leave
ret
push 3
jmp 0x44a7c8
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x49151e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49155d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49155d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49155d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49155d
cmp dword [ecx + 0x74], 0xe
jbe 0x49155d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x49dd6b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401dc0
mov eax, dword [0x4d6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405f24
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x49ddad
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49df09
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406078
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d9a20]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004032dd
mov ecx, dword [esi*4 + 0x4d9a20]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x49df02
cmp eax, dword [ecx + edi + 0x24]
jne 0x49df02
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49df02
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004032dd
add esp, 0x14
test edx, edx
jl 0x49df02
jg 0x49de78
test eax, eax
jb 0x49df02
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49df02
jl 0x49de92
cmp dword [ebp - 0x1008], eax
ja 0x49df02
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x49deb0
test ebx, ebx
je 0x49dee9
cmp ecx, edi
jae 0x49dee9
mov al, byte [ecx]
cmp al, 0xd
jne 0x49deca
lea eax, [edi - 1]
cmp ecx, eax
jae 0x49ded6
cmp byte [ecx + 1], 0xa
jne 0x49ded6
inc ecx
jmp 0x49ded6
movzx eax, al
movsx eax, byte [eax + 0x4d63a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x49deb0
cmp edx, ebx
jne 0x49deb0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49df07
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004030b7
leave
ret