joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1014df70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6a11
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.config.ini
lea ecx, [ebp - 0x24c]
call fcn.10008e50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
call fcn.1014c030
add esp, 4
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.100144e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.10008da0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.10008da0
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0
push str.Status
push str.Open
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0
push str.IsOpenFailed
push str.Open
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x1014e066
mov byte [ebp - 0x265], 1
jmp 0x1014e06d
mov byte [ebp - 0x265], 0
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x265]
mov byte [edx], al
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.1015e8b0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x101b9ef8
push str.LastTime
push str.Open
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
add ecx, 2
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x26c]
mov ax, word [edx]
mov word [ebp - 0x26e], ax
add dword [ebp - 0x26c], 2
cmp word [ebp - 0x26e], 0
jne 0x1014e0d6
mov ecx, dword [ebp - 0x26c]
sub ecx, dword [ebp - 0x284]
sar ecx, 1
mov dword [ebp - 0x288], ecx
jne 0x1014e118
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
jmp 0x1014e1c6
push 0xa
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.101662b4
add esp, 0xc
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], edx
mov edx, dword [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.100ea060
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
push 0
call fcn.1014f740
add esp, 4
push edx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.100ea060
mov ecx, eax
call fcn.10119920
lea ecx, [ebp - 0x29c]
call fcn.10119910
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
jl 0x1014e1c0
jg 0x1014e1ac
cmp dword [ebp - 0x278], 0
jb 0x1014e1c0
cmp dword [ebp - 0x274], 0
jl 0x1014e1c6
jg 0x1014e1c0
cmp dword [ebp - 0x278], 1
jb 0x1014e1c6
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
mov byte [ebp - 0x266], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10008da0
mov al, byte [ebp - 0x266]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret
Function at 0x1014ed70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x3c
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
cmp dword [ebp + 0x18], 0
je 0x1014eda2
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
jmp 0x1014edab
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1014ee04
cmp dword [ebp - 0x28], 0x20
jbe 0x1014edf7
mov dword [ebp - 0xc], 1
jmp 0x1014edfe
mov dword [ebp - 0xc], 0
mov al, byte [ebp - 0xc]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1014ee23
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x1014ee23
push 0x2710
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x10159540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a89aa
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.10157e20
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.10010c10
add esp, 4
movzx eax, al
test eax, eax
jne 0x101595d5
push 0x101b9ef8
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10008da0
mov eax, dword [ebp + 8]
jmp 0x10159648
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.1015e8b0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.10008ce0
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x101b9ef8
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10008e50
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10008da0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret

Function at 0x10174d1b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10174b9a

Function at 0x10179d03
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101799c3
Function at 0x10181750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x1018179e
xor al, al
jmp 0x101817f7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x101817d0
cmp dword [ebp - 0x418], 0
je 0x101817cc
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x101817f7
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10008d40
cmp dword [ebp - 0x418], 0
je 0x101817f5
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret
Function at 0x10181d00
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x101fe070]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x101fe9f0], 0
jne 0x10181d82
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10181d63
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x101fe9e0
call fcn.100090a0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1015c023
add esp, 0x214
ret

Function at 0x10181e30
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x101a8f48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x102043e4]
test eax, eax
jle 0x10181e81
inc eax
mov dword [0x102043e4], eax
mov al, 1
jmp 0x10181f73
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.1000be00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000ccb0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000be80
test bl, bl
je 0x10181f63
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10181f63
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x10181f5c
inc dword [0x102043e4]
mov eax, dword [edi]
test eax, eax
je 0x10181f06
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x101fea08], 0
mov dword [ebp - 0x10], 0
jne 0x10181f5c
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x101fe9f8
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.10008d40
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10181f71
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.1015c023
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x401306
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push eax
nop
push ecx
push edx
nop
push ebx
nop
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
mov ebx, 0xa
mov eax, 0x78
mov ecx, 0xa
mov edx, 0x66666667
push ecx
mov ecx, eax
imul edx
sar edx, 2
sar ecx, 0x1f
sub edx, ecx
mov eax, edx
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 5
mov esi, 7
and dword [ebp - 4], 0
mov edx, ebx
add edx, eax
sub edx, 0x16
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], 0x79baba52
mov dword [ebp - 0x4c], 0x6ffa
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x719f
add dword [ebp - 4], 0x6c21
add dword [ebp - 0x14], 0x4dfc
add dword [ebp - 4], 0x4096ef
dec dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
sub eax, 0x11
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x14], 0x26465
mov dword [ebp - 0x3c], 0x17b2
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x14]
mov edx, esi
sub edx, 6
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
mov byte [ebp - 0x35], al
movzx edx, byte [ebp - 0x35]
mov dword [ebp - 0x80], edx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov ecx, 6
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp - 0x84], edx
add edi, edx
mov edx, edi
and edx, 0xff
mov edi, dword [ebp - 0x80]
xor edi, edx
mov edx, edi
mov byte [ebp - 0x35], dl
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x35]
mov byte [edx + eax], cl
dec dword [ebp - 0x18]
mov eax, dword [ebp - 8]
sub eax, 2
add eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x18], eax
ja 0x4013c1
mov dword [ebp - 0x50], 0x41770a
inc dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0x493000
mov eax, dword [ebp - 0x10]
sub eax, 6
cmp dword [ebp - 0x2c], eax
jbe 0x4013b1
mov dword [ebp - 0x54], 0x5b0000
mov eax, dword [ebp - 0x10]
add eax, ebx
sub eax, 0x16
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x24448
jb 0x401455
mov dword [ebp - 0x58], 0x43bd0a
mov dword [ebp - 0x5c], 0x449452
mov eax, dword [ebp - 8]
add eax, esi
sub eax, 0xc
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, esi
add edx, ebx
sub edx, 0x10
mov ecx, eax
sub ecx, edx
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 8]
add edi, esi
sub edi, 0xb
sub eax, edi
mov edi, dword [ebp - 0x58]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
cmp dword [ebp - 0x20], 0xa06c
jb 0x401489
mov dword [ebp - 0x60], 0x10000000
mov dword [ebp - 0xc], 0x44630a
Function at 0x10462a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea edi, [ebx]
lea esi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
jmp 0x104637f
mov edx, ebx
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
jmp 0x10463ed
movzx eax, byte [edi]
sub dword [esp], eax
lea edi, [edi + 1]
pop eax
jmp 0x10463c1
je 0x104aee6
push 0
pop eax
imul eax, eax, 0xf
push eax
jmp 0x10462c5
push ebx
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
jmp 0x104af71
cmp byte [edi], 1
ja 0x1046302
xor eax, 0x83d575a3
sbb eax, dword [esp + 4]
jne 0x104af83
jmp 0x1046200
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
jmp 0x104af82
ret
ret 4
pop ecx
lodsd eax, dword [esi]
inc ecx
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
jmp 0x10462f9
Function at 0x40167e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2d0c154]
sub esp, 0x400
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d0c0ac]
test esi, esi
je 0x4016c9
cmp eax, 0x959
jne 0x4016b5
push 0
lea eax, [ebp - 0x400]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.00401481
add edi, 8
dec esi
je 0x4016c9
mov eax, dword [0x2d0c154]
jmp 0x40169d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d786
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419458]
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.00404d45
mov dword [ebp - 0x14], eax
cmp dword [0x4337c8], esi
jne 0x40d879
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d806
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d959
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d959
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d959
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4337c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4337cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4337d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4337d8], eax
test eax, eax
je 0x40d876
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4337d4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d89e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d891
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d8b3
push 4
pop eax
jmp 0x40d95b
cmp dword [ebp - 0x14], esi
je 0x40d8b3
push dword [0x4337c8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d898
mov eax, dword [0x4337d4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d911
cmp dword [0x4337d8], edi
je 0x40d911
push eax
call ebx
push dword [0x4337d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d911
test eax, eax
je 0x40d911
call ecx
test eax, eax
je 0x40d906
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 0x40d906
test byte [ebp - 8], 1
jne 0x40d911
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d941
mov eax, dword [0x4337cc]
cmp eax, edi
je 0x40d93e
push eax
call ebx
test eax, eax
je 0x40d93e
call eax
mov esi, eax
test esi, esi
je 0x40d93e
mov eax, dword [0x4337d0]
cmp eax, edi
je 0x40d93e
push eax
call ebx
test eax, eax
je 0x40d93e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4337c8]
call ebx
test eax, eax
je 0x40d959
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d95b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fb7
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
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 0x414c1f
lea edi, [esi + 0x12000]
Function at 0xed23fee
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
push edi
mov dword [ebp - 0x18], 0x80004005
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0xed24011
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x1c], esi
jle 0xed24103
push ebx
xor ecx, ecx
push 0x1c
lea eax, [esi + esi]
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0ed01ed9
mov ebx, eax
pop ecx
mov dword [ebp - 0x20], ebx
cmp ebx, edi
je 0xed24102
cmp esi, edi
mov dword [ebp - 8], edi
jle 0xed240e7
neg esi
lea eax, [ebx - 0x1c]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
jmp 0xed24070
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea eax, [eax + ecx*2]
mov dword [ebx], 1
mov cx, word [eax]
mov word [ebx + 4], cx
movzx eax, word [eax]
cmp dword [ebp - 0x10], edi
je 0xed2409b
push dword [ebp - 0x10]
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
jmp 0xed240a3
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebx + 6], ax
mov dword [ebx + 8], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [ebp - 4], 0x1c
add eax, esi
mov esi, dword [ebp - 4]
add dword [ebp - 4], 0x1c
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], eax
add ebx, 0x1c
push 7
mov edi, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
or dword [ebx + 8], 2
add ebx, 0x1c
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
xor edi, edi
cmp eax, dword [ebp - 0x1c]
jl 0xed2406d
mov ebx, dword [ebp - 0x20]
push 0x1c
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendInput]
cmp dword [ebp - 0x14], eax
jne 0xed240fb
mov dword [ebp - 0x18], edi
push ebx
call fcn.0ed01911
pop ecx
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
leave
ret 4
Function at 0x401694
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
mov ebx, esi
push edi
test eax, eax
je 0x40177a
test ecx, ecx
je 0x40177a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40177a
or dword [edi], 0xffffffff
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
mov dword [eax], esi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x401703
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x401759
movzx esi, si
or esi, 0x80070000
jmp 0x401757
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4016ec
cmp dword [ebp - 4], ebx
je 0x401722
mov esi, 0x80004005
jmp 0x40175b
push esi
push esi
push esi
push 2
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x4016ec
push dword [ebp - 8]
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
je 0x4016ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
test esi, esi
je 0x40176b
cmp dword [edi], 0xffffffff
je 0x40176b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
test ebx, ebx
je 0x401776
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40177f
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 8