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

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push 0x40
mov dword [esi + 0x10], eax
call dword [0x463008]
test eax, eax
mov dword [esi + 0x18], eax
je 0x422ef7
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x34]
push 0x422e30
push esi
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFileEx]
test eax, eax
jne 0x422efb
mov esi, dword [esi + 0x14]
cmp dword [esi + 0x6c], 0x10
jb 0x422eda
mov eax, dword [esi + 0x58]
jmp 0x422edd
lea eax, [esi + 0x58]
mov esi, dword [esi + 0x34]
push eax
push esi
push str.ReadOverlapped::StartRead__:_ReadFileEx__x___s
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
call fcn.0041a5c0
add esp, 0xc
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret

Function at 0x423510
Capabilities:
Create tcp socket

Disassembly:
push ecx
push esi
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x423541
push str.Socket__:_socket__
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
call fcn.0041a5c0
add esp, 4
or eax, edi
pop edi
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
push 0x10
push esi
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x423577
push str.Socket__:_bind__
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
call fcn.0041a5c0
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [esi + 2]
mov ebx, eax
push ecx
mov dword [esp + 0x10], ebx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, byte [esp + 0xe]
push 0x455810
movzx eax, ax
push eax
push 0x3a
movzx edx, bl
push edx
push 0x2e
movzx eax, bh
push eax
push 0x2e
push ecx
push 0x2e
shr ebx, 0x18
push ebx
push str.Socket_
push 0x463210
call fcn.00403ad0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.00420530
push eax
call fcn.00403ad0
add esp, 8
test eax, eax
pop ebx
jne 0x423621
xor ecx, ecx
jmp 0x423628
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov edx, dword [ecx + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
mov dword [ecx + 0x10], edx
push edi
mov ecx, eax
call fcn.004040c0
mov esi, eax
test esi, esi
je 0x42364f
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x10]
and ecx, 0xfffff3ff
or ecx, 0x200
mov dword [eax + 0x10], ecx
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x423680
Capabilities:
Connect socket

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x10
push edi
push ebp
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4236c4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x2733
je 0x4236c4
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push str.Connect__x_:_connect____s
mov esi, eax
call fcn.0041a5c0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov edx, dword [edi + 4]
push ebx
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
movzx eax, word [edi + 2]
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x18]
push str.:_Connect_
push ecx
push 0x463210
movzx esi, ax
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ad0
add esp, 8
test eax, eax
jne 0x42370b
xor edx, edx
jmp 0x423712
mov edx, dword [eax]
mov edx, dword [edx + 4]
add edx, eax
mov ecx, dword [edx + 0x10]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + 0x10], ecx
push ebp
mov ecx, eax
call fcn.004040c0
test eax, eax
jne 0x423734
xor ecx, ecx
jmp 0x42373b
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov edx, dword [ecx + 0x10]
push str.__...
push esi
and edx, 0xfffff3ff
push 0x3a
or edx, 0x200
mov dword [ecx + 0x10], edx
movzx ecx, bl
push ecx
movzx ecx, byte [esp + 0x22]
push 0x2e
movzx edx, bh
push edx
push 0x2e
push ecx
push 0x2e
shr ebx, 0x18
push ebx
push 0x451edc
push eax
call fcn.00403ad0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.004232c0
add esp, 8
mov ecx, eax
call fcn.00420530
push eax
call fcn.00403ad0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x43675e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461b64]
jne 0x436768
repz ret
jmp fcn.0043ce1c

Function at 0x43e7b9
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x462138]
je 0x43e7d4
inc edi
cmp edi, 0x17
jb 0x43e7c5
cmp edi, 0x17
jae 0x43e954
push ebp
push 3
call fcn.00447a1f
cmp eax, 1
pop ecx
je 0x43e920
push 3
call fcn.00447a1f
test eax, eax
pop ecx
jne 0x43e808
cmp dword [0x461e40], 1
je 0x43e920
cmp ebx, 0xfc
je 0x43e953
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x463860
push ebp
call fcn.0043c5e1
add esp, 0xc
test eax, eax
je 0x43e83e
push esi
push esi
push esi
push esi
push esi
call fcn.0043619a
add esp, 0x14
push 0x104
mov esi, 0x463879
push esi
push 0
mov byte [0x46397d], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x43e882
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043c5e1
add esp, 0xc
test eax, eax
je 0x43e882
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043619a
add esp, 0x14
push esi
call fcn.00439980
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43e8c7
push esi
call fcn.00439980
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x463b74
push 0x45a42c
sub ecx, eax
push ecx
push eax
call fcn.00444062
add esp, 0x14
test eax, eax
je 0x43e8c7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043619a
add esp, 0x14
jmp 0x43e8c9
xor esi, esi
push 0x45a428
push ebx
push ebp
call fcn.00443ff1
add esp, 0xc
test eax, eax
je 0x43e8e9
push esi
push esi
push esi
push esi
push esi
call fcn.0043619a
add esp, 0x14
push dword [edi*8 + 0x46213c]
push ebx
push ebp
call fcn.00443ff1
add esp, 0xc
test eax, eax
je 0x43e90b
push esi
push esi
push esi
push esi
push esi
call fcn.0043619a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447862
add esp, 0xc
jmp 0x43e953
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43e953
cmp ebp, 0xffffffff
je 0x43e953
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46213c]
push dword [esi]
call fcn.00439980
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x447862
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043c82a
xor ebx, ebx
cmp dword [0x463e74], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447938
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447a18
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x447a18
push eax
call fcn.0043c7bc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463e74], eax
call esi
push eax
call fcn.0043c7bc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463e78], eax
call esi
push eax
call fcn.0043c7bc
mov dword [0x463e7c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436a59
test eax, eax
pop ecx
pop ecx
je 0x447906
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043619a
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447938
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043c7bc
cmp eax, ebx
pop ecx
mov dword [0x463e84], eax
je 0x447938
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043c7bc
pop ecx
mov dword [0x463e80], eax
mov eax, dword [0x463e80]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4479bd
cmp dword [0x463e84], ecx
je 0x4479bd
push eax
call fcn.0043c833
push dword [0x463e84]
mov esi, eax
call fcn.0043c833
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4479bd
cmp edi, ebx
je 0x4479bd
call esi
cmp eax, ebx
je 0x44798a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44798a
test byte [ebp - 0x18], 1
jne 0x4479bd
lea eax, [ebp - 0x10]
push eax
call fcn.00436a90
test eax, eax
pop ecx
je 0x4479a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043619a
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4479b4
or dword [ebp + 0x10], 0x200000
jmp 0x4479f8
or dword [ebp + 0x10], 0x40000
jmp 0x4479f8
mov eax, dword [0x463e78]
cmp eax, dword [ebp - 8]
je 0x4479f8
push eax
call fcn.0043c833
cmp eax, ebx
pop ecx
je 0x4479f8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4479f8
mov eax, dword [0x463e7c]
cmp eax, dword [ebp - 8]
je 0x4479f8
push eax
call fcn.0043c833
cmp eax, ebx
pop ecx
je 0x4479f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463e74]
call fcn.0043c833
cmp eax, ebx
pop ecx
je 0x447a18
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447a1a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c94
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push edi
push dword [0x403bd0]
push dword [0x403bcc]
push 0x4033f3
push 0x403940
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0xc9
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0
push 0xc
push eax
call sub.user32.dll_SendMessageA
push dword [0x403bc4]
push 0x4033f9
push 0x403940
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
push 0xca
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0
push 0xc
push eax
call sub.user32.dll_SendMessageA
push dword [0x403bd4]
push dword [0x403bd0]
push 0x4033fc
push 0x403940
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push dword [0x403bd0]
push dword [0x403bcc]
push 0x403401
push 0x403948
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0xcb
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0
push 0xc
push eax
call sub.user32.dll_SendMessageA
push dword [0x403bc8]
push 0x403406
push 0x403940
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
push 0xcc
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0
push 0xc
push eax
call sub.user32.dll_SendMessageA
push dword [0x403bdc]
push dword [0x403bd8]
push 0x403409
push 0x403940
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push dword [0x403bd8]
push dword [0x403bd4]
push str._08x
push 0x403948
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0xcd
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0
push 0xc
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x403bc4]
and eax, 0xff
push 0
push eax
push 0x3e7
push dword [0x403910]
call sub.user32.dll_SetDlgItemInt
mov eax, dword [0x403bc4]
shr eax, 8
and eax, 0xff
push 0
push eax
push 0x3e6
push dword [0x403910]
call sub.user32.dll_SetDlgItemInt
mov eax, dword [0x403bc4]
shr eax, 0x10
and eax, 0xff
push 0
push eax
push 0x3e5
push dword [0x403910]
call sub.user32.dll_SetDlgItemInt
mov eax, dword [0x403bc4]
shr eax, 0x18
and eax, 0xff
push 0
push eax
push 0xce
push dword [0x403910]
call sub.user32.dll_SetDlgItemInt
fld dword [0x403bc4]
fst qword [0x403bdc]
push dword [0x403be0]
push dword [0x403bdc]
push str._.15g
push 0x403964
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0xc9
push dword [0x403910]
call sub.user32.dll_GetDlgItem
push 0x403940
push 0x63
push 0xd
push eax
call sub.user32.dll_SendMessageA
push 0x1e62
push dword [0x403910]
call sub.user32.dll_GetDlgItem
mov dword [0x403c78], eax
lea edx, [0x403940]
lea ecx, [0x403964]
mov al, byte [edx]
mov ah, byte [ecx]
cmp al, ah
je 0x401f06
mov dword [0x403918], 1
push 5
push dword [0x403c78]
call sub.user32.dll_ShowWindow
jmp 0x401f30
add edx, 1
add ecx, 1
test al, al
jne 0x401ee5
cmp dword [0x403918], 1
jne 0x401f30
push 0
push dword [0x403c78]
call sub.user32.dll_ShowWindow
mov dword [0x403918], 0
pop edi
ret
Function at 0x4020da
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov ecx, 6
lea edx, [0x4032b6]
mov eax, 0
add eax, dword [edx]
add edx, 4
sub ecx, 1
jne 0x4020f1
add eax, 5
add eax, 2
mov dword [0x4032fe], eax
push 0x100
push 0x403c8c
push dword [0x403bc0]
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 4]
push eax
push 0x403a90
push 0x100
push 0x403c8c
call sub.kernel32.dll_GetFullPathNameA
mov esi, dword [ebp - 4]
lodsb al, byte [esi]
test al, al
jne 0x402140
mov al, 0x2e
mov byte [esi - 1], al
cmp al, 0x2e
jne 0x402136
mov dword [esi], 0x696e69
push 0x403a90
push 0x104
push 0x403c8c
push str.Position
push str.Position
push str.Position
call sub.kernel32.dll_GetPrivateProfileStringA
cmp byte [0x403c8c], 0x50
je 0x4021c7
mov edi, 0x403b94
mov edx, 0x403c8c
mov ecx, 0xb
call fcn.004022ae
stosd dword es:[edi], eax
loop 0x402185
push 0x403b94
push dword [0x403910]
call sub.user32.dll_SetWindowPlacement
push 0x403bfc
push dword [0x403910]
call sub.user32.dll_GetClientRect
mov eax, dword [0x4032fe]
mov edx, 0xb0
cmp dword [0x403c04], eax
jb 0x4021c7
cmp dword [0x403c08], edx
jae 0x4021e4
push 2
push 0x177
push 0x21c
push 0
push 0
push 0
push dword [0x403910]
call sub.user32.dll_SetWindowPos
clc
popal
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..data
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4ff15b6
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2c430bab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1002aaee
pop dword [ebp - 0x2c]
mov eax, 0x17ca0845
add eax, 0xf838a2a9
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x227de750
add dword [ebp - 0x3c], 0x2bd45dfb
mov dword [ebp - 0x38], 0x375a4bef
sub dword [ebp - 0x38], 0x526ffaa
mov dword [ebp - 0x34], 0xcec8e697
sub dword [ebp - 0x34], 0x827ca269
mov dword [ebp - 0x30], 0x3e76d6b3
sub dword [ebp - 0x30], 0x3e76d6b3
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xb9807c0b
add dword [ebp - 0x3c], 0xbaf1ed4b
mov dword [ebp - 0x38], 0x4e335406
add dword [ebp - 0x38], 0xf3390d6f
mov dword [ebp - 0x34], 0x8129a474
add dword [ebp - 0x34], 0xe245c7f8
mov dword [ebp - 0x30], 0x6c0dba7e
add dword [ebp - 0x30], 0x93f24582
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x39590
push 0
call eax
mov ecx, 0x5385
xor edi, edi
add edi, eax
mov ebx, 0x10039600
add ebx, dword [ebp - 0x2c]
mov edx, 0x4ba82c53
mov dword [ebp - 0x10], 0x2b4ff26e
mov esi, dword [ebx]
add dword [ebp - 0xc], 0x52132e25
sub esi, edx
xor dword [ebp - 0x28], esi
mov dword [edi], esi
sub dword [ebp - 0x1c], ecx
add edi, 0xcaf216ab
sub edi, 0xcaf216a7
add ebx, 4
loop 0x1002abf6
add eax, 0xcf8a6910
add eax, 0x3076d7d7
xor ebx, ebx
add ebx, eax
add eax, 0xa577d2ec
add eax, 0x5a882d19
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0x9237fec8
sub eax, 0x91f7e262
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x469555e1
sub dword [ebp - 0x28], 0xf8431096
mov dword [ebp - 0x24], 0x6a23fb29
sub dword [ebp - 0x24], 0x37f0aee4
mov dword [ebp - 0x20], 0x48f05741
sub dword [ebp - 0x20], 0xfca41313
mov dword [ebp - 0x1c], 0xa3aeaf78
sub dword [ebp - 0x1c], 0xa3aeaf78
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x9b9996bf
add dword [ebp - 0x28], 0xd8d8d297
mov dword [ebp - 0x24], 0x8bf97997
sub dword [ebp - 0x24], 0x4a8d1822
mov dword [ebp - 0x20], 0x2f0c0dce
add dword [ebp - 0x20], 0x34635e9e
mov dword [ebp - 0x1c], 0x9f4799af
sub dword [ebp - 0x1c], 0x9f4799af
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x74f051ce
add eax, 0x8b4fde5e
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x386f2
push 0
call eax
mov ecx, 0xff927646
add ecx, 0x6dd98a
xor edi, edi
add edi, eax
mov edx, 0x571420de
sub edx, 0x56d3b0de
add edx, dword [ebp - 0x18]
mov esi, 0x82803414
sub esi, 0x37f5fe4b
add dword [ebp - 0x10], 0x19b9dd43
mov ebx, dword [edx]
xor dword [ebp - 4], 0x3176ca2b
add ebx, esi
add dword [ebp - 8], ebx
mov dword [edi], ebx
sub dword [ebp - 4], 0x1070b082
add edi, 0xf96151d0
sub edi, 0xf96151cc
add edx, 0xac296846
sub edx, 0xac296842
loop 0x401d85
add eax, 0x13213
mov ebx, eax
add eax, 5
mov ecx, 0x466d2103
sub ecx, 0x462d2103
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x260f7147
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4d32f7d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100023eb
pop dword [ebp - 0x34]
mov eax, 0x8b4f9c02
sub eax, 0x7b4f7817
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x388d71be
sub dword [ebp - 0x44], 0xea3b2c73
mov dword [ebp - 0x40], 0xb9ed9ca6
add dword [ebp - 0x40], 0x7845af9f
mov dword [ebp - 0x3c], 0xe25c76b1
sub dword [ebp - 0x3c], 0x96103283
mov dword [ebp - 0x38], 0x5119b9b8
add dword [ebp - 0x38], 0xaee64648
lea eax, [ebp - 0x44]
push eax
mov eax, 0xd906cfc9
sub eax, 0xc9062fc5
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xd2ab79d8
sub dword [ebp - 0x44], 0x5e391082
mov dword [ebp - 0x40], 0x3f62eaf7
sub dword [ebp - 0x40], 0xfdf68982
mov dword [ebp - 0x3c], 0xd0dc6b1
sub dword [ebp - 0x3c], 0xa99e5a45
mov dword [ebp - 0x38], 0x4d41520
sub dword [ebp - 0x38], 0x4d41520
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xa0ac4d6d
sub eax, 0x90abad65
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x34857
push 0
call eax
mov ecx, 0x99d431c1
add ecx, 0x662c0deb
mov edi, eax
mov ebx, 0x47ef1a1c
sub ebx, 0x37ee221c
add ebx, dword [ebp - 0x34]
mov edx, 0x1fc1d974
add edx, 0x2505a182
sub dword [ebp - 0x28], 0xede4dcc0
mov esi, dword [ebx]
xor dword [ebp - 0x18], edx
sub esi, edx
add dword [ebp - 0x30], eax
mov dword [edi], esi
add edi, 4
add ebx, 4
loop 0x1000250d
add eax, 0xa199c5c2
add eax, 0x5e672bc1
xor ebx, ebx
add ebx, eax
add eax, 0xfdaa6b7d
sub eax, 0xfdaa6b78
mov ecx, 0x9d4bdd51
sub ecx, 0x8d4bdd51
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1000138f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000139e
pop dword [ebp - 0x14]
mov eax, 0x7ef06606
add eax, 0x910fad98
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x881ccc43
add dword [ebp - 0x24], 0xc6357908
mov dword [ebp - 0x20], 0xd213cbcd
add dword [ebp - 0x20], 0x601f8078
mov dword [ebp - 0x1c], 0x51ff70a8
sub dword [ebp - 0x1c], 0x5b32c7a
mov dword [ebp - 0x18], 0xfb638a25
sub dword [ebp - 0x18], 0xfb638a25
lea eax, [ebp - 0x24]
push eax
mov eax, 0x92de566c
sub eax, 0x82ddd610
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x60d2f58e
sub dword [ebp - 0x24], 0xec608c38
mov dword [ebp - 0x20], 0x9ad04922
add dword [ebp - 0x20], 0xa69c1853
mov dword [ebp - 0x1c], 0xb80c2c25
sub dword [ebp - 0x1c], 0x549cbfb9
mov dword [ebp - 0x18], 0xc223937a
sub dword [ebp - 0x18], 0xc223937a
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x3a79033b
sub eax, 0x2a7882d3
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39f3d
push 0
call eax
mov ecx, 0x5264
xor ebx, ebx
add ebx, eax
mov edx, 0x1000dc00
add edx, dword [ebp - 0x14]
mov edi, 0x125a4bdf
sub edi, 0xa4317af4
sub dword [ebp - 8], 0x4f06449b
mov esi, dword [edx]
add dword [ebp - 8], 0xc8f32831
xor esi, edi
sub dword [ebp - 4], eax
mov dword [ebx], esi
add dword [ebp - 8], 0xbe277da0
add ebx, 0x5c71fa14
add ebx, 0xa38e05f0
add edx, 0xdcdc2e48
add edx, 0x2323d1bc
loop 0x100014b6
add eax, 0x30d8281b
add eax, 0xcf291448
mov ebx, eax
add eax, 0xfae867db
add eax, 0x517982a
mov ecx, 0x1a43c253
add ecx, 0xf5bc3dad
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401751
Capabilities:
Parse pe header

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