joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433650
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00427d74
xor ebx, ebx
cmp dword [0x44e304], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x433726
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x433806
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43fba0
push edi
call esi
cmp eax, ebx
je 0x433806
push eax
call fcn.00427d06
mov dword [esp], 0x43fb90
push edi
mov dword [0x44e304], eax
call esi
push eax
call fcn.00427d06
mov dword [esp], 0x43fb7c
push edi
mov dword [0x44e308], eax
call esi
push eax
call fcn.00427d06
mov dword [0x44e30c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00424b48
test eax, eax
pop ecx
pop ecx
je 0x4336f4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422bdb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x433726
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00427d06
cmp eax, ebx
pop ecx
mov dword [0x44e314], eax
je 0x433726
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00427d06
pop ecx
mov dword [0x44e310], eax
mov eax, dword [0x44e310]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4337ab
cmp dword [0x44e314], ecx
je 0x4337ab
push eax
call fcn.00427d7d
push dword [0x44e314]
mov esi, eax
call fcn.00427d7d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4337ab
cmp edi, ebx
je 0x4337ab
call esi
cmp eax, ebx
je 0x433778
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x433778
test byte [ebp - 0x18], 1
jne 0x4337ab
lea eax, [ebp - 0x10]
push eax
call fcn.00424b7f
test eax, eax
pop ecx
je 0x433793
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00422bdb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4337a2
or dword [ebp + 0x10], 0x200000
jmp 0x4337e6
or dword [ebp + 0x10], 0x40000
jmp 0x4337e6
mov eax, dword [0x44e308]
cmp eax, dword [ebp - 8]
je 0x4337e6
push eax
call fcn.00427d7d
cmp eax, ebx
pop ecx
je 0x4337e6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4337e6
mov eax, dword [0x44e30c]
cmp eax, dword [ebp - 8]
je 0x4337e6
push eax
call fcn.00427d7d
cmp eax, ebx
pop ecx
je 0x4337e6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e304]
call fcn.00427d7d
cmp eax, ebx
pop ecx
je 0x433806
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x433808
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437d51
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44a6a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00437ce6
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00424f30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x437da0
cmp dword [ebp - 0x1c], 5
jb 0x437db8
jmp 0x437db4
cmp dword [ebp - 0x10], 1
jne 0x437db8
cmp dword [ebp - 0x1c], 4
ja 0x437db4
jne 0x437db8
cmp dword [ebp - 0x18], 0
jbe 0x437db8
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44047c
call fcn.00437bba
test eax, eax
jge 0x437dd9
mov byte [0x44e46c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00422bc2
add ebp, 0x78
leave
ret
Function at 0x403cbb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
cmp dword [0x40eae8], 0
jne 0x403d2c
cmp dword [0x40eaec], 0
jne 0x403d2c
cmp dword [0x40eaf0], 0
jne 0x403d2c
cmp dword [0x40eaf4], 0
jne 0x403d2c
cmp dword [0x40eaf8], 0
jne 0x403d2c
cmp dword [0x40eafc], 0
jne 0x403d2c
cmp dword [0x40eb00], 0
jne 0x403d2c
cmp dword [0x40eb04], 0
je 0x403d3e
push str.Twunk_____InitApplication___Application_In_Use_r_n
call fcn.0040434e
add esp, 4
jmp 0x403e0d
mov eax, dword [ebp + 8]
mov dword [0x40eb00], eax
call fcn.00403e12
xor ecx, ecx
mov cl, al
test ecx, ecx
jne 0x403d66
push 0
call fcn.0040434e
add esp, 4
jmp 0x403e0d
call fcn.00403f54
xor ecx, ecx
mov cl, al
test ecx, ecx
jne 0x403d86
push 0
call fcn.0040434e
add esp, 4
jmp 0x403e0d
call fcn.004040e7
xor ecx, ecx
mov cl, al
test ecx, ecx
jne 0x403da6
push 0
call fcn.0040434e
add esp, 4
jmp 0x403e0d
call fcn.00404137
xor ecx, ecx
mov cl, al
test ecx, ecx
jne 0x403dc6
push 0
call fcn.0040434e
add esp, 4
jmp 0x403e0d
push 0
push str.Debug_Mode
push str.Twain
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403df8
push 0
mov eax, dword [0x40eb04]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403e06
push 2
mov eax, dword [0x40eb04]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
jmp 0x403e0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407ffc
Capabilities:
Delete file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, 0
jne 0x408015
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x408029
push eax
call fcn.00407d42
add esp, 4
mov eax, 0xffffffff
jmp 0x40802b
xor eax, eax
ret

Function at 0x40812e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], esi
jne 0x40814b
xor eax, eax
jmp 0x40829b
mov eax, dword [ebp + 8]
test byte [eax + 0x411338], 0x20
je 0x408164
push 2
push 0
push eax
call fcn.00408084
add esp, 0xc
mov eax, dword [ebp + 8]
test byte [eax + 0x411338], 0x80
je 0x4081ee
mov dword [ebp - 0xc], 0
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x408226
lea ebx, [ebp - 0x410]
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x4081b8
mov al, byte [edi]
inc edi
cmp al, 0xa
jne 0x4081a4
inc esi
mov byte [ebx], 0xd
inc ebx
lea ecx, [ebp - 0x410]
mov byte [ebx], al
inc ebx
mov eax, ebx
sub eax, ecx
cmp eax, 0x400
jl 0x40818e
lea eax, [ebp - 0x410]
push 0
sub ebx, eax
lea ecx, [ebp - 0x410]
lea eax, [ebp - 4]
push eax
push ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax*4 + 0x411438]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40821d
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
cmp eax, ebx
jge 0x40817a
jmp 0x408226
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax*4 + 0x411438]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40821d
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x408226
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jne 0x408296
cmp dword [ebp - 0xc], 0
je 0x408261
cmp dword [ebp - 0xc], 5
jne 0x40824f
call fcn.00407db5
mov dword [eax], 9
call fcn.00407dbe
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x40825a
push dword [ebp - 0xc]
call fcn.00407d42
add esp, 4
mov eax, 0xffffffff
jmp 0x40829b
mov eax, dword [ebp + 8]
test byte [eax + 0x411338], 0x40
je 0x408279
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x408279
xor eax, eax
jmp 0x40829b
call fcn.00407db5
mov dword [eax], 0x1c
call fcn.00407dbe
mov dword [eax], 0
mov eax, 0xffffffff
jmp 0x40829b
mov eax, dword [ebp - 8]
sub eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4088d2
Capabilities:
Accept command line arguments
Query environment variable
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d358
push 0x40a478
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x41193c], eax
mov al, ah
and eax, 0xff
mov dword [0x411948], eax
mov eax, dword [0x41193c]
shr dword [0x41193c], 0x10
and eax, 0xff
mov dword [0x411944], eax
shl eax, 8
add eax, dword [0x411948]
mov dword [0x411940], eax
call fcn.0040a3cb
call fcn.00408fd0
test eax, eax
jne 0x40894b
push 0x10
call fcn.00408a4b
add esp, 4
mov dword [ebp - 4], 0
call fcn.00408b1c
call fcn.0040a3c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40c47c], eax
call fcn.00409edd
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x410e08], eax
call fcn.00409e12
call fcn.00408ebd
mov esi, dword [0x40c47c]
mov al, byte [esi]
cmp al, 0x22
je 0x408999
cmp al, 0x20
jbe 0x4089c5
inc esi
cmp byte [esi], 0x20
ja 0x408991
jmp 0x4089c5
inc esi
cmp byte [esi], 0x22
je 0x4089c4
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x4089bf
movzx eax, bl
push eax
call fcn.00409dcf
add esp, 4
test eax, eax
je 0x4089b9
inc esi
inc esi
cmp byte [esi], 0x22
jne 0x4089a2
cmp byte [esi], 0x22
jne 0x4089c5
inc esi
cmp byte [esi], 0
je 0x4089d5
cmp byte [esi], 0x20
ja 0x4089d5
inc esi
cmp byte [esi], 0
jne 0x4089ca
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x4089f5
movzx eax, word [ebp - 0x40]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00408eed
jmp 0x408a31
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408d94
Capabilities:
Clear file content

Disassembly:
push ebp
mov eax, 0x100c
mov ebp, esp
call fcn.0040a638
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 1
push 0
push esi
call fcn.00408084
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x408eb1
push 2
push 0
push esi
call fcn.00408084
add esp, 0xc
cmp eax, 0xffffffff
je 0x408eb1
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
sub ebx, eax
test ebx, ebx
jle 0x408e59
lea edi, [ebp - 0x100c]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.0040a5ce
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, 0x1000
cmp ebx, eax
jge 0x408e13
mov eax, ebx
push eax
lea ecx, [ebp - 0x100c]
push ecx
push esi
call fcn.0040812e
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
je 0x408e33
sub ebx, edi
test ebx, ebx
jg 0x408e08
jmp 0x408e4b
call fcn.00407dbe
cmp dword [eax], 5
jne 0x408e48
call fcn.00407db5
mov dword [eax], 0xd
mov dword [ebp - 4], edi
push dword [ebp - 0xc]
push esi
call fcn.0040a5ce
add esp, 8
jmp 0x408e9e
jge 0x408e9e
push 0
push ecx
push esi
call fcn.00408084
add esp, 0xc
push esi
call fcn.00408d5a
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xffffffff
jne 0x408e9e
call fcn.00407db5
mov dword [eax], 0xd
call fcn.00407dbe
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push esi
call fcn.00408084
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x408eb6
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408f0f
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
call fcn.00408f9a
mov dword [0x411974], 1
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
mov byte [0x411970], bl
jne 0x408f70
cmp dword [0x40c478], 0
je 0x408f5e
mov esi, dword [0x40c470]
sub esi, 4
cmp esi, dword [0x40c478]
jb 0x408f5e
mov eax, dword [esi]
test eax, eax
je 0x408f53
call eax
sub esi, 4
cmp esi, dword [0x40c478]
jae 0x408f4b
push 0x412214
push 0x412210
call fcn.00408fb0
add esp, 8
push 0x41221c
push 0x412218
call fcn.00408fb0
add esp, 8
test ebx, ebx
je 0x408f8d
call fcn.00408fa5
jmp 0x408f97
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x408fd0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.00408a7d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x41197c], eax
cmp eax, 0xffffffff
je 0x40902d
push 0x70
push 1
call fcn.0040a665
add esp, 8
mov esi, eax
test esi, esi
je 0x40902d
push esi
mov eax, dword [0x41197c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x40902d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], 0x411ba8
mov dword [esi + 0x14], 1
jmp 0x40902f
xor eax, eax
pop esi
ret
Function at 0x409031
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x41197c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x409090
push 0x70
push 1
call fcn.0040a665
add esp, 8
mov esi, eax
test esi, esi
je 0x409086
push esi
mov eax, dword [0x41197c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x409086
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x14], 1
mov dword [esi + 0x50], 0x411ba8
jmp 0x409090
push 0x10
call fcn.00408a4b
add esp, 4
mov eax, esi
pop esi
ret

Function at 0x40a541
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 4
xor ecx, ecx
mov eax, 0x412060
push edi
cmp dword [eax], edx
je 0x40a55f
add eax, 8
inc ecx
cmp eax, 0x4120d8
jb 0x40a550
cmp dword [ecx*8 + 0x412060], edx
lea eax, [ecx*8]
jne 0x40a598
mov edx, dword [eax + 0x412064]
push 0
lea eax, [esp + 8]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x411440]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 4
ret
Function at 0x4020ce
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00407b94
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00407b94
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.00407b94
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x409750
call fcn.00407b8e
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40218e
mov eax, 0
jmp 0x4022fa
cmp dword [ebp + 0xc], 0
jne 0x4021ba
mov dword [ebp - 0x1c], esp
mov eax, 8
call fcn.00407ba0
cmp dword [ebp - 0x1c], esp
je 0x4021b7
push 6
call fcn.00407b9a
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4021e2
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4021dc
push ebx
call fcn.00407b88
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 9
call fcn.00407ba0
cmp dword [ebp - 0x1c], esp
je 0x40220d
push 6
call fcn.00407b9a
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4a2b38
mov eax, 0xa
call fcn.00407ba0
cmp dword [ebp - 0x1c], esp
je 0x402239
push 6
call fcn.00407b9a
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xb
call fcn.00407ba0
cmp dword [ebp - 0x1c], esp
je 0x4022cd
push 6
call fcn.00407b9a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0xc
call fcn.00407ba0
cmp dword [ebp - 0x1c], esp
je 0x4022f2
push 6
call fcn.00407b9a
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x4022fa
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00407b88
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00407b88
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00407b88
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411b40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048ec71
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411bc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048c960
mov eax, dword [eax]
push 0x4c4200
push eax
call fcn.0047ea14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048eefc
test bl, bl
je 0x411bc2
push 0x4c4200
lea ecx, [esp + 0xc]
call fcn.0048f28c
push 0x4c7d84
lea ecx, [esp + 0xc]
call fcn.0048f28c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x411bfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048eefc
jmp 0x411cc9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x411c82
lea edx, [esp + 0x7c]
push 0x4c7d80
push edx
call fcn.0047ea14
add esp, 8
test eax, eax
je 0x411c82
lea eax, [esp + 0x7c]
push 0x4c7d7c
push eax
call fcn.0047ea14
add esp, 8
test eax, eax
je 0x411c82
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411c12
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048eefc
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x4124c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a66b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d9fa8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4125f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412526
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048eefc
xor eax, eax
jmp 0x41266f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048f039
push esi
lea ecx, [esp + 0xc]
call fcn.0048f2c8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4c7dbc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41264d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4c7db4
push closesocket
call fcn.00459f60
test eax, eax
jne 0x41264d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4c7da0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00459f60
test eax, eax
jne 0x41264d
lea eax, [esp + 0x14]
push 0x4c7d98
push eax
call fcn.0047fa50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41262c
lea ecx, [esp + 0x14]
push 0x4c7d94
push ecx
call fcn.0047f9d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41262c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41262f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048efe9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41253e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048eefc
xor eax, eax
jmp 0x41266f
mov byte [esi], 0
push 0x4c7d90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048eefc
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4231d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42323e
cmp si, 0x69
ja 0x42323e
add esi, 0xffd0
cmp si, 0x11
je 0x42320e
push 0x11
call edi
test ax, ax
jge 0x42320e
or esi, 0x2000
cmp si, 0x10
je 0x423223
push 0x10
call edi
test ax, ax
jge 0x423223
or esi, 0x4000
cmp si, 0x12
je 0x423238
push 0x12
call edi
test ax, ax
jge 0x423238
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42324b
mov esi, 0xbd
jmp 0x4231ff
cmp si, 0x6e
jne 0x423258
mov esi, 0xbe
jmp 0x4231ff
cmp si, 0x6f
jne 0x4231f9
mov esi, 0xbf
jmp 0x4231ff

Function at 0x424a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ea820]
xor edx, edx
cmp eax, edx
jne 0x424a26
xor eax, eax
mov byte [eax + 0x4ea720], al
inc eax
cmp eax, 0x100
jl 0x424a0e
mov dword [0x4ea820], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ea720
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424ab7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x424a8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x424a58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x424b83
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x424b6a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret