joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470dc0
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 0x470e13
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 0x470dfa
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

Function at 0x477790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4fde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004780b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x641f8c
call fcn.004962a4
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x477823
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004962a4
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47781c
push 0
mov ecx, eax
call fcn.0046e8c0
mov dword [esi + 0xc], eax
jmp 0x477825
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x477825
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x498931
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x498969
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004969be
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00496996
jmp 0x498975
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49a023
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49a065
call fcn.0049fb1e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49a065
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49a05c
xor eax, eax
jmp 0x49a06d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049a073
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a004e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a007c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a009a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049ffb4
jmp 0x4a009a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a009a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049ffb4
test edi, edi
mov eax, edi
jne 0x4a0084
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x401750
Capabilities:
Send data
Send data on socket

Disassembly:
sbb ebx, dword [ebx]
push ebp
mov ebp, esp
add eax, 0xd5f0845
enter 0x40c0, 0
rol byte [ebx + 0x74f158c1], cl
rol byte [eax], cl
push ecx
aaa
adc eax, sym.imp.MSVCRT.dll_fprintf
inc esp
lodsb al, byte [esi]
add al, byte [ecx + 0x16]
add esp, 0xc
test eax, eax
je 0x401727
push eax
push 0x8ed254
out dx, al
adc eax, 0x60400633
xor eax, dword [esi]
inc eax
pushal
add esp, 8
push 1
in eax, 0x15

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov esi, dword [ebp + 0xc]
popal
jne 0x401e92
mov byte [edx + 0x78], ch
push eax
push esi
call 0x81408740
mov ecx, dword [ebp + 8]
mov edx, dword [0x400fc8]
push eax
push ecx
cmp dword [esi - 0x2b5397c0], 0xffffffc9
add byte [edx - 1], dl
adc eax, 0x9f40c1d6

Function at 0x409400
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ecx, ebx
add dword es:[eax], 0x3f33e855
loope 0x40940d
push ebx
invalid
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402c00
pop dword [ebp - 0x34]
mov eax, 0xb44090c8
sub eax, 0xb40064c8
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xe63f78f1
add dword [ebp - 0x44], 0x6812cc5a
mov dword [ebp - 0x40], 0xd2a7be60
sub dword [ebp - 0x40], 0xa074721b
mov dword [ebp - 0x3c], 0x7517f82c
sub dword [ebp - 0x3c], 0x28cbb3fe
mov dword [ebp - 0x38], 0x7f802751
sub dword [ebp - 0x38], 0x7f802751
lea eax, [ebp - 0x44]
push eax
mov eax, 0x88923418
sub eax, 0x8851b38c
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3db09776
add dword [ebp - 0x44], 0x36c1d1e0
mov dword [ebp - 0x40], 0xa8375439
sub dword [ebp - 0x40], 0x66caf2c4
mov dword [ebp - 0x3c], 0x43f8f524
add dword [ebp - 0x3c], 0x1f767748
mov dword [ebp - 0x38], 0xf73e5c3
sub dword [ebp - 0x38], 0xf73e5c3
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x36f0a
push 0
call eax
mov ecx, 0xb2e56cb1
sub ecx, 0xb2e523b0
mov ebx, eax
mov esi, 0xf6bfaa8e
add esi, 0x9816572
add esi, dword [ebp - 0x34]
mov edx, 0xf8d49f76
add edx, 0xdea39520
add dword [ebp - 0x14], 0x2a73cf29
mov edi, dword [esi]
sub dword [ebp - 0x1c], ebx
xor edi, edx
add dword [ebp - 8], eax
mov dword [ebx], edi
xor dword [ebp - 0x2c], 0x71876298
add ebx, 0x27170201
add ebx, 0xd8e8fe03
add esi, 4
loop 0x402d1d
add eax, 0x9c5a1553
sub eax, 0x9c58fe7c
mov ebx, eax
add eax, 0x725c081d
add eax, 0x8da3f7e8
mov ecx, 0x80b9b865
add ecx, 0x7f86479b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401031
Capabilities:
Create process on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403220], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x403224], eax
push 0xa
push dword [0x403224]
push 0
push dword [0x403220]
call 0x401031
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, dword [ebp + 0x10]
inc eax
mov dl, byte [eax]
cmp dl, 0x20
jne 0x401044
jmp 0x401046
jmp 0x40103a
inc eax
push eax
push 0x403123
call fcn.00401110
push 0xfa
push 0x403029
push 0xffffffffffffffff
push 0x403123
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar
mov dword [0x403228], 0x44
mov dword [0x403254], 1
mov word [0x403258], 0
push 0x40326c
push 0x403228
push 0
push 0
push 0
push 0x403029
push 0
push 0
push 0x403025
push 0
push str.mima1
call sub.advapi32.dll_CreateProcessWithLogonW
push 0xffffffffffffffff
push dword [0x40326c]
call sub.kernel32.dll_WaitForSingleObject
push dword [0x40326c]
call sub.kernel32.dll_CloseHandle
push dword [0x403270]
call sub.kernel32.dll_CloseHandle
push 0
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebp - 0x44]
leave
ret 0x10

Function at 0x43fce9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x43fce9
lcall 0x5de5, 0x8b10c483
jmp loc.009e83bc
Function at 0x406310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a1fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045dc
call fcn.00406f71
push 4
mov dword [esp + 0x18], 0
call fcn.00407c6f
mov edi, eax
add esp, 4
test edi, edi
je 0x406384
push ebx
call fcn.00406e49
mov dword [edi], eax
call fcn.00406c08
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406378
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f5a
pop ebx
jmp 0x406386
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4086e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d3d8]
jne 0x4086eb
repz ret
jmp fcn.0040c8cc
Function at 0x411b0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d3d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b43f
and dword [ebp - 0x14], 0
cmp dword [0x4303ac], 0
mov dword [ebp - 0x18], eax
jne 0x411bbe
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x411c66
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x4303ac], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x4303b0], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x4303b4], eax
call edi
push eax
call esi
mov dword [0x4303bc], eax
test eax, eax
je 0x411bbe
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x4303b8], eax
mov eax, dword [0x4303b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c17
cmp dword [0x4303bc], ecx
je 0x411c17
push eax
call esi
push dword [0x4303bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c17
test ebx, ebx
je 0x411c17
call edi
test eax, eax
je 0x411c0e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c0e
test byte [ebp - 8], 1
jne 0x411c17
or dword [ebp + 0x10], 0x200000
jmp 0x411c4a
mov eax, dword [0x4303b0]
cmp eax, dword [ebp - 0x18]
je 0x411c4a
push eax
call esi
test eax, eax
je 0x411c4a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c4a
mov eax, dword [0x4303b4]
cmp eax, dword [ebp - 0x18]
je 0x411c4a
push eax
call esi
test eax, eax
je 0x411c4a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4303ac]
call esi
test eax, eax
je 0x411c66
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086e1
leave
ret
Function at 0x428c20
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b50f8], 0x37
jne 0x428cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404138
push 0x404198
push 0x4041b8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b50fc]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x43515c]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x428ed0
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b50f8]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x43515c]
cmp eax, ebx
jbe 0x4290c6
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x428f06
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b50f8], 0x1c
jne 0x428f1d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x428f5a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b407c], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b407c], eax
mov edx, dword [0x7b407c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b50f8], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x428ff4
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x7b50f8], 0x979
mov dword [0x7b4080], 0xff6b3619
mov dword [0x7b4084], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x429048
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x428f58
cmp dword [0x7b50f8], 0x8d4
jne 0x42907f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x7b50f8], 0x17
jne 0x4290b5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x428f00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x40ed40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee0b
jmp 0x40edff
cmp dword [esi + 0x10], 0x1000
jne 0x40edeb
test byte [esi + 0x15], 1
jne 0x40edeb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ed9c
cmp ebp, 2
je 0x40ed9c
cmp ebp, 0x10
je 0x40ed9c
cmp ebp, 0x20
jne 0x40edb8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edb8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40edc9
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed38
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edbc
cmp byte [esp + 4], 0
je 0x40edeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee0b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed71
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219

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

Disassembly:
pushal
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x731e066b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3e3749a1
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4011b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x1d
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x39
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x79
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xab
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xdb
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x7d
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xfa
push 0
push 0
push 0
call edi
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x28
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xf7
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x21
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x17
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xfe
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xcf
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x3b
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x2f
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x81
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xbc
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x33
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x49
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xcb
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xad
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xf6
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xeb
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xf7
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x82
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x5a
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x1f
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x57
inc esi
cmp esi, 0x29d400
jb 0x4011c0
pop edi
pop esi
ret
Function at 0x402dc0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402dff
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402dff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402dff
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402dff
cmp dword [ecx + 0x74], 0xe
jbe 0x402dff
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40914b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417394
push 0x41738c
push str.FlsAlloc
push 0x1e
call fcn.00408fcc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40917f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
jmp 0x409185
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4091c9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4173a4
push 0x41739c
push str.FlsGetValue
push 0x20
call fcn.00408fcc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409200
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]