joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40649f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4064f4
cmp dword [ebp - 0xc], esi
je 0x4064f1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret
Function at 0x40688f
Capabilities:
Create directory

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x20
jne 0x4068ac
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
je 0x4068a2
cmp byte [esi], 0
je 0x40692f
push esi
call edi
cmp byte [eax], 0x3a
mov bl, 0x5c
jne 0x4068c5
cmp byte [eax + 1], bl
jne 0x4068c5
lea esi, [eax + 2]
jmp 0x4068ef
cmp byte [esi], bl
jne 0x40692f
cmp byte [esi + 1], bl
jne 0x40692f
push 2
pop ebp
mov al, byte [esi]
cmp al, bl
je 0x4068e2
test al, al
je 0x4068e2
push esi
call edi
mov esi, eax
jmp 0x4068d1
cmp byte [esi], 0
je 0x4068ec
push esi
call edi
mov esi, eax
dec ebp
jne 0x4068d1
mov al, byte [esi]
test al, al
je 0x40692f
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp al, bl
je 0x40690c
test al, al
je 0x40690c
push esi
call edi
mov esi, eax
mov al, byte [esi]
jmp 0x4068fb
cmp byte [esi], 0
jne 0x40691b
push 0
push dword [esp + 0x18]
call ebp
jmp 0x406929
and byte [esi], 0
push 0
push dword [esp + 0x18]
call ebp
mov byte [esi], bl
inc esi
mov al, byte [esi]
test al, al
jne 0x4068fb
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406934
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406992
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 8]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406981
cmp dword [ebp + 8], 1
je 0x406983
mov byte [esi], bl
push dword [ebp + 0x14]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret
Function at 0x406aa3
Capabilities:
Accept command line arguments
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov al, byte [ebp]
mov dword [esp + 0x14], esi
test al, al
je 0x406c0e
mov edi, 0x400
mov ecx, esi
sub ecx, dword [esp + 0x14]
cmp ecx, edi
jge 0x406c0e
movzx ebx, al
inc ebp
cmp ebx, 0xdd
jge 0x406ae5
mov byte [esi], bl
inc esi
jmp 0x406c03
cmp ebx, 0xff
jne 0x406af9
mov al, byte [ebp]
mov byte [esi], al
inc esi
inc ebp
jmp 0x406c03
lea eax, [ebx - 0xdd]
cmp eax, 0x21
ja case.default.0x406b0f
movzx eax, byte [eax + 0x406c3a]
jmp dword [eax*4 + 0x406c16]
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp case.default.0x406b0f
push dword [0x420844]
push 0x40958c
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x406b0f
lea eax, [ebx - 0xdf]
shl eax, 0xa
add eax, 0x419c00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp case.default.0x406b0f
push esi
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.00406934
add esp, 0x10
cmp byte [esi], 0
jne 0x406bdb
push str.C:Program_Files
jmp 0x406b53
push esi
push dword [ebx*4 + 0x4090ac]
call fcn.00406c5c
pop ecx
pop ecx
jmp case.default.0x406b0f
push esi
push str.AppData
call fcn.00406c5c
pop ecx
pop ecx
push str.MicrosoftInternet_ExplorerQuick_Launch
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je case.0x406b0f.252
test al, 0x10
jne case.default.0x406b0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.default.0x406b0f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp case.default.0x406b0f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esi], 0
je 0x406bea
push esi
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
je 0x406bea
inc esi
jmp case.default.0x406b0f
cmp ebx, 0xf2
jle 0x406bfa
cmp byte [esi], 0x5c
jne 0x406bfa
and byte [esi], 0
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [ebp]
test al, al
jne 0x406ac3
and byte [esi], 0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406c5c
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0xc]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call fcn.00406934
add esp, 0x10
cmp byte [esi], 0
jne 0x406c89
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
pop esi
ret
Function at 0x406c8b
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push 1
xor esi, esi
pop ebx
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ole32.dll_OleInitialize]
cmp eax, ebx
je 0x406cb4
cmp eax, esi
je 0x406cb4
mov eax, ebx
jmp 0x406d9e
lea eax, [ebp - 4]
push eax
push 0x407370
push ebx
push esi
push 0x407360
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x406d95
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x407380
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x406d8c
mov eax, dword [ebp - 4]
push edi
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push dword [ebp + 0x20]
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp + 0x24], esi
je 0x406d17
mov eax, dword [ebp - 4]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp dword [ebp + 0x28], esi
je 0x406d28
mov eax, dword [ebp - 4]
push dword [ebp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0x10], esi
je 0x406d3c
push dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x1c], esi
je 0x406d4d
mov eax, dword [ebp - 4]
push dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp edi, esi
pop edi
jl 0x406d83
lea eax, [ebp - 0x80c]
push 0x400
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x80c]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x406d83
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret

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

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

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
jmp 0x69e893
push esi
mov esi, ecx
call fcn.004e0338
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xc00
mov dword [esi + 0x10], 0x6eadd8
call fcn.004e5fc2
test eax, eax
jns 0x69e8e2
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x69e8db
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x70fb81], 1
mov eax, esi
pop esi
ret

Function at 0x4e1760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x634c10
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x71472c], 1
jge 0x634c7f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x634c55
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x634c55
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x634c32
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x634c6b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x634c72
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x634d7d
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x634d4e
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x634d43
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x634d37
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x634d3e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x634d7d
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x634d78
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x634d61
mov eax, dword [ebx + 8]
jmp 0x634d7d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x634d6f
xor eax, eax
jmp 0x634d7d
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x634ca2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4f3750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004e6391
cwde
test eax, eax
jge 0x4f3782
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov esi, esp
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004e6391
movsx edx, ax
test edx, edx
jge 0x4f37a3
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004e6391
movsx ecx, ax
test ecx, ecx
jge 0x4f37c4
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004e6391
cwde
test eax, eax
jge 0x4f37e3
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004e6391
movsx edx, ax
test edx, edx
jge 0x4f3804
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.004e6391
mov esp, ebp
pop ebp
ret
Function at 0x5bd850
Capabilities:
Encrypt data using rc4 prga
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x5bd86d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x5bd88e
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [ebp + 8]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6b9b80]
mov dword [ebp + 8], ecx
jmp 0x5bd864
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x5bd8a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x5bd8bd
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x5bd8e1
mov ecx, dword [ebp + 8]
shl ecx, 8
mov edx, dword [ebp + 8]
shr edx, 0x18
and edx, 0xff
xor ecx, dword [edx*4 + 0x6b9f80]
mov dword [ebp + 8], ecx
jmp 0x5bd8b4
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x5daa00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jmp 0x5daa35
mov eax, dword [ebp - 8]
add eax, 1
mov ecx, dword [ebp - 4]
adc ecx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x14]
ja 0x5dab5f
jb 0x5daa4f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x5dab5f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x28], 0x10
jne 0x5dab0c
xorpd xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jmp 0x5daa79
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
adc eax, 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x5daadb
jb 0x5daa87
cmp dword [ebp - 0x10], 8
jae 0x5daadb
push 0
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e38ee
mov ecx, dword [ebp + 8]
mov bl, byte [ecx + eax + 8]
add bl, 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e38ee
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 8], bl
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e38ee
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 8]
test edx, edx
je 0x5daad9
jmp 0x5daadb
jmp 0x5daa67
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.004e50e5
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x5dab02
xor al, al
jmp 0x5dab61
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0
push 0
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e38ee
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28]
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx + 0x18]
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + eax]
xor ebx, ecx
push 0
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004e38ee
mov edx, dword [ebp + 0xc]
mov byte [edx + eax], bl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
jmp 0x5daa23
mov al, 1
pop ebx
add esp, 0x10
cmp ebp, esp
call fcn.004e6391
mov esp, ebp
pop ebp
ret
Function at 0x5dcfe0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp esi, esp
call fcn.004e6391
test eax, eax
jne 0x5dd044
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004e6391
push eax
call fcn.004e181e
add esp, 4
push eax
push 5
mov edx, dword [ebp + 8]
push edx
call fcn.004e4b9f
add esp, 0xc
xor al, al
jmp 0x5dd101
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004e228c
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x5dd076
push 0x22
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e4b9f
add esp, 0xc
xor al, al
jmp 0x5dd101
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x10], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0xc], edx
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.004e6391
cmp eax, 1
jne 0x5dd0ff
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x11], 1
mov esi, esp
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp esi, esp
call fcn.004e6391
test eax, eax
jne 0x5dd0f1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004e6391
push eax
call fcn.004e181e
add esp, 4
push eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e4b9f
add esp, 0xc
xor al, al
jmp 0x5dd101
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5dd124]
call fcn.004e3aa6
pop eax
pop edx
pop edi
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.004e6391
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0xc654d8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [edx + ecx + 0x10]
jmp 0xbd6afd
je 0xd27633
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x837261
je 0xd27633
mov eax, dword [eax + ecx + 0x7c]
cmp cl, 0xc7
clc
cmc
push ebx
push edi
cmc
clc
mov dword [ebp - 0x10], eax
stc
mov dword [ebp - 8], 0xffffffff
clc
cmc
cmp esi, 0xffff
jmp 0x891b09
mov edi, dword [edx + ecx + 0x18]
jmp 0xc9647b
je 0xd27633
mov eax, 0x5a4d
cmp al, 0xa1
jmp 0xc13037
ja 0x81fcac
mov eax, esi
test ecx, ecx
jmp 0x7a22c7
cmp dword [eax + ecx], 0x4550
jmp 0xbe98bc
mov dword [ebp - 8], eax
jmp 0xd08ac7
jne 0xd27633
mov edx, dword [eax + ecx + 0x78]
cmp ax, di
jmp 0xca3894
add eax, ecx
cmp ah, 0xb
cmp bp, si
xor ebx, ebx
jmp 0xd01ca8
cmp word [ecx], ax
jmp 0xd2762d
push ebp
mov ebp, esp
xor cl, 0xf2
ror cl, cl
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
clc
test ecx, ecx
jmp 0x7ca930
js 0x8302a4
jmp 0xd16cda
je 0x8302a4
mov eax, dword [edx + ecx + 0x20]
test bx, 0x78ab
cmp ah, dl
jmp 0xbefab2
mov eax, dword [ecx + 0x3c]
jmp 0xbd537c
test edi, edi
jmp 0xc74b18
mov dword [ebp - 4], edx
test edx, edx
jmp 0x81bf06
ret
dec edi
jmp 0xd1b746
jmp 0x8302a4
mov dword [ebp - 0xc], eax
jmp 0xc66898
je 0xc85398
xor eax, eax
pop esi
mov esp, ebp
pop ebp
jmp 0xcd1877
Function at 0x40bfb3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406dfb
and dword [ebp - 4], 0
cmp dword [0x413a8c], 0
mov ebx, eax
jne 0x40c064
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c115
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c115
push eax
call fcn.00406d89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413a8c], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413a90], eax
call esi
push eax
call fcn.00406d89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x413a94], eax
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a9c], eax
test eax, eax
je 0x40c064
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406d89
pop ecx
mov dword [0x413a98], eax
mov eax, dword [0x413a98]
cmp eax, ebx
je 0x40c0bc
cmp dword [0x413a9c], ebx
je 0x40c0bc
push eax
call fcn.00406e04
push dword [0x413a9c]
mov esi, eax
call fcn.00406e04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c0bc
test edi, edi
je 0x40c0bc
call esi
test eax, eax
je 0x40c0b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c0b3
test byte [ebp - 0xc], 1
jne 0x40c0bc
or dword [ebp + 0x10], 0x200000
jmp 0x40c0f5
mov eax, dword [0x413a90]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c0f5
mov eax, dword [0x413a94]
cmp eax, ebx
je 0x40c0f5
push eax
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c0f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413a8c]
call fcn.00406e04
pop ecx
test eax, eax
je 0x40c115
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c117
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x403d61
Capabilities:
Encode data using xor

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