joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b10
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, edi
je 0x407c1b
mov esi, ecx
movsx eax, byte [ebx]
cmp eax, 0x5b
jg 0x407bd0
cmp eax, 0x24
je 0x407bf5
cmp eax, 0x28
jne 0x407c1b
lea eax, [ebx + 1]
cmp eax, edi
je 0x407c1b
cmp byte [ebx + 1], 0x3f
jne 0x407c1b
lea eax, [ebx + 2]
cmp eax, edi
je 0x407c1b
movsx eax, byte [ebx + 2]
cmp eax, 0x21
je 0x407c5c
cmp eax, 0x3d
jne 0x407c1b
lea ecx, [ebp - 0x38]
call fcn.004072e4
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ecx + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
add ebx, 3
lea eax, [ebp - 0x3c]
push edi
push ebx
mov ebx, eax
push eax
call fcn.00407312
mov ebx, dword [ebx]
lea edx, [ebp - 0x38]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov ecx, esi
push dword [esi + 0x10]
xor eax, eax
push eax
push edx
jmp 0x407c9f
cmp eax, 0x5c
je 0x407c36
cmp eax, 0x5e
jne 0x407c1b
push 8
call fcn.004af396
add esp, 4
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4e393c
jmp 0x407c0e
push 8
call fcn.004af396
add esp, 4
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4e3948
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
inc ebx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebx + 1]
cmp eax, edi
je 0x407c1b
mov al, byte [ebx + 1]
cmp al, 0x42
je 0x407c4e
cmp al, 0x62
jne 0x407c1b
mov ecx, esi
push 0
jmp 0x407c52
mov ecx, esi
push 1
call fcn.00408100
add ebx, 2
jmp 0x407c1b
lea ecx, [ebp - 0x38]
call fcn.004072e4
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ecx + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
add ebx, 3
lea eax, [ebp - 0x3c]
push edi
push ebx
mov ebx, eax
push eax
call fcn.00407312
mov ebx, dword [ebx]
lea eax, [ebp - 0x38]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x40], ecx
mov ecx, esi
push dword [esi + 0x10]
push 1
push eax
call fcn.00408152
mov eax, dword [ebp - 0x40]
add dword [esi + 0x10], eax
cmp ebx, edi
je 0x407ce2
cmp byte [ebx], 0x29
jne 0x407ce2
inc ebx
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x407cd5
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x407cd5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, esi
call fcn.004286fc
lea ecx, [ebp - 0x38]
call fcn.0041617c
jmp 0x407c1b
call fcn.00405c46
int3
Function at 0x40c844
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [esp + 0x38], eax
xor eax, eax
lea esi, [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
lea edi, [esp + 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00429824
push edi
push esi
call fcn.0040ca08
mov al, byte [edi + 0xb]
test al, al
js 0x40c88f
jne 0x40c89e
jmp 0x40c94e
cmp dword [esp + 8], 0
je 0x40c94e
mov edi, dword [esp + 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0042d530
mov dword [esp], eax
lea ebx, [esp + 4]
mov ecx, ebx
push 0x4e4336
call fcn.00429ed8
lea esi, [esp + 0x2c]
mov ecx, esi
push str.Software360Chromechrome
call fcn.0040394a
cmp byte [esi + 0xb], 0
jns 0x40c8d7
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x20]
mov ecx, edi
push 0x20019
push esi
push 0x80000001
call fcn.004405b0
cmp dword [edi], 0
je 0x40c941
lea ecx, [esp + 0x20]
push str.nosign_sygyzy
call fcn.00440760
test al, al
jne 0x40c941
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x40c911
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40c941
mov ecx, dword [esp]
push 0x4e43a6
call fcn.0042d9e0
test al, al
jne 0x40c941
cmp byte [esp + 0xf], 0
jns 0x40c931
mov ebx, dword [esp + 4]
xor eax, eax
inc eax
push eax
push 0
push eax
push ebx
call fcn.004438e0
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x40c95d
mov eax, dword [esp + 4]
jmp 0x40c961
mov dword [ebx], 0
mov dword [ebx + 4], 1
jmp 0x40c9ce
lea eax, [esp + 4]
mov ebx, dword [ebp + 8]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
lea ecx, [esp + 0x20]
call fcn.00440720
cmp byte [esp + 0x37], 0
jns 0x40c98d
push dword [esp + 0x2c]
call fcn.004af3c6
add esp, 4
movzx eax, byte [esp + 0xf]
test al, al
jns 0x40c9a0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
jmp 0x40c9a4
lea edx, [esp + 4]
lea esi, [esp + 0x2c]
mov ecx, esi
push eax
push edx
call fcn.00430400
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00430500
mov ecx, esi
call fcn.004304c0
mov dword [ebx], edi
mov dword [ebx + 4], 0
mov al, byte [esp + 0xf]
test al, al
jns 0x40c9de
push dword [esp + 4]
call fcn.004af3c6
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x40c9f1
push dword [esp + 0x10]
call fcn.004af3c6
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004af401
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x40f435
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 8], eax
movzx eax, word [0x4e3efd]
lea ecx, [ebp - 0x10]
mov word [ecx + 4], ax
mov eax, dword [0x4e3ef9]
mov dword [ecx], eax
sub esp, 0x2c
lea eax, [ebp - 0x18]
mov dword [esp + 0x28], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x4e3e10]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f4b9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x40f4ab
mov dword [ebp - 0x14], 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esi, dword [ebp - 0x14]
jmp 0x40f4bb
xor esi, esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004af401
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret

Function at 0x40f75a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x40f78e
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.0040f796
lea eax, [ebx + 1]
cmp eax, 2
jb 0x40f787
mov dword [esi], ebx
call fcn.00432240
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40f7bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0
mov eax, 4
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
lea edx, [ebp - 0x1c]
mov dword [edx], eax
push edx
push esi
push ecx
push str.hookcheck
push str.Software360
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esi], 1
jne 0x40f8b0
push 0x20
call fcn.004af396
add esp, 4
lea esi, [ebp - 0x28]
mov dword [esi], eax
mov dword [esi + 8], 0x80000010
mov dword [esi + 4], 0xc
movsd xmm0, qword [0x4e40a0]
movsd qword [eax + 0x10], xmm0
movups xmm0, xmmword [0x4e4090]
movups xmmword [eax], xmm0
mov word [eax + 0x18], 0
xor edi, edi
mov dword [ebp - 0x2c], 0
lea ebx, [edi + 0x4e3f50]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40f875
mov ecx, esi
push ebx
call fcn.00429ed8
mov ecx, esi
push 0x4e40aa
call fcn.00429ed8
mov al, 1
mov dword [ebp - 0x2c], eax
add edi, 0x40
cmp edi, 0x140
jne 0x40f84b
test byte [ebp - 0x2c], 1
je 0x40f89f
cmp byte [ebp - 0x1d], 0
jns 0x40f88f
mov esi, dword [ebp - 0x28]
xor eax, eax
push eax
push 0x4e40ae
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0x1d], 0
jns 0x40f8b0
push dword [ebp - 0x28]
call fcn.004af3c6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40f8c2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x22c
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 8], eax
lea esi, [ebp - 0x11c]
mov dword [esi], 0x114
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esi + 4]
cmp eax, 6
jne 0x40f938
cmp dword [ebp - 0x114], 3
ja 0x40f93d
push 0x4e40d2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f932
lea esi, [ebp - 0x230]
push esi
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x118], eax
jmp 0x40f938
mov eax, dword [ebp - 0x118]
cmp eax, 0xa
je 0x40f946
cmp dword [ebp - 0x114], 4
jne 0x40f950
mov dword [0x5321dc], 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004af401
add esp, 0x22c
pop esi
pop ebp
ret
Function at 0x40f963
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [esp + 0x250], eax
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.00440590
xor ebx, ebx
lea edi, [esp + 0x48]
push 0x208
push ebx
push edi
call fcn.004b8bc0
add esp, 0xc
push ebx
push 0x26
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push edi
call fcn.004d0280
add esp, 8
cmp word [edi], 0
je 0x40f9d4
xor eax, eax
lea ebx, [eax + 1]
cmp word [esp + eax*2 + 0x4a], 0
mov eax, ebx
jne 0x40f9c7
lea esi, [esp + 0x28]
mov ecx, esi
push ebx
push edi
call fcn.00430400
lea edi, [esp + 0x34]
push esi
push edi
call fcn.0043e210
add esp, 8
mov ecx, esi
call fcn.004304c0
mov ecx, dword [edi]
test ecx, ecx
je 0x40fb3d
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
movzx eax, byte [esp + 0x33]
test al, al
jns 0x40fa17
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
push eax
push esi
push edi
call fcn.0043a980
add esp, 0xc
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea esi, [esp + 4]
mov ecx, esi
push 0x4e40c0
call fcn.004043d8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x40fa54
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0x27]
test cl, cl
jns 0x40fa65
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea ebx, [esp + 0x10]
push ebx
push eax
push esi
push 1
push 0x4e40c2
push ecx
push edi
call fcn.00438780
add esp, 0x1c
cmp byte [esp + 0xf], 0
jns 0x40fa90
push dword [esp + 4]
call fcn.004af3c6
add esp, 4
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x40faa1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor ecx, ecx
inc ecx
lea esi, [esp + 4]
push 0
push ecx
push ecx
push 0x4e40c0
push eax
push ebx
push esi
call fcn.004379f0
add esp, 0x1c
mov eax, dword [esi]
cmp dword [esi + 4], eax
je 0x40fadf
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x40fad0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
call fcn.00436c40
add esp, 0xc
mov esi, dword [esp + 0x44]
lea ecx, [esp + 4]
call fcn.00404542
cmp byte [esp + 0x1b], 0
jns 0x40faff
push dword [esp + 0x10]
call fcn.004af3c6
add esp, 4
cmp byte [esp + 0x27], 0
jns 0x40fb12
push dword [esp + 0x1c]
call fcn.004af3c6
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x40fb25
push dword [esp + 0x28]
call fcn.004af3c6
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x40fb48
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x40fb48
mov dword [esp + 0x34], 0
xor esi, esi
dec esi
lea ecx, [esp + 0x38]
call fcn.00440720
mov ecx, dword [esp + 0x250]
xor ecx, ebp
call fcn.004af401
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410df8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x410e46
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x410e20
cmp edx, 1
je 0x410e67
cmp edx, 2
je 0x410e5e
cmp edx, 3
jne 0x410e72
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4158e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.004ce57a
add esp, 0x10
cmp eax, esi
jne 0x415950
cmp ebx, 1
je 0x4158f9
cmp ebx, 2
mov esi, 0xffffffff
je 0x415953
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.004ce11b
add esp, 4
neg eax
sbb esi, esi
jmp 0x415953
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x415970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x415994
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.004ce57a
add esp, 0x14
jmp 0x4159c3
test esi, esi
jle 0x4159bc
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, byte [eax + edi]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x4159be
inc edi
cmp esi, edi
mov eax, ebx
jne 0x41599d
mov edi, esi
jmp 0x4159be
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4159d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 8]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 0xffffffff
je 0x415a13
mov esi, ecx
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x415a2b
xor edi, edi
inc edi
lea eax, [ebp - 0x19]
push dword [esi + 0x20]
push edi
push edi
push eax
call fcn.004ce57a
add esp, 0x10
cmp eax, edi
je 0x415a15
xor ebx, ebx
dec ebx
jmp 0x415a15
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea ebx, [ebp - 0x19]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push ebx
push dword [esi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], ebx
je 0x415a0e
mov edi, eax
cmp eax, 3
je 0x415a8c
cmp edi, 1
ja 0x415a0e
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub ebx, eax
push dword [esi + 0x20]
push ebx
push 1
push eax
call fcn.004ce57a
add esp, 0x10
cmp eax, ebx
jne 0x415a0e
mov ebx, dword [ebp - 0x24]
cmp edi, 1
je 0x415a36
jmp 0x415aa5
xor edi, edi
inc edi
push dword [esi + 0x20]
push edi
push edi
push ebx
call fcn.004ce57a
add esp, 0x10
cmp eax, edi
jne 0x415a0e
mov ebx, dword [ebp + 8]
jmp 0x415a15

Function at 0x415ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x415b04
push dword [ecx + 0x20]
push esi
push 2
push eax
call fcn.004ce57a
add esp, 0x14
jmp 0x415b34
test esi, esi
jle 0x415b2d
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp ax, 0xffff
je 0x415b2f
inc edi
cmp esi, edi
mov eax, ebx
jne 0x415b0d
mov edi, esi
jmp 0x415b2f
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x415b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
movzx esi, word [ebp + 8]
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp si, 0xffff
je 0x415b86
mov edi, ecx
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x415b9e
lea eax, [ebp - 0x1a]
push dword [edi + 0x20]
push 1
push 2
push eax
call fcn.004ce57a
add esp, 0x10
cmp eax, 1
je 0x415b88
xor esi, esi
dec esi
jmp 0x415b88
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af401
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x1a]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x415b81
mov ebx, eax
cmp eax, 3
je 0x415bff
cmp ebx, 1
ja 0x415b81
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.004ce57a
add esp, 0x10
cmp eax, esi
jne 0x415b81
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x415ba9
jmp 0x415c18
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.004ce57a
add esp, 0x10
cmp eax, ebx
jne 0x415b81
movzx esi, word [ebp + 8]
jmp 0x415b88

Function at 0x415db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x415ddf
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x415dc1
pop esi
pop edi
pop ebp
ret 8

Function at 0x415ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x415f21
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x415f01
pop esi
pop edi
pop ebp
ret 8
Function at 0x41f454
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00427c94
mov ebx, eax
test esi, esi
je 0x41f48d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41f47a
movzx eax, word [eax]
jmp 0x41f481
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x41f48d
test bl, bl
jne 0x41f493
jmp 0x41f4f0
xor esi, esi
test bl, bl
jne 0x41f4e1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41f4a2
movzx eax, word [eax]
jmp 0x41f4a7
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41f4d2
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41f4cb
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41f460
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41f460
mov ecx, edi
call fcn.00427c94
mov ebx, eax
test esi, esi
jne 0x41f4f9
jmp 0x41f4ea
mov ecx, edi
call fcn.00427c94
mov ebx, eax
test bl, bl
jne 0x41f518
jmp 0x41f51e
mov ecx, edi
call fcn.00427c94
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41f506
movzx eax, word [eax]
jmp 0x41f50d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x41f51e
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42d250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [0x532d90]
test edi, edi
jne 0x42d2f6
push 0x24
call fcn.004af396
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax], 0
push 0xc
call fcn.004af396
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x532d90], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
test eax, eax
je 0x42d2ed
cmp word [eax], 0
je 0x42d2ed
xor ecx, ecx
nop dword [eax + eax]
lea edx, [ecx + 1]
cmp word [eax + ecx*2 + 2], 0
mov ecx, edx
jne 0x42d2e0
mov ecx, esi
push edx
push eax
call fcn.0042d300
test edi, edi
sete al
pop esi
pop edi
pop ebp
ret