joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
lea ebx, [edi + 4]
push ebx
lea eax, [esp + 0xc]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x403ecd
mov edx, dword [edi]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 1
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
call ebp
test eax, eax
jne 0x403ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
cmp eax, 0x3e4
jne 0x403eb7
add esi, dword [esp + 0xc]
push 1
lea eax, [esp + 0x10]
push eax
push ebx
push ecx
call ebp
test eax, eax
je 0x403e84
add esi, dword [esp + 0xc]
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x14
ret
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
add esi, dword [esp + 0xc]
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x403ee0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
lea edi, [esi + 0x18]
push edi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x403f66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x403f6e
mov ecx, dword [esi + 0x28]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x403f2b
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
add esp, 0x14
ret
mov eax, dword [esi]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
lea edx, [esp + 0x10]
push edx
push edi
push eax
call ebp
test eax, eax
jne 0x403f65
add ebx, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x403f65
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
call ebp
test eax, eax
je 0x403f43
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x14
ret
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x404da0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [esp + 4]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
mov dword [esi + 0x3e8], eax
add esp, 8
ret
Function at 0x404e10
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0x45712c
push eax
mov dword [esp + 0x18], 0
call fcn.0043a978
mov edi, eax
add esp, 8
test edi, edi
je 0x404f4b
push ebx
push esi
push edi
push 1
lea ebx, [ebp + 0x3e0]
push 4
push ebx
call fcn.0043ac2f
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
mov dword [ebp + 0x3e4], eax
jle 0x404f1f
push edi
push 1
lea eax, [esp + 0x18]
push 4
push eax
call fcn.0043ac2f
push 1
push 0xfffffffffffffffc
push edi
call fcn.0043bd5c
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
mov ecx, dword [ebp + 0x3e4]
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x3e4]
push edi
lea eax, [edx + edx]
mov edx, dword [ecx + esi*4]
push 1
push eax
push edx
call fcn.0043ac2f
add esp, 0x30
test esi, esi
jl 0x404ee5
cmp esi, dword [ebx]
jge 0x404ee5
mov eax, dword [ebp + 0x3e4]
mov ecx, dword [eax + esi*4]
movzx eax, word [ecx + 4]
jmp 0x404eea
mov eax, 0xffffffce
movsx edx, word [esp + 0x18]
cmp edx, eax
jge 0x404f16
test esi, esi
jl 0x404f0a
cmp esi, dword [ebx]
jge 0x404f0a
mov eax, dword [ebp + 0x3e4]
mov ecx, dword [eax + esi*4]
movzx eax, word [ecx + 4]
jmp 0x404f0f
mov eax, 0xffffffce
movzx edx, ax
mov dword [esp + 0x18], edx
inc esi
cmp esi, dword [ebx]
jl 0x404e75
movsx eax, word [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
push edi
mov dword [ebp + 0x3e8], eax
call fcn.0043aea7
add esp, 8
pop esi
pop ebx
push 0x500
push 0x300
push 0
push 0
add ebp, 0x3f8
push ebp
call dword [sym.imp.USER32.dll_SetRect]
pop edi
pop ebp
pop ecx
ret 4

Function at 0x4050b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
cmp ebx, dword [esi + 0x3e0]
jge 0x405132
mov eax, dword [esi + 0x3cc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 4
push eax
mov byte [esi + 0x428], 0
mov dword [esi + 0x424], ebx
call edi
dec ebx
test ebx, ebx
jle 0x405131
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ecx]
mov eax, dword [esi + 0x3cc]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call edi
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x3cc]
push 1
push 0
lea eax, [edx + edx]
push eax
push ecx
call edi
sub ebx, 1
jne 0x4050f0
pop ebp
pop edi
pop ebx
add esp, 8
ret
Function at 0x405140
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esi + 0x3cc]
sub esp, 8
push edi
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0xfffffffffffffffc
push eax
call edi
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x3cc]
push 1
push 0
lea edx, [ecx + ecx]
push edx
push eax
call edi
inc dword [esi + 0x424]
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x424]
lea edx, [eax - 1]
pop edi
cmp ecx, edx
jb 0x4051b8
dec eax
inc word [esi + 0x40e]
mov dword [esi + 0x424], eax
mov byte [esi + 0x428], 1
add esp, 8
ret

Function at 0x4051c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp dword [esp + 0x10], 0x25
ja 0x4052d2
mov eax, dword [esi + 0x3e0]
test eax, eax
jbe 0x4052d2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
dec eax
push edi
cmp dword [esi + 0x424], eax
jb 0x405206
mov eax, dword [esi + 0x3cc]
push 0
push 0
push 4
push eax
mov dword [esi + 0x424], 0
call ebp
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x405223
push eax
call fcn.0043a6b1
add esp, 4
mov dword [esi + 0x3ec], 0
mov eax, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push eax
call edi
mov ecx, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call ebp
mov eax, dword [esp + 8]
test eax, eax
jbe 0x4052a6
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x3ec]
push eax
mov eax, dword [esp + 0x18]
push esi
xor ecx, ecx
call fcn.00406b40
mov edx, dword [esi + 0x3e0]
mov ecx, 1
add dword [esi + 0x424], ecx
mov eax, dword [esi + 0x424]
sub edx, ecx
pop edi
pop ebp
cmp eax, edx
jb 0x4052d2
add word [esi + 0x40e], cx
mov byte [esi + 0x428], cl
add esp, 8
ret 8
Function at 0x4055d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 0x3e0]
dec eax
cmp dword [esi + 0x424], eax
jne 0x4055ee
cmp dword [esi + 0x3ec], 0
jne 0x405661
push edi
call fcn.004050b0
mov edx, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
pop edi
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x3ec]
push eax
push esi
mov ecx, 0xffffffce
xor eax, eax
call fcn.00406b40
pop esi
add esp, 8
ret 4

Function at 0x405680
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 0x3e0]
push edi
dec eax
call fcn.004050b0
mov edx, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043af3e
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
mov ecx, dword [esi + 0x3ec]
push 1
push esi
xor eax, eax
xor edx, edx
call fcn.00406100
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x40572e
push eax
call fcn.0043a6b1
add esp, 4
mov dword [esi + 0x3ec], 0
pop edi
pop esi
add esp, 8
ret
Function at 0x428500
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x450e1b
mov eax, dword fs:[0]
push eax
mov eax, 0x13bc
call fcn.004478f0
mov eax, dword [0x45d1ac]
xor eax, esp
mov dword [esp + 0x13b8], eax
push ebx
push esi
push edi
mov eax, dword [0x45d1ac]
xor eax, esp
push eax
lea eax, [esp + 0x13cc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x460cdf], bl
jne 0x428751
cmp dword [edi + 0x3a8], ebx
jge 0x42855c
mov dword [edi + 0x3a8], ebx
mov eax, dword [0x462740]
mov ecx, dword [edi + 0x378]
push 0x457130
push str.CodeGameSet.st
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
call fcn.0043a978
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x428751
lea ecx, [esp + 0x44]
call fcn.0043a0f0
mov dword [esp + 0x13d4], ebx
mov eax, dword [0x46000c]
mov ecx, dword [eax + 0x350]
lea edx, [esp + 0x10]
push edx
push ecx
push 1
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x3a8]
push edx
push eax
push 2
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
mov edx, dword [0x45e954]
lea ecx, [esp + 0x10]
push ecx
push edx
push 3
mov dword [esp + 0x2c], eax
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
mov ecx, dword [0x462750]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 4
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
lea edx, [esp + 0x10]
push edx
push ebx
push 5
mov dword [esp + 0x34], eax
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
mov ecx, dword [0x45e950]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 6
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
lea edx, [esp + 0x10]
push edx
push ebx
push 7
mov dword [esp + 0x3c], eax
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
mov ecx, dword [0x46274c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 8
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
lea edx, [esp + 0x10]
push edx
push ebx
push 9
mov dword [esp + 0x44], eax
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
mov ecx, dword [edi + 0x370]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0xa
call fcn.004359e0
push eax
lea ecx, [esp + 0x50]
call fcn.00439e50
push esi
push 1
lea edx, [esp + 0x20]
push 4
push edx
mov dword [esp + 0x50], eax
call fcn.0043adae
push esi
push 1
push 0x18
push 0x45e938
call fcn.0043adae
push esi
push 1
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.0043adae
add esp, 0x30
lea edi, [esp + 0x1c]
mov ebx, 0xa
push esi
push 1
push 4
push edi
call fcn.0043adae
add esp, 0x10
add edi, 4
sub ebx, 1
jne 0x428715
push esi
call fcn.0043aea7
add esp, 4
lea ecx, [esp + 0x44]
call fcn.004385f0
lea ecx, [esp + 0x44]
mov dword [esp + 0x13d4], 0xffffffff
call fcn.0043a250
mov ecx, dword [esp + 0x13cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.0043a6a2
add esp, 0x13c8
ret
Function at 0x431ab0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x460f08], 1
push esi
movzx esi, ax
push esi
jne 0x431ac9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x431ad7
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [esi*4 + 0x4600e8]
je 0x431b02
test eax, eax
jne 0x431af6
mov dword [esi*4 + 0x4600e8], 1
mov eax, 1
pop esi
ret
cmp eax, 1
jne 0x431b0c
mov eax, 2
pop esi
ret
cmp eax, 1
je 0x431b10
cmp eax, 2
je 0x431b10
xor eax, eax
pop esi
ret
mov dword [esi*4 + 0x4600e8], 0
mov eax, 3
pop esi
ret
Function at 0x433370
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [0x460034]
push edi
movzx edi, word [edx + 0x3a6]
movsx eax, di
add eax, 0xfffffffe
cmp eax, 1
ja 0x43340e
mov ecx, dword [edx + 0x4f8]
cmp ecx, 0x11
jg 0x43340e
test ecx, ecx
je 0x43340e
cmp byte [edx + 0x4f0], 0
je 0x43340e
push esi
lea eax, [ecx - 1]
xor esi, esi
cmp eax, 0x10
ja case.0x4333b7.15
movzx eax, byte [eax + 0x43342c]
jmp dword [eax*4 + 0x433418]
mov esi, 0x31
jmp case.0x4333b7.15
mov esi, 0x35
jmp case.0x4333b7.15
mov esi, 0x27
jmp case.0x4333b7.15
mov esi, 0x3b
cmp di, 1
je 0x4333f4
mov eax, dword [ecx*8 + 0x45ee58]
mov eax, dword [edx + eax*4 + 0x324]
cmp dword [eax + 0x424], esi
je 0x433410
mov ecx, dword [ecx*8 + 0x45ee58]
mov ecx, dword [edx + ecx*4 + 0x324]
push 0
push 0
xor eax, eax
call fcn.004052e0
pop esi
pop edi
ret
pop esi
pop edi
jmp fcn.00405680
Function at 0x43a6a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d1ac]
jne 0x43a6ac
repz ret
jmp fcn.0043c79b

Function at 0x445ff4
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.00442628
and dword [ebp - 4], 0
cmp dword [0x45fec4], 0
mov ebx, eax
jne 0x4460a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x446156
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x456448
push edi
call esi
test eax, eax
je 0x446156
push eax
call fcn.004425b6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45fec4], eax
call esi
push eax
call fcn.004425b6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45fec8], eax
call esi
push eax
call fcn.004425b6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45fecc], eax
call esi
push eax
call fcn.004425b6
pop ecx
mov dword [0x45fed4], eax
test eax, eax
je 0x4460a5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004425b6
pop ecx
mov dword [0x45fed0], eax
mov eax, dword [0x45fed0]
cmp eax, ebx
je 0x4460fd
cmp dword [0x45fed4], ebx
je 0x4460fd
push eax
call fcn.00442631
push dword [0x45fed4]
mov esi, eax
call fcn.00442631
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4460fd
test edi, edi
je 0x4460fd
call esi
test eax, eax
je 0x4460f4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4460f4
test byte [ebp - 0xc], 1
jne 0x4460fd
or dword [ebp + 0x10], 0x200000
jmp 0x446136
mov eax, dword [0x45fec8]
cmp eax, ebx
je 0x446136
push eax
call fcn.00442631
pop ecx
test eax, eax
je 0x446136
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x446136
mov eax, dword [0x45fecc]
cmp eax, ebx
je 0x446136
push eax
call fcn.00442631
pop ecx
test eax, eax
je 0x446136
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45fec4]
call fcn.00442631
pop ecx
test eax, eax
je 0x446156
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446158
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 0x404b60
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x404b62
ret

Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
nop
nop
invalid
push ebp
mov ebp, esp
xchg esp, ebp
or byte [ebx + 0x24530ca1], cl
push edi
cmp dword [eax + 4], 0xffffffbb
cmovp esi, dword [edi - 0xb]
out dx, al
add byte [ebx + 0x458b0c58], cl
or byte [ebx], dh
leave
mov edx, dword [eax + 4]
mov edi, dword [ebx + 4]
test edx, edx
mov dword [ebp - 8], edi
jbe 0x406240
mov esi, dword [eax + 0xf8301c]
pop edi
jle 0x4061fb
jg 0x40625f
add dword [eax], eax
cld
mov eax, ebp
add edx, 8
add byte [ecx + ebx*8 - 0x8d725b], cl
cmp ecx, edx
mov dword [eax + 4], esi
jae 0x4062aa
lea eax, [eax - 0x76c372d0]
cmp al, 0x89
shl ebx, 0x71
rol dword [edx + 2], 0x2b
pop ebx
mov dword [ebp + 0x60], edi
mov dword [esi - 4], ecx
mov ecx, dword [eax + 0x2700301c]
mov esp, dword [esi + 0xc528b0c]
lea esi, [edi + ecx]
cmp ecx, dword [edx + 0x30]
jne 0x406288
jmp 0x4062cd
aad 0x3c
or edi, dword [ecx + 0x6b000005]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
add ebx, 0x14
mov ecx, dword [ebp - 0x4c]
dec esp
invalid
mov ecx, dword [eax + 0xc]
invalid
sub dh, byte [edx + 4]
inc ecx
pop es
add ecx, dword [ebx + 0x37830c70]
and dl, al
sbb cl, dh
jb 0x4062cd
nop
cmc
or al, 0x8b
nop
adc byte [eax], dl
imul eax, dword [eax], 0x8285c933
xchg esi, eax
cmp cl, byte [ebp + 0x1014b0]
add byte [ecx], bh
je 0x406301
inc ecx
add esi, 4
push esp
retf 0xf472
dec edx
out 0xca, al
mov dl, 0x1b
lea edx, [eax + ecx*4 - 0xcffefec]
mov esi, dword [edx - 0x73]
dec dword [ecx + 0x20b08b32]
push ss
add byte [eax], al
xor dword [edx - 0x31], 0x4e
cmp ecx, esi
jb 0x40630d
dec dword [eax + 0x50001010]
mov edx, dword [eax + 0xc32014]
xor ecx, ecx
test esi, edi
xor al, 0x3a
lea esi, [eax + 0x7000200c]
cmp dword [eax - 0x7cbef58c], ebx
invalid

Function at 0x4066cd
Capabilities:
Terminate process

Disassembly:
push cs
push ecx
call fcn.00405600
pop edi
pop esi
xor eax, eax
sbb dword [ebp - 0x3e], ebx
in eax, dx
add byte [eax + 0x8559090], dl
in al, dx
push esi
mov ebx, dword [ebp + 0x4468b63]
cmp eax, 0xffffffff
je 0x406718
push eax
jmp dword [eax - 0x40]
mov eax, dword [esi + 0x40]
test dword [ecx + 0x74], esi
lodsd eax, dword [esi]
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmovbe eax, dword [eax]
xchg ebx, eax
add byte [eax], al
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xchg ebp, eax
inc esi
or byte [ebp - 0x367afbb8], al
jne 0x40a2ed
add eax, 0xc
push eax
call dword [0xc240c038]
xor esp, dword [ebx*2 - 0x74fffb3e]
inc eax
or byte [edx + 4], ch
mov eax, dword [eax + 8]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40a2e7
cmp eax, 0x80
je 0x40a2e7
xchg edi, eax
add al, byte [ecx]
add byte [edi - 0x47f58aaa], ch
mov dword [ecx], edx
add dword [eax], eax
mov bl, byte [ebp - 0x3e]
add al, 0
mov esi, dword [0x40c0a5]
call esi
inc esp
sal byte [ebp + 5], 0x5e
dec eax
ret 0x7e
Function at 0x4186ca
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041853b

Function at 0x418ac4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407f70
mov eax, dword [0x431040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004167d8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x418b06
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418c62
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423790
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x458768]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419abb
mov ecx, dword [esi*4 + 0x458768]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418c5b
cmp eax, dword [edi + ecx + 0x24]
jne 0x418c5b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418c5b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419abb
add esp, 0x14
test edx, edx
jl 0x418c5b
jg 0x418bd1
test eax, eax
jb 0x418c5b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418c5b
jl 0x418beb
cmp dword [ebp - 0x1008], eax
ja 0x418c5b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418c09
test ebx, ebx
je 0x418c42
cmp ecx, edi
jae 0x418c42
mov al, byte [ecx]
cmp al, 0xd
jne 0x418c23
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418c2f
cmp byte [ecx + 1], 0xa
jne 0x418c2f
inc ecx
jmp 0x418c2f
movzx eax, al
movsx eax, byte [eax + 0x431310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418c09
cmp edx, ebx
jne 0x418c09
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418c60
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407402
leave
ret