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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [esp + 0x3c]
cmp dword [0x422334], esi
jbe 0x413580
mov edx, dword [esp + 0x44]
lea ecx, [edx + 1]
xor eax, eax
cmp ecx, 2
jb 0x41358c
mov eax, dword [esi*4 + 0x422338]
test ah, 0x40
je 0x413594
xor edi, edi
test ah, 2
je 0x4135a0
xor eax, eax
jmp 0x41358c
mov dword [esp], 0xfffffffa
call fcn.00414194
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp 0x413980
test edx, edx
jne 0x4135a8
xor eax, eax
jmp 0x41358c
mov ebx, dword [esp + 0x40]
sub edx, edi
mov dword [esp + 0x10], edx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call 0x413980
mov ebp, eax
test ebp, ebp
je 0x413701
mov dword [esp + 0x18], edi
mov eax, 0xffffffff
cmp ebp, 0xffffffff
je 0x41358c
mov dword [esp + 8], ebp
mov dword [esp], ebx
mov dword [esp + 4], 0x1a
call fcn.00412ca4
test eax, eax
je 0x413604
or byte [esi*4 + 0x422339], 2
mov ebp, eax
sub ebp, ebx
je 0x4136fd
mov dword [esp + 0x1c], eax
lea edi, [ebp + ebx - 1]
cmp byte [ebp + ebx - 1], 0xd
jne 0x413637
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 1
call 0x413980
mov ecx, eax
mov eax, 0xffffffff
cmp ecx, 0xffffffff
je 0x41358c
mov dword [esp + 0x24], edi
lea eax, [ebx + ebp]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ebp
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x14], ebx
jmp 0x41365d
add edi, ebp
inc ebx
mov esi, ebx
mov ebp, dword [esp + 0x20]
mov eax, ebp
sub eax, esi
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0xd
call fcn.00412ca4
mov ebx, eax
test ebx, ebx
cmove ebx, ebp
mov ebp, ebx
sub ebp, esi
cmp esi, edi
je 0x413698
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00412d68
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x413658
mov ebx, dword [esp + 0x14]
sub edi, ebx
add ebp, edi
mov edi, dword [esp + 0x18]
add edi, ebp
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jae 0x4136d9
cmp dword [esp + 0x1c], 0
sete al
mov esi, dword [esp + 0x3c]
test byte [esi*4 + 0x422339], 0x20
sete cl
test ebp, ebp
jne 0x413701
and cl, al
jne 0x4136ed
jmp 0x413701
cmp dword [esp + 0x1c], 0
sete al
test ebp, ebp
mov esi, dword [esp + 0x3c]
jne 0x413701
test al, al
je 0x413701
add ebx, ebp
mov edx, dword [esp + 0x44]
cmp edi, edx
jb 0x4135ac
jmp 0x413701
mov edi, dword [esp + 0x18]
mov eax, edi
jmp 0x41358c
push esi
sub esp, 0x18
mov eax, dword [esp + 0x20]
cmp dword [0x422334], eax
jbe 0x4139cd
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x4274c8]
lea esi, [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_ReadFile
sub esp, 0x14
cmp eax, 1
jne 0x4139db
mov eax, dword [esp + 0x14]
jmp 0x4139f1
mov dword [esp], 6
call fcn.00414194
jmp 0x4139f1
call sub.KERNEL32.DLL_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
je 0x4139f1
mov dword [esp], ecx
call fcn.00414194
add esp, 0x18
pop esi
ret
jmp 0x413548
Function at 0x413a08
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0x18
mov eax, dword [esp + 0x20]
cmp dword [0x422334], eax
jbe 0x413a55
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x4274c8]
lea esi, [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
cmp eax, 1
jne 0x413a63
mov eax, dword [esp + 0x14]
jmp 0x413a68
mov dword [esp], 6
call fcn.00414194
jmp 0x413a68
call fcn.00414214
add esp, 0x18
pop esi
ret
Function at 0x416f58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x48]
test ah, 0xc0
je 0x413334
mov ebx, eax
jmp 0x413343
mov ecx, dword [0x422404]
mov ebx, 0xc000
and ebx, dword [ecx]
or ebx, eax
mov edi, ebx
shr edi, 1
and edi, 0x4000
xor edi, 0x4000
or edi, ebx
mov eax, ebx
and eax, 0x700
cmp eax, 0x1ff
ja 0x413371
cmp eax, 0x100
jne 0x4133b7
mov ebp, 4
jmp 0x4133bc
cmp eax, 0x2ff
ja 0x413381
cmp eax, 0x200
jne 0x4133b7
jmp 0x4133a9
cmp eax, 0x4ff
ja 0x413396
cmp eax, 0x300
jne 0x4133b7
mov ebp, 2
jmp 0x4133bc
mov ebp, 1
cmp eax, 0x500
je 0x4133bc
cmp eax, 0x600
jne 0x4133b0
mov ebp, 5
jmp 0x4133bc
cmp eax, 0x700
je 0x4133bc
mov ebp, 3
mov eax, ebx
and eax, 0x100
mov dword [esp + 0x1c], eax
je 0x4133f4
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
and eax, dword [0x421e80]
mov edx, 1
mov ecx, 0x80
test al, 0x80
cmove ecx, edx
jmp 0x41340b
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetFileAttributesA
sub esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, 0x80000000
mov edx, ebx
and edx, 3
je 0x41342d
cmp edx, 2
jne 0x413423
mov eax, 0xc0000000
jmp 0x41342d
cmp edx, 1
jne 0x413453
mov eax, 0x40000000
mov edx, ebx
mov esi, edx
and ebx, 0x70
xor edx, edx
cmp ebx, 0x10
je 0x413469
cmp ebx, 0x30
jne 0x413447
mov edx, 2
jmp 0x413469
cmp ebx, 0x20
jne 0x413464
mov edx, 1
jmp 0x413469
mov dword [esp], 1
call fcn.00414194
jmp 0x41353f
mov edx, 3
mov ebx, esi
test bl, 4
je 0x41347b
cmp eax, 0x80000000
sete dl
movzx edx, dl
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0
shr ebx, 7
and ebx, 1
xor ebx, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 0x18], 0
call sub.KERNEL32.DLL_CreateFileA
sub esp, 0x1c
mov esi, eax
cmp esi, 0xffffffff
je 0x413518
mov dword [esp], esi
call fcn.00413290
mov dword [esp], esi
mov ecx, edi
or ecx, 0x2000
test eax, eax
cmove ecx, edi
and ecx, 0xfffff8ff
mov dword [esp + 4], ecx
call fcn.00413dd4
cmp eax, 0xffffffff
jne 0x41353f
mov dword [esp], 4
call fcn.00414194
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov eax, 0xffffffff
jmp 0x41353f
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
cmp eax, 0x6e
jne 0x413537
mov ecx, 0x50
mov eax, 2
cmp dword [esp + 0x1c], 0
cmovne eax, ecx
mov dword [esp], eax
call fcn.00414194
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x413320
Function at 0x416f68
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [esp + 0x3c]
cmp dword [0x422334], esi
jbe 0x413580
mov edx, dword [esp + 0x44]
lea ecx, [edx + 1]
xor eax, eax
cmp ecx, 2
jb 0x41358c
mov eax, dword [esi*4 + 0x422338]
test ah, 0x40
je 0x413594
xor edi, edi
test ah, 2
je 0x4135a0
xor eax, eax
jmp 0x41358c
mov dword [esp], 0xfffffffa
call fcn.00414194
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp 0x413980
test edx, edx
jne 0x4135a8
xor eax, eax
jmp 0x41358c
mov ebx, dword [esp + 0x40]
sub edx, edi
mov dword [esp + 0x10], edx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call 0x413980
mov ebp, eax
test ebp, ebp
je 0x413701
mov dword [esp + 0x18], edi
mov eax, 0xffffffff
cmp ebp, 0xffffffff
je 0x41358c
mov dword [esp + 8], ebp
mov dword [esp], ebx
mov dword [esp + 4], 0x1a
call fcn.00412ca4
test eax, eax
je 0x413604
or byte [esi*4 + 0x422339], 2
mov ebp, eax
sub ebp, ebx
je 0x4136fd
mov dword [esp + 0x1c], eax
lea edi, [ebp + ebx - 1]
cmp byte [ebp + ebx - 1], 0xd
jne 0x413637
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 1
call 0x413980
mov ecx, eax
mov eax, 0xffffffff
cmp ecx, 0xffffffff
je 0x41358c
mov dword [esp + 0x24], edi
lea eax, [ebx + ebp]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ebp
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x14], ebx
jmp 0x41365d
add edi, ebp
inc ebx
mov esi, ebx
mov ebp, dword [esp + 0x20]
mov eax, ebp
sub eax, esi
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0xd
call fcn.00412ca4
mov ebx, eax
test ebx, ebx
cmove ebx, ebp
mov ebp, ebx
sub ebp, esi
cmp esi, edi
je 0x413698
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00412d68
mov eax, dword [esp + 0x24]
cmp ebx, eax
jb 0x413658
mov ebx, dword [esp + 0x14]
sub edi, ebx
add ebp, edi
mov edi, dword [esp + 0x18]
add edi, ebp
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jae 0x4136d9
cmp dword [esp + 0x1c], 0
sete al
mov esi, dword [esp + 0x3c]
test byte [esi*4 + 0x422339], 0x20
sete cl
test ebp, ebp
jne 0x413701
and cl, al
jne 0x4136ed
jmp 0x413701
cmp dword [esp + 0x1c], 0
sete al
test ebp, ebp
mov esi, dword [esp + 0x3c]
jne 0x413701
test al, al
je 0x413701
add ebx, ebp
mov edx, dword [esp + 0x44]
cmp edi, edx
jb 0x4135ac
jmp 0x413701
mov edi, dword [esp + 0x18]
mov eax, edi
jmp 0x41358c
push esi
sub esp, 0x18
mov eax, dword [esp + 0x20]
cmp dword [0x422334], eax
jbe 0x4139cd
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x4274c8]
lea esi, [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_ReadFile
sub esp, 0x14
cmp eax, 1
jne 0x4139db
mov eax, dword [esp + 0x14]
jmp 0x4139f1
mov dword [esp], 6
call fcn.00414194
jmp 0x4139f1
call sub.KERNEL32.DLL_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
je 0x4139f1
mov dword [esp], ecx
call fcn.00414194
add esp, 0x18
pop esi
ret
jmp 0x413548
Function at 0x41ab88
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
call sub.KERNEL32.DLL_CreateFileA
sub esp, 0x1c
mov esi, eax
test esi, esi
je 0x41acab
lea eax, [esp + 0x2c]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetLocalTime
sub esp, 4
movzx eax, word [esp + 0x2e]
mov dword [esp + 0x24], eax
movzx ecx, word [esp + 0x32]
movzx edx, word [esp + 0x2c]
movzx ebx, word [esp + 0x34]
movzx ebp, word [esp + 0x36]
movzx edi, word [esp + 0x38]
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], str._02d__02d__04d__02d:_02d:_02d._03d
mov dword [esp], 0x4277a4
call sub.USER32.DLL_wsprintfA
mov dword [esp], 0x4277a4
call fcn.00413048
lea ebx, [esp + 0x28]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0x4277a4
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov edi, dword [esp + 0x54]
mov dword [esp], edi
call fcn.00413048
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41acbc
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x9c
mov ecx, dword [0x4277c4]
mov eax, dword [0x4277c8]
mov edi, dword [esp + 0xac]
test eax, eax
jne 0x41adb1
test ecx, ecx
jne 0x41adb1
cmp dword [0x42360c], 0
je 0x41adf3
lea esi, [esp + 0x18]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x80
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0x5c
call fcn.0041aa50
test eax, eax
jne 0x41ad3e
mov dword [esp], esi
mov dword [esp + 4], 0x3a
call fcn.0041aa50
test eax, eax
je 0x41ad41
inc eax
mov esi, eax
mov dword [esp + 0x98], 0
call sub.KERNEL32.DLL_GetVersion
mov ecx, 0x12010
test eax, eax
jns 0x41ad91
call sub.KERNEL32.DLL_GetCurrentThreadId
lea ecx, [esp + 0x98]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x41aebc
call sub.USER32.DLL_EnumThreadWindows
sub esp, 0xc
mov ecx, 0x12010
cmp dword [esp + 0x98], 0
jne 0x41ad91
mov ecx, 0x11010
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0
call sub.USER32.DLL_MessageBoxA
sub esp, 0x10
jmp 0x41ae7d
test ecx, ecx
je 0x41adc8
cmp ecx, 0xffffffff
je 0x41ae7d
mov dword [esp], edi
call ecx
mov eax, dword [0x4277c8]
test eax, eax
je 0x41ae7d
cmp eax, 0xffffffff
je 0x41ae7d
cmp byte [eax], 0
je 0x41ae7d
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0041ab88
jmp 0x41ae7d
mov dword [esp], 0xfffffff4
call sub.KERNEL32.DLL_GetStdHandle
sub esp, 4
mov esi, eax
lea ebx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x42345c
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov dword [esp], edi
call fcn.00413048
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x42345c
call sub.KERNEL32.DLL_WriteFile
sub esp, 0x14
add esp, 0x9c
pop esi
pop edi
pop ebx
ret
Function at 0x41bd08
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x42b7f8]
test eax, eax
je 0x41bd4f
mov ecx, dword [eax]
xor edi, edi
test ecx, ecx
je 0x41bdda
add eax, 4
xor edi, edi
nop word cs:[eax + eax]
cmp byte [ecx], 1
sbb ecx, ecx
lea edi, [edi + ecx + 1]
mov ecx, dword [eax]
add eax, 4
test ecx, ecx
jne 0x41bd38
jmp 0x41bdda
mov esi, dword [0x42b834]
test esi, esi
jne 0x41bd7c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov esi, eax
mov dword [0x42b834], esi
test esi, esi
jne 0x41bd7c
mov dword [esp], str.GetEnvironmentStrings_failed
call fcn.0041ae9c
mov esi, dword [0x42b834]
mov dword [esp], esi
call fcn.00413048
xor ebx, ebx
mov ebp, 1
xor edi, edi
test eax, eax
je 0x41bdb0
mov ebp, esi
nop dword [eax + eax]
lea ebp, [ebp + eax + 1]
mov dword [esp], ebp
lea ebx, [eax + ebx + 1]
inc edi
call fcn.00413048
test eax, eax
jne 0x41bd98
inc ebx
mov ebp, ebx
mov dword [esp], ebp
call fcn.00410654
mov ecx, eax
mov dword [0x42b7f4], ecx
xor eax, eax
test ecx, ecx
je 0x41be85
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.00412d68
lea eax, [edi + 4]
mov dword [0x42b7fc], eax
add edi, 5
mov dword [esp], edi
mov dword [esp + 4], 4
call fcn.0041063c
mov esi, eax
xor eax, eax
test esi, esi
je 0x41be85
mov edi, dword [0x42b7f8]
test edi, edi
je 0x41be37
mov edx, dword [edi]
test edx, edx
je 0x41be72
lea eax, [edi + 4]
xor ecx, ecx
nop
cmp byte [edx], 0
jne 0x41be28
dec ecx
jmp 0x41be2b
mov dword [esi + ecx*4], edx
inc ecx
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x41be18
jmp 0x41be6e
mov ebx, dword [0x42b7f4]
mov dword [esp], ebx
call fcn.00413048
test eax, eax
je 0x41be7a
mov ebp, esi
nop word cs:[eax + eax]
mov dword [ebp], ebx
lea ebx, [eax + ebx + 1]
mov dword [esp], ebx
add ebp, 4
call fcn.00413048
test eax, eax
jne 0x41be58
test edi, edi
je 0x41be7a
mov dword [esp], edi
call fcn.00410664
mov dword [0x42b7f8], esi
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
nop
mov ecx, 0x72e43dc8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5d0a4b73
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10006040
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1000607e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10006076
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10006080
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10006066
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10006150
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10006166
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10006181
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1000e295
Capabilities:
Encode data using xor

Disassembly:
call 0x1000e20e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000e23e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000e25a
xor edx, 0
jmp 0x1000e265
xor edx, edx
jmp 0x1000e27c
jmp 0x1000e288
xor eax, eax
push 0x8427d7c0
call 0x1000e295
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000e2d1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000e2aa
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000e2e8
add eax, 0
jno 0x1000e2ed
add esi, 0
ret 0x10
Function at 0x1000f056
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000f078
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000f21a
cmp edi, dword [ebp + 0x10]
jb 0x1000f21a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000eb42
inc edi
jmp 0x1000f101
jmp 0x1000f10e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000eb42
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000eb42
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000f162
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000f146
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000f190
add dword [eax], 0x39
jle 0x1000f16c
sub al, 0xf5
mov ch, al
call fcn.1000f1a5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10010e7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10010e93
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10010ea4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10010ee5
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x10013251
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001319a
add ebx, 0
push ecx
call 0x100131af
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6cd6900b
sub ebx, dword [0x6cd8884a]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cd8883a
call fcn.1000ec79
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000e187
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001330d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001330d
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100132c4
mov eax, 1
lock xchg dword [0x6cd88846], eax
push 0x3dd1fc71
call 0x10013251
push esi
add esp, 8
cmp eax, 0
jne 0x1001323a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10013260
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10013275
cmp ecx, edx
cmp eax, 0
je 0x1001329a
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10013284
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100132b3
dec eax
loope 0x100132b6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cd88846], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100132ea
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100132ff
jmp 0x1001330a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100131f8