joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x445ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x403fca
mov eax, dword [0x456da0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0043d3d2
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0043d421
push 0x4541f8
lea ecx, [esp + 0xc]
call fcn.0043d3ab
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x403fb1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x403fb1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043d0ed
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x404042
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpy]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x404250
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x45453c
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x404342
lea ecx, [esp + 0x10]
push ecx
push 0x454534
push 0x80000000
mov ecx, edi
call fcn.00403fe0
test eax, eax
jne 0x404342
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcat]
lea edx, [esp + 0x10]
push 0x454520
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.00403fe0
test eax, eax
jne 0x404342
lea edx, [esp + 0x10]
push 0x454518
push edx
call fcn.00429200
mov esi, eax
add esp, 8
test esi, esi
jne 0x404313
lea eax, [esp + 0x10]
push 0x454514
push eax
call fcn.00429180
mov esi, eax
add esp, 8
test esi, esi
jne 0x404313
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlen]
lea esi, [esp + eax + 0xf]
jmp 0x404316
mov byte [esi], 0
push 0x454510
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x406970
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
mov dword [0x458c00], 1
push esi
mov esi, ecx
call fcn.00407ae0
test eax, eax
je 0x4069ad
mov dword [0x458c00], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov eax, dword [0x458c00]
push eax
call fcn.004081d0
mov dword [0x458c00], eax
mov eax, dword [0x458c00]
test eax, eax
je 0x406a4a
lea ecx, [esp + 8]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x20c]
lea eax, [esp + 0x30c]
push edx
lea ecx, [esp + 0x110]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00429502
push 0x45487c
lea ecx, [esp + 0x124]
push 0x454874
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00429471
add esp, 0x28
lea ecx, [esp + 8]
push ecx
push 0x454860
push 0x45485c
push 0x454674
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [0x458c00]
test eax, eax
je 0x406a4a
push 0
push 2
mov ecx, esi
call fcn.0043c5e7
mov ecx, eax
call fcn.0043c809
pop esi
add esp, 0x408
ret

Function at 0x407760
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0x5c
je 0x4077bc
mov edi, 0x45458c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x454984
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x454980
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00429d42
mov esi, eax
add esp, 8
test esi, esi
je 0x407820
mov ecx, dword [esp + 0x114]
push esi
push 0x400
push 1
push ecx
call fcn.00429bd8
push esi
call fcn.00429b5b
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x4079f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x18c
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0x5c
je 0x407a4c
mov edi, 0x45458c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x454984
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4000
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x407aa3
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18c
ret
lea edx, [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
mov eax, dword [esp + 0x19c]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll__hread]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18c
ret

Function at 0x407b80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
jne 0x407b8b
xor eax, eax
ret
push edi
mov ecx, 0x100
mov eax, 0x58585858
mov edi, edx
rep stosd dword es:[edi], eax
xor eax, eax
pop edi
mov cl, al
xor cl, 0x48
mov byte [eax + edx], cl
inc eax
cmp eax, 0x200
jl 0x407b9d
mov ecx, dword [esp + 8]
push esi
lea eax, [edx + 0x104]
push edx
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
call fcn.00407be0
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x407be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea edi, [ebp + 0x200]
xor eax, eax
sub ebp, edi
lea esi, [edi + eax]
mov cl, al
not cl
mov dl, byte [esi + ebp]
xor dl, cl
inc eax
cmp eax, 0x200
mov byte [esi], dl
jl 0x407bf1
pop edi
pop esi
pop ebp
ret
Function at 0x407c50
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x44c
xor eax, eax
push ebx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [esp + 8], eax
push ebp
push esi
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x20], ecx
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.00407c10
mov edx, eax
mov ecx, 0x100
mov eax, 0x58585858
lea edi, [esp + 0x64]
add esp, 8
rep stosd dword es:[edi], eax
xor eax, eax
mov cl, al
xor cl, 0x55
mov byte [esp + eax + 0x5c], cl
inc eax
cmp eax, 0x100
jl 0x407c9d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov ax, word [esp + 0x18]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x164], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x166], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x16a], eax
mov eax, edx
mov dword [esp + 0x16e], ecx
xor ecx, ecx
shr eax, 0x10
mov cl, ah
mov esi, 0x4549a0
mov byte [esp + 0x172], cl
mov ecx, 9
lea edi, [esp + 0x34]
mov byte [esp + 0x173], al
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x460]
xor eax, eax
mov al, dh
mov byte [esp + 0x175], dl
mov byte [esp + 0x174], al
lea eax, [ecx - 0x11a]
lea edx, [esp + 0x5c]
mov ebx, 0x11a
movsb byte es:[edi], byte [esi]
sub edx, eax
lea edi, [esp + 0x5c]
lea esi, [eax + 0x11a]
sub edi, eax
lea ebp, [edx - 0x10]
mov al, byte [esi + ebp]
mov cl, bl
not cl
xor al, cl
mov ecx, 0x24
mov byte [edi + esi], al
and eax, 0xff
cdq
idiv ecx
xor eax, eax
lea ecx, [esp + 0x28]
mov al, byte [esp + edx + 0x34]
push eax
push 0x45499c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [esp + 0x34]
add esp, 0xc
mov byte [edi + esi], al
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x12a
jl 0x407d53
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44c
ret

Function at 0x407db0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x400
lea ecx, [esp]
push 0x4548f8
push eax
push 0x454884
push 0x4549c8
push ecx
call fcn.00429d55
add esp, 0x14
lea edx, [esp]
push 1
push 0
push 0
push edx
push 0x45453c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret

Function at 0x408210
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x400
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, eax
jne 0x408229
mov ebp, 0x454bd8
mov ebx, dword [esp + 0x41c]
test ebx, ebx
mov edx, ebx
jne 0x40823b
mov edx, 0x454bd8
mov edi, dword [esp + 0x418]
test edi, edi
mov ecx, edi
jne 0x40824d
mov ecx, 0x454bd8
mov esi, dword [esp + 0x414]
test esi, esi
mov eax, esi
jne 0x40825f
mov eax, 0x454bd8
push ebp
push edx
push ecx
push eax
lea eax, [esp + 0x20]
push 0x454ba0
push eax
call fcn.00429d55
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
mov dword [0x454c0c], 0
mov eax, dword [esp + 0x424]
mov edx, dword [esp + 0x428]
push eax
push 0
push 0
push edi
push esi
mov dword [0x454c10], 1
mov dword [0x454c14], edx
call fcn.00408370
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret 0x14
Function at 0x4082d0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa48
push esi
mov esi, dword [esp + 0xa50]
test esi, esi
mov eax, esi
jne 0x4082e9
mov eax, 0x454bd8
push eax
lea eax, [esp + 8]
push 0x454be0
push eax
call fcn.00429d55
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x404]
call fcn.00408d50
push esi
lea ecx, [esp + 0x408]
call fcn.00408e80
lea ecx, [esp + 0x404]
mov esi, eax
call fcn.00408de0
mov eax, esi
pop esi
add esp, 0xa48
ret 4
Function at 0x410bd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x470
push ebx
push ebp
mov ebp, dword [esp + 0x47c]
push esi
push edi
lea eax, [ebp + 0x4bc]
push eax
push ebp
call fcn.00410a50
lea ecx, [esp + 0x28]
push ecx
call fcn.004143b0
push 0x20
lea edx, [esp + 0x30]
push 0x455510
push edx
call fcn.004143e0
lea esi, [ebp + 0x584]
push 0x10
push esi
call fcn.00410240
add esp, 0x20
test eax, eax
je 0x410c2e
push 0x10
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004143e0
add esp, 0xc
lea ecx, [esp + 0x20]
lea edi, [ebp + 0x544]
push ecx
push edi
call fcn.00414e30
lea eax, [ebp + 0x554]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x4e0]
lea eax, [ebp + 0x564]
lea edx, [esp + 0x80]
push eax
push ecx
push edx
call fcn.00413d10
push edi
push edi
lea eax, [esp + 0x94]
push 0x10
push eax
call fcn.00413e00
add esp, 0x24
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410ca4
mov cl, byte [eax + ebp + 0x564]
xor cl, bl
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, esi
jl 0x410c92
lea edx, [esp + 0x10]
lea eax, [esp + 0x78]
push edx
push esi
push eax
call fcn.00413d10
push edi
push edi
lea ecx, [esp + 0x8c]
push 0x10
push ecx
call fcn.00413e00
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x410c86
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret
Function at 0x410ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x534
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x540]
push esi
push edi
lea esi, [ebp + 0x49c]
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x20
jl 0x410d0f
mov eax, 0x20
mov ecx, eax
lea edi, [esp + 0x24]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x24]
sub ecx, eax
mov esi, 0x455510
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa4]
push ecx
call fcn.004143b0
lea edx, [esp + 0x28]
push 0x20
lea eax, [esp + 0xac]
push edx
push eax
call fcn.004143e0
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x74]
push ecx
push edx
call fcn.00414e30
mov eax, dword [ebp + 0x4e0]
add esp, 0x18
cmp eax, 0x10
jne 0x410dc0
mov esi, 0x32
lea eax, [esp + 0xa4]
push eax
call fcn.004143b0
lea ecx, [esp + 0x68]
push 0x10
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.004143e0
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00414e30
add esp, 0x18
dec esi
jne 0x410d87
lea ebx, [ebp + 0x524]
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x4bc]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebx
mov eax, ecx
cmp eax, 0x20
jl 0x410df5
mov eax, 0x20
mov ecx, eax
lea edi, [esp + 0x24]
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x140]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x28]
sub ecx, eax
mov esi, 0x455510
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x4e0]
push ecx
push edx
call fcn.00413d10
lea eax, [esp + 0x108]
lea ecx, [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x150]
push 0x20
push edx
call fcn.00413e00
mov eax, dword [ebp + 0x4e0]
add esp, 0x1c
cmp eax, 0x10
jne 0x410ec5
mov ebx, 1
mov esi, dword [ebp + 0x4e0]
xor eax, eax
test esi, esi
jle 0x410e86
mov cl, byte [esp + eax + 0x64]
xor cl, bl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, esi
jl 0x410e77
lea edx, [esp + 0x14]
lea eax, [esp + 0x13c]
push edx
push esi
push eax
call fcn.00413d10
lea ecx, [esp + 0x108]
lea edx, [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0x150]
push 0x20
push eax
call fcn.00413e00
add esp, 0x1c
inc ebx
cmp ebx, 0x13
jle 0x410e6b
mov ebx, dword [esp + 0x10]
mov ecx, 8
lea esi, [esp + 0xfc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret
Function at 0x411380
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebp
push esi
mov esi, dword [esp + 0x16c]
test esi, esi
je 0x411583
cmp byte [esi], 0
je 0x411583
mov ebp, dword [esp + 0x170]
test ebp, ebp
je 0x411583
push ebx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 0x20
jge 0x4113f6
mov edx, ecx
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + eax + 0x14]
sub ecx, eax
mov esi, 0x455510
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x411401
mov ecx, 8
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push 0x20
push edx
call fcn.00411590
mov eax, dword [esp + 0x17c]
add esp, 0xc
cmp eax, 3
jne 0x4114f8
mov esi, 0x32
lea eax, [esp + 0x14]
lea ecx, [esp + 0x14]
push eax
push 0x10
push ecx
call fcn.00411590
add esp, 0xc
dec esi
jne 0x41142a
mov ecx, 8
mov esi, ebp
lea edi, [esp + 0x34]
mov ebx, 0x13
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x16c]
xor eax, eax
test edi, edi
jle 0x41146f
mov cl, byte [esp + eax + 0x14]
xor cl, bl
mov byte [esp + eax + 0x54], cl
inc eax
cmp eax, edi
jl 0x411460
lea edx, [esp + 0x64]
lea eax, [esp + 0x54]
push edx
push edi
push eax
call fcn.00421340
add esp, 0xc
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
xor esi, esi
mov cl, byte [esp + esi + 0x34]
lea edx, [esp + 0x13]
push ecx
lea eax, [esp + 0x16]
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.004213c0
add esp, 0x10
mov byte [esp + esi + 0x34], al
inc esi
cmp esi, 0x20
jl 0x41148e
dec ebx
jns 0x41145a
mov ebp, dword [esp + 0x17c]
mov ecx, 8
lea esi, [esp + 0x34]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov eax, 0x20
mov ecx, eax
mov edi, 0x455510
lea esi, [edx + ebp]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x411559
inc edx
dec eax
test eax, eax
jg 0x4114d2
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x154
ret
cmp eax, 2
jne 0x411441
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00421340
lea edx, [esp + 0x40]
add esp, 0xc
xor esi, esi
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
sub ebp, edx
lea edi, [esp + esi + 0x34]
lea ecx, [esp + 0x13]
lea edx, [esp + 0x12]
mov al, byte [edi + ebp]
push eax
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.004213c0
add esp, 0x10
inc esi
cmp esi, 0x20
mov byte [edi], al
jl 0x41152d
jmp 0x4114b7
mov ecx, 0x20
lea edi, [edx + ebp]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x154
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x154
ret
Function at 0x4143b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41e9c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x41e9c9
ret
push eax
call fcn.00429649
add esp, 4
test eax, eax
jne 0x41e9c8
push 1
call fcn.0042b19a
nop
nop
nop

Function at 0x41e9e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jne 0x41e9fc
mov eax, dword [esp + 4]
test eax, eax
je 0x41e9f9
push eax
call fcn.00429429
add esp, 4
xor eax, eax
ret
mov ecx, dword [esp + 4]
push eax
test ecx, ecx
je 0x41ea10
push ecx
call fcn.0042b28d
add esp, 8
jmp 0x41ea18
call fcn.00429649
add esp, 4
test eax, eax
jne 0x41e9fb
push 1
call fcn.0042b19a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x41ea30
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
imul ecx, esi
test esi, esi
je 0x41ea58
mov eax, ecx
cdq
idiv esi
cmp eax, edi
jne 0x41ea58
push ecx
call fcn.0041e9c0
add esp, 4
pop edi
pop esi
ret
push 1
call fcn.0042b19a
nop

Function at 0x41ea60
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
mov ecx, edi
imul ecx, esi
test esi, esi
je 0x41ea8d
mov eax, ecx
cdq
idiv esi
cmp eax, edi
jne 0x41ea8d
mov eax, dword [esp + 0xc]
push ecx
push eax
call fcn.0041e9e0
add esp, 8
pop edi
pop esi
ret
push 1
call fcn.0042b19a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x421340
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x42134d
mov byte [esp + 0x20], cl
xor edi, edi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dl, byte [edi + esi]
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, edx
and ebp, 0xff
add ecx, ebx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42138f
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
inc eax
mov bl, byte [ecx + esi]
mov byte [edi + esi], bl
mov byte [ecx + esi], dl
cdq
idiv dword [esp + 0x1c]
inc edi
cmp edi, 0x100
mov byte [esp + 0x20], dl
jl 0x42135e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42fff6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4581f8
cmp edx, dword [eax]
je 0x430018
add eax, 8
inc ecx
cmp eax, 0x458288
jl 0x430009
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4581f8]
jne 0x430146
mov eax, dword [0x45b864]
cmp eax, 1
je 0x430120
test eax, eax
jne 0x430049
cmp dword [0x457844], 1
je 0x430120
cmp edx, 0xfc
je 0x430146
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x430080
lea eax, [ebp - 0x1a4]
push 0x44c3dc
push eax
call fcn.004301c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042da40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4300c3
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042da40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x44c3d8
push edi
call fcn.0042adb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x44c3bc
push eax
call fcn.004301c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004301d0
lea eax, [ebp - 0xa0]
push 0x44c3b8
push eax
call fcn.004301d0
push dword [esi + 0x4581fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004301d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x44c390
push eax
call fcn.004331d7
add esp, 0x2c
pop edi
jmp 0x430146
lea eax, [ebp + 8]
lea esi, [esi + 0x4581fc]
push 0
push eax
push dword [esi]
call fcn.0042da40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret