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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100a4
call fcn.00420990
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
mov esi, ecx
pop ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10090], ebx
lea edi, [ebp - 0x1008c]
push 0x48
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10070]
push ebx
push eax
call fcn.0041d8a0
add esp, 0xc
xor eax, eax
push 7
mov byte [ebp - 0x24], bl
pop ecx
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10094], eax
cmp eax, ebx
jne 0x40a55c
mov dword [ebp - 0x10094], 0x403898
mov eax, fcn.0040674b
test eax, eax
je 0x40a586
mov eax, dword [esi + 0x10]
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [ebp - 0x10094]
push 3
call fcn.0040674b
mov ebx, eax
test ebx, ebx
jne 0x40a6f9
lea eax, [ebp - 0x10090]
push eax
call fcn.00423610
mov eax, dword [esi + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [esi]
call fcn.0040a08a
mov ebx, eax
xor edi, edi
cmp ebx, edi
jl 0x40a6f9
mov eax, fcn.0040674b
test eax, eax
je 0x40a5d1
push edi
push edi
push edi
push dword [ebp - 0x10094]
push 4
call fcn.0040674b
mov ebx, eax
cmp ebx, edi
jne 0x40a6f9
xor ebx, ebx
mov dword [ebp - 0x1009c], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub ecx, edi
sbb eax, dword [ebp - 0x1009c]
cmp eax, ebx
jb 0x40a5fd
ja 0x40a5f8
cmp ecx, 0x10000
jbe 0x40a5fd
mov ecx, 0x10000
push ebx
lea eax, [ebp - 0x100a4]
push eax
push ecx
lea eax, [ebp - 0x10028]
push eax
push dword [esi]
mov dword [ebp - 0x100a4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40a685
push dword [ebp - 0x100a4]
lea eax, [ebp - 0x10028]
push eax
lea eax, [ebp - 0x10090]
push eax
call fcn.00424180
add edi, dword [ebp - 0x100a4]
push ebx
adc dword [ebp - 0x1009c], ebx
push dword [ebp - 0x1009c]
mov dword [ebp - 0x100a0], edi
push edi
push dword [ebp - 0x10094]
push 4
call fcn.0040674b
mov ebx, eax
test ebx, ebx
jne 0x40a6f9
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x1009c]
cmp ecx, dword [eax + 0x14]
ja 0x40a6a8
jb 0x40a67e
cmp edi, dword [eax + 0x10]
jae 0x40a6a8
xor ebx, ebx
jmp 0x40a5d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x40a69f
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
js 0x40a6f9
mov ebx, 0x80004005
jmp 0x40a6f9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10090]
push eax
call fcn.00424290
mov esi, dword [esi + 0x10]
push 0x20
add esi, 0x18
pop ecx
lea edi, [ebp - 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40a6cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a6a1
mov eax, fcn.0040674b
test eax, eax
je 0x40a6f9
push 0
push dword [ebp - 0x1009c]
push dword [ebp - 0x100a0]
push dword [ebp - 0x10094]
push 5
call fcn.0040674b
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00418ef1
leave
ret
Function at 0x40a9da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
push esi
push esi
push dword [edi]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
call fcn.0040a08a
mov dword [ebp - 4], eax
cmp eax, esi
jl 0x40ab48
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jne 0x40aa45
mov eax, 0x20000
push eax
push 8
mov dword [ebp - 0xc], eax
call esi
push eax
call ebx
mov dword [ebp - 8], eax
test eax, eax
jne 0x40aa61
mov dword [ebp - 4], 0x8007000e
jmp 0x40ab48
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x40aad6
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
sub ecx, eax
add eax, dword [ebp - 8]
push ecx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40aadf
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0040ab4f
mov dword [ebp - 4], eax
cmp eax, 0x8007007a
je 0x40aa16
test eax, eax
js 0x40ab2b
push dword [ebp - 0x10]
push 8
call esi
push eax
call ebx
mov dword [edi + 8], eax
test eax, eax
je 0x40aad6
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20]
push 8
call esi
push eax
call ebx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x40ab08
mov dword [ebp - 4], 0x8007000e
jmp 0x40ab2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test eax, eax
jle 0x40aaf9
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40ab2b
mov dword [ebp - 4], 0x80004005
jmp 0x40ab2b
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push ebx
push dword [edi + 8]
call fcn.00420b10
add esp, 0xc
push dword [ebx + 0x20]
push dword [ebp - 0x1c]
push dword [edi + 0xc]
call fcn.00420b10
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x40ab48
push dword [ebp - 8]
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x40ab48
call fcn.00409f5c
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x40ab4f
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
and dword [edi], 0
cmp dword [ebp + 0xc], 0x40
jae 0x40ab79
mov dword [edi], 0x138
mov eax, 0x8007007a
jmp 0x40ac73
mov ecx, 0x5a4d
cmp cx, word [eax]
je 0x40ab8d
mov eax, 0x8007000d
jmp 0x40ac73
push esi
mov esi, dword [eax + 0x3c]
cmp dword [ebp + 0xc], esi
jae 0x40aba8
add esi, 0xf8
mov dword [edi], esi
mov eax, 0x8007007a
jmp 0x40ac72
lea ecx, [esi + eax]
cmp dword [ecx], 0x4550
je 0x40abbd
mov eax, 0x8007000d
jmp 0x40ac72
movzx eax, word [ecx + 6]
movzx edx, word [ecx + 0x14]
push ebx
mov ebx, eax
imul ebx, ebx, 0x28
add ebx, esi
lea esi, [ebx + edx + 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], esi
jae 0x40abdd
mov dword [edi], esi
jmp 0x40ac53
lea ebx, [edx + ecx + 0x18]
xor edx, edx
test eax, eax
je 0x40ac3a
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 4]
push 8
pop ecx
mov edi, 0x4051b4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40ac00
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ac0e
add dword [ebp - 4], 0x28
inc edx
cmp edx, dword [ebp - 8]
jb 0x40abea
cmp dword [ebp - 8], edx
jbe 0x40ac3a
imul edx, edx, 0x28
lea ecx, [edx + ebx]
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
add esi, edx
cmp dword [ebp + 0xc], esi
jae 0x40ac2d
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x40ac53
mov edi, dword [ebp + 8]
add edx, edi
cmp dword [edx], 0xb0c50003
je 0x40ac41
mov eax, 0x8007000d
jmp 0x40ac71
mov esi, dword [edx + 0x24]
mov eax, dword [edx + 0x20]
add eax, esi
cmp dword [ebp + 0xc], eax
jae 0x40ac5a
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, 0x8007007a
jmp 0x40ac71
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
add esi, edi
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 0x18
Function at 0x40ac78
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x264], 0xffffffff
push ebx
inc eax
mov dword [ebp - 0x26c], eax
push esi
lea eax, [ebp - 0x260]
xor ebx, ebx
push eax
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
call fcn.00409d5f
mov esi, eax
cmp esi, ebx
jl 0x40ae49
push dword [ebp - 0x260]
xor eax, eax
lea ecx, [ebp - 0x25c]
call fcn.00408def
mov esi, eax
cmp esi, ebx
jl 0x40ae34
push ebx
push 0x4051c0
lea eax, [ebp - 0x25c]
call fcn.0040900c
mov esi, eax
cmp esi, ebx
jl 0x40ae34
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
jne 0x40ad38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
jle 0x40ad32
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jl 0x40ae34
test byte [ebp - 0x258], 0x10
jne 0x40adbc
mov eax, dword [ebp - 0x23c]
mov edx, dword [edi + 0x10]
xor ecx, ecx
xor ebx, ebx
add ecx, dword [ebp - 0x238]
adc eax, ebx
cmp ecx, dword [edx + 0x10]
jne 0x40adbc
cmp eax, dword [edx + 0x14]
jne 0x40adbc
push dword [ebp - 0x260]
xor eax, eax
lea ecx, [ebp - 0x25c]
call fcn.00408def
mov esi, eax
test esi, esi
js 0x40ae0a
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x25c]
call fcn.0040900c
mov esi, eax
test esi, esi
js 0x40ae0a
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
push ecx
push dword [eax]
lea ecx, [ebp - 0x264]
push dword [ebp - 0x25c]
lea edx, [ebp - 0x26c]
call fcn.0040ae6e
mov esi, eax
test esi, esi
jns 0x40add9
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40ad38
jmp 0x40adef
push dword [ebp - 0x25c]
lea ecx, [edi + 4]
xor eax, eax
call fcn.00408def
mov esi, eax
test esi, esi
js 0x40ae0a
mov eax, dword [ebp - 0x264]
cmp eax, 0xffffffff
jne 0x40ae01
mov esi, 0x80070002
jmp 0x40ae1f
or dword [ebp - 0x264], 0xffffffff
mov dword [edi], eax
cmp dword [ebp - 0x264], 0xffffffff
je 0x40ae1f
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x268], 0xffffffff
je 0x40ae34
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
cmp dword [ebp - 0x25c], ebx
je 0x40ae49
push dword [ebp - 0x25c]
call fcn.00409396
cmp dword [ebp - 0x260], ebx
je 0x40ae5c
push dword [ebp - 0x260]
call fcn.00409396
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ef1
leave
ret 8
Function at 0x40ae6e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x80
push 3
push 7
push SysReAllocString
mov esi, edx
xor edi, edi
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], edi
call fcn.0040a1ae
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40aedb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp eax, edi
jle 0x40aec6
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], edi
jl 0x40afb1
mov dword [ebp - 0x2c], 0x80004005
jmp 0x40afb1
push edi
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40af23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp eax, edi
jle 0x40af0e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], edi
jl 0x40afa5
mov dword [ebp - 0x2c], 0x80004005
jmp 0x40afa5
cmp dword [ebp - 0x30], 0x24
je 0x40af32
mov dword [ebp - 0x2c], 0x8007001e
jmp 0x40afa5
mov eax, dword [ebp - 0x28]
cmp dword [ebp + 0xc], eax
je 0x40af64
cmp dword [ebp + 0xc], edi
jne 0x40af5b
cmp eax, 0xb0c50000
je 0x40af64
cmp eax, 0xb0c50001
je 0x40af64
cmp eax, 0xb0c50002
je 0x40af64
cmp eax, 0xb0c50003
je 0x40af64
mov dword [ebp - 0x2c], 0x8007000d
jmp 0x40afa5
cmp dword [ebp + 0x10], edi
je 0x40af86
mov esi, dword [ebp + 0x10]
push 0x10
pop ecx
lea edi, [ebp - 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40af7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40af5b
mov esi, dword [ebp - 0x34]
xor edi, edi
cmp esi, edi
je 0x40af9d
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x40af98
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
jmp 0x40af9d
cmp eax, dword [ebp - 0x14]
jne 0x40af5b
mov eax, dword [ebp - 0x38]
mov dword [eax], ebx
or ebx, 0xffffffff
cmp ebx, 0xffffffff
je 0x40afb1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ef1
leave
ret 0xc
Function at 0x40afc5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x30], esi
push dword [eax + 0xc]
push dword [eax + 8]
push dword [ebx]
call fcn.0040a08a
mov dword [ebp - 0x2c], eax
cmp eax, esi
jl 0x40b108
push esi
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40b03d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp eax, esi
jle 0x40b028
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], esi
jl 0x40b108
mov dword [ebp - 0x2c], 0x80004005
jmp 0x40b108
cmp dword [ebp - 0x30], 0x24
je 0x40b04f
mov dword [ebp - 0x2c], 0x8007001e
jmp 0x40b108
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, esi
jne 0x40b075
mov dword [ebp - 0x2c], 0x8007000e
jmp 0x40b108
push 9
pop ecx
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x24
xor edi, edi
pop esi
mov dword [ebp - 0x30], edi
push edi
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
mov eax, dword [ebp - 0x34]
add eax, esi
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b0b8
add esi, dword [ebp - 0x30]
cmp dword [ebp - 0x30], edi
jne 0x40b085
cmp esi, dword [ebp - 0x10]
je 0x40b0e0
mov dword [ebp - 0x2c], 0x8007001e
jmp 0x40b0e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp eax, edi
jle 0x40b0d2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], edi
jl 0x40b0e9
mov dword [ebp - 0x2c], 0x80004005
jmp 0x40b0e9
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x34], edi
je 0x40b108
push dword [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x40b108
call fcn.00409f5c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
pop edi
xor ecx, ebp
pop esi
call fcn.00418ef1
leave
ret
Function at 0x40b9b7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x429050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 6
pop ebx
mov edi, 0x94
push edi
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], ebx
call fcn.0041d8a0
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edi, edi
inc edi
test eax, eax
je 0x40ba55
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
cmp ecx, ebx
jne 0x40ba46
test eax, eax
jne 0x40ba20
mov dword [esi], edi
jmp 0x40ba55
cmp eax, edi
jne 0x40ba2c
mov dword [esi], 2
jmp 0x40ba55
cmp eax, 2
jne 0x40ba39
mov dword [esi], 3
jmp 0x40ba55
cmp eax, 3
jne 0x40ba55
mov dword [esi], 4
jmp 0x40ba55
cmp ecx, 0xa
jne 0x40ba55
test eax, eax
jne 0x40ba55
mov dword [esi], 5
push 0x405228
xor ebx, ebx
push 0x405238
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42afa8], eax
test eax, eax
je 0x40baab
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x42afa8]
test eax, eax
jne 0x40baab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40baa9
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 4], eax
test ebx, ebx
jne 0x40bac4
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 8], ecx
jmp 0x40baca
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.00418ef1
leave
ret

Function at 0x40e838
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x40e840
mov dword [ecx*4 + 0x42c360], eax
inc ecx
cmp ecx, 0x100
jb 0x40e83b
pop esi
ret
Function at 0x412045
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425e54
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x429050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x1e8]
push dword [esi + 8]
mov eax, dword [esi]
xor ebx, ebx
push ebx
mov ecx, esi
call dword [eax + 4]
lea eax, [esp + 0x10]
add edi, 0x168
push eax
call fcn.00411eb3
push 0xe
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebx
call fcn.00411fbd
push 0xf
lea ecx, [esp + 0x14]
call fcn.00411fbd
push 0x11
push esi
lea edi, [esp + 0x18]
call fcn.00411f78
push 0x10
push esi
call fcn.00411f78
push 9
push esi
call fcn.00411f78
push 6
push esi
call fcn.00411f78
push 0x12
push esi
call fcn.00411f78
push 0x14
push esi
call fcn.00411f78
push 0x13
push esi
call fcn.00411f78
push 0x15
push esi
call fcn.00411f78
push 0xa
push esi
call fcn.00411f78
push 0x16
push esi
call fcn.00411f78
mov eax, esi
call fcn.00411f3e
push ebx
push 0x61
call fcn.00414ed2
push ebx
push 0x62
call fcn.00414ed2
push ebx
push 0x63
call fcn.00414ed2
push 0x14
pop edi
mov eax, esi
call fcn.00411ff6
push 6
pop edi
mov eax, esi
call fcn.00411ff6
push 9
pop edi
mov eax, esi
call fcn.00411ff6
push 0x11
pop edi
mov eax, esi
call fcn.00411ff6
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00412d63
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4163b2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jb 0x416504
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x4163ee
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4163f3
inc edi
cmp edi, dword [ebp - 8]
jb 0x4163e5
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x4164e4
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x416477
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x41641f
cmp cl, 0xff
jne 0x4164a6
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, dword [ebp + 0xc]
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x4164b7
movzx esi, byte [edx + 0x404f98]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
mov cl, bl
test cl, cl
je 0x416467
cmp cl, 0xff
jne 0x4164b4
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x41643d
dec ecx
shl edx, cl
and edx, 7
je 0x41640c
movzx ecx, byte [edx + 0x404f98]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x404f90], 0
mov cl, byte [ebx + 4]
je 0x4164a3
test cl, cl
je 0x4164a3
cmp cl, 0xff
jne 0x41640c
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4163e0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4163e0
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret 0xc

Function at 0x417e52
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [esi + 4]
xor ebx, ebx
cmp dword [eax], ebx
jne 0x417e6c
push ebx
push ebx
push eax
call fcn.00417ce5
cmp eax, ebx
jne 0x417ec5
push edi
lea edi, [esi + 8]
cmp dword [edi], ebx
jne 0x417e80
push ebx
push ebx
push edi
call fcn.00417ce5
cmp eax, ebx
jne 0x417ec4
lea eax, [esi + 4]
call fcn.00417df7
mov eax, edi
call fcn.00417df7
mov byte [esi + 0x10], bl
cmp dword [esi + 0xc], ebx
je 0x417e9b
xor eax, eax
jmp 0x417ec4
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x417e12
push ebx
push ebx
call fcn.00423107
add esp, 0x18
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x417e97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x417ec4
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0x41bc47
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0041b850
push eax
push esi
push dword [ebp + 8]
call fcn.0041b805
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
dec ecx

Function at 0x41be7a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x41bde5
cmp dword [eax + 0xc], ebx
je 0x41be88
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0041b840
loope 0x41bdf2
inc ebp
or al, 0xe8
inc edi
cli
invalid
lodsb al, byte [esi]
cld
cmp dword [ebp + 0xc], ebx
jne 0x41be14
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x41c02f
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x41be28
mov dword [ebp + 0x10], edi
jmp 0x41be2d
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.0041b840
or al, 0xba
sar dword [esi], 0x8b
inc ebp
adc byte [ebx + 0x74c33b00], cl
aaa
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x41be76
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x41be51
and eax, 0xffff
push eax
jmp 0x41be55
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b805
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x41c02f
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x41be36
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x41bdd7
call fcn.0041b840
add al, 0x65
mov bl, 0x20
mov eax, dword [edi + 0xa0]