joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401200
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcr edx, 0x5e
or edi, 0xe
sub esi, 0xcd
dec esi
add edx, 0x69
neg edx
dec edi
mov edx, 0xec
rcl edi, 0x22
add edi, 0x7e
or edx, 0x2d
rcr edi, 0xe
imul esi
bswap edi
or edx, 0x45
rcl eax, 0xf6
add ebx, 0xc7
or edx, 0x28
ror eax, 0x7e
inc edx
sbb esi, 0x6e
imul edx
bswap edx
imul eax
and esi, 0xb4
bswap edx
bswap edi
and edx, 0x9f
inc eax
inc edx
rcl ebx, 0xa
not ebx
sbb ebx, 0xc3
or edx, 0x46
not eax
and eax, 0xe7
add ebx, 0x7c
add edi, 0x58
and ebx, 0xcf
bswap esi
inc esi
sub eax, 0xc8
ror ebx, 0xab
dec eax
sub ebx, 0x37
neg edx
neg ebx
and esi, 0xfd
add esi, 0xe0
neg ebx
xor ecx, ecx
xor edi, edi
sbb edx, 0x6a
bswap ebx
not eax
sub esi, 0x19
sub esi, 0x6c
add ebx, 0xb0
and edi, 0x1d
imul edi
add edi, 0xa6
sbb edi, 0x8e
rol eax, 0x22
neg edi
neg edx
not esi
rcr ebx, 0xcb
dec eax
dec ebx
inc eax
rol ebx, 0x49
dec ebx
add edi, 0x69
add ebx, 0x1e
add esi, 0xef
bswap esi
or ebx, 0x7a
mov edx, 0x18
bswap edi
inc eax
neg esi
neg ebx
not edi
add edx, 0x1e
add edi, 0x43
dec ebx
sub esi, 0xa8
bswap esi
or eax, 0x13
neg esi
add esi, 0x61
not ebx
bswap eax
neg edi
rcl esi, 0x3d
rcl edx, 0x69
and edi, 0xd0
neg edx
dec ebx
mov edx, 0x6f
add edx, 0x9c
rol eax, 0x80
mov ecx, dword [ebp + 0xc]
not edi
add esi, 0xd5
rcl esi, 0x90
bswap esi
or edx, 0x65
rcl esi, 0xa0
inc edi
or eax, 0x95
sub esi, 0x80
add edi, 0x11
mov edx, 0xee
imul eax
mov eax, 0xb2
rcr edi, 0xb6
sub ebx, 0x57
bswap eax
add esi, 0xb9
dec edi
bswap ebx
sub edx, 0x74
and edi, 0xf6
sbb edx, 0x88
inc esi
bswap edi
sbb esi, 0x23
bswap edi
ror edx, 0x48
neg eax
add edi, 0xe
dec ebx
rcr esi, 0x9d
not ebx
not eax
sub esi, 0xad
dec eax
dec esi
mov ebx, 0x9c
sub esi, 0x83
ror eax, 0x8f
or edx, 0xdc
rcr ebx, 0x23
mov esi, 0x45
imul edi
rcr esi, 0xc7
inc edx
or esi, 0x28
inc edx
bswap ebx
and eax, 0x68
imul eax
mov edi, dword [ebp + 8]
xor esi, ebx
mov esi, eax
xor ebx, ebx
not byte [edi]
xor eax, esi
mov ebx, eax
mov ebx, esi
xor ebx, ebx
mov esi, eax
mov esi, eax
xor esi, eax
mov ebx, esi
mov esi, ebx
add byte [edi], 0x26
xor esi, eax
xor esi, esi
xor eax, esi
xor esi, esi
mov eax, esi
xor eax, eax
mov eax, eax
xor eax, eax
mov esi, esi
sub byte [edi], 0x87
xor ebx, esi
xor ebx, ebx
xor esi, eax
xor esi, esi
xor eax, esi
mov eax, esi
xor esi, eax
mov esi, ebx
xor eax, esi
imul byte [edi]
inc edi
loop 0x4013d9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406224
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x587e5c]
jne 0x40622e
repz ret
jmp fcn.00407f25
Function at 0x409763
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004062a5
and dword [ebp - 4], 0
cmp dword [0x58944c], 0
mov ebx, eax
jne 0x409814
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4098c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4098c5
push eax
call fcn.00406233
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x58944c], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x589450], eax
call esi
push eax
call fcn.00406233
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x589454], eax
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x58945c], eax
test eax, eax
je 0x409814
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406233
pop ecx
mov dword [0x589458], eax
mov eax, dword [0x589458]
cmp eax, ebx
je 0x40986c
cmp dword [0x58945c], ebx
je 0x40986c
push eax
call fcn.004062ae
push dword [0x58945c]
mov esi, eax
call fcn.004062ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40986c
test edi, edi
je 0x40986c
call esi
test eax, eax
je 0x409863
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409863
test byte [ebp - 0xc], 1
jne 0x40986c
or dword [ebp + 0x10], 0x200000
jmp 0x4098a5
mov eax, dword [0x589450]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4098a5
mov eax, dword [0x589454]
cmp eax, ebx
je 0x4098a5
push eax
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x58944c]
call fcn.004062ae
pop ecx
test eax, eax
je 0x4098c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4098c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40269a
Capabilities:
Parse credit card information

Disassembly:
test esi, esi
jne 0x40275e
lea eax, [edi + ecx + 2]
sar eax, 1
cmp eax, 8
ja 0x40275e
cmp ecx, edx
je 0x41c0b1
mov esi, ecx
jmp 0x40271e
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ax, word [edx]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp ax, 0x5c
mov ecx, edx
je 0x40272a
push edi
push 0xfffffffffffffffe
pop edi
sub edi, edx
test ax, ax
je 0x402729
cmp ax, 0x2e
je 0x40266f
cmp ax, 0x20
jbe 0x402766
cmp ax, 0x2a
je 0x402766
cmp ax, 0x2b
je 0x402766
cmp ax, 0x2c
je 0x402766
cmp ax, 0x3a
je 0x402766
cmp ax, 0x3b
je 0x402766
cmp ax, 0x3c
je 0x402766
cmp ax, 0x3d
je 0x402766
cmp ax, 0x3e
je 0x402766
cmp ax, 0x3f
je 0x402766
cmp ax, 0x5b
je 0x402766
cmp ax, 0x5d
je 0x402766
cmp ax, 0x7c
je 0x402766
inc ecx
inc ecx
mov ax, word [ecx]
cmp ax, 0x5c
jne 0x4026b9
pop edi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, ecx
sub eax, edx
sar eax, 1
test eax, eax
jle 0x40276b
test ebx, ebx
jne 0x40276b
test esi, esi
jne 0x40274e
cmp eax, 8
ja 0x40276b
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
sub ecx, esi
sar ecx, 1
cmp ecx, 4
ja 0x40276b
cmp eax, 0xc
jbe 0x402746
jmp 0x40276b
xor ebx, ebx
inc ebx
jmp 0x40268e
xor ebx, ebx
inc ebx
jmp 0x40271e
xor eax, eax
inc eax
jmp 0x402748
Function at 0x4093c5
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x77606004]
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x268], esi
je 0x40959f
push eax
call fcn.004095c2
test eax, eax
jne 0x40959f
push 0x7760b664
lea ecx, [ebp - 0x44]
call fcn.00408f3e
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x248]
call fcn.004090a1
push esi
push esi
lea eax, [ebp - 0x254]
push eax
push edi
call dword [0x774e15a4]
test al, al
je 0x429d57
mov ebx, dword [0x774e14c4]
lea eax, [ebp - 0x244]
push eax
call ebx
pop ecx
movzx ecx, word [ebp - 0x254]
shr ecx, 1
lea edi, [eax + ecx + 1]
lea eax, [edi + edi]
add eax, 3
and eax, 0xfffffffc
call 0x3b844d
mov dword [ebp - 0x258], esp
push edi
push dword [ebp - 0x250]
push dword [ebp - 0x258]
call dword [0x774e14e4]
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x258]
call dword [0x774e14f8]
add esp, 0x14
mov eax, dword fs:[0x18]
push dword [ebp - 0x250]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [0x774e15a0]
mov eax, dword [ebp - 0x258]
push eax
mov dword [ebp - 0x250], eax
call ebx
pop ecx
push 0x40
shl eax, 1
mov word [ebp - 0x254], ax
lea eax, [edi + edi]
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x284], ecx
mov word [ebp - 0x252], ax
pop eax
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x264]
push ecx
push esi
push esi
push eax
mov dword [ebp - 0x28c], 0x18
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], esi
call fcn.0040d8a5
mov ebx, eax
cmp ebx, esi
jl 0x40959f
push esi
push esi
push dword [ebp - 0x268]
lea eax, [ebp - 0x274]
push dword [ebp - 0x260]
push dword [ebp - 0x26c]
push dword [ebp - 0x25c]
push esi
push eax
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x24c]
push eax
call dword [0x774e1594]
cmp dword [ebp - 0x24c], esi
mov edi, eax
jne 0x429d61
cmp edi, 0xc0000033
je 0x4095b6
cmp edi, 0xc0000034
jne 0x4095b6
mov eax, ebx
lea esp, [ebp - 0x298]
mov ecx, dword [ebp - 4]
call 0x3b85a0
pop edi
pop esi
pop ebx
leave
ret 8
mov ebx, 0x80030001
jmp 0x40959f
Function at 0x410131
Capabilities:
Encode data using xor

Disassembly:
pop esi
salc
mov bh, byte [esp + ebx*8 - 0x361ccc32]
invalid

Function at 0x419410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc0
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x12]
mov esi, dword [esp + 0xcc]
lea ecx, [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push ecx
push edi
mov dword [esi], edx
mov dword [esi + 4], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419477
mov edx, dword [0x4d089c]
invalid
invalid
invalid
dec ebp

Function at 0x4c6222
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd440
cmp edx, dword [eax]
je 0x4c6244
add eax, 8
inc ecx
cmp eax, 0x4cd4d0
jl 0x4c6235
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd440]
jne 0x4c6372
mov eax, dword [0x4d1b2c]
cmp eax, 1
je 0x4c634c
test eax, eax
jne 0x4c6275
cmp dword [0x4cd384], 1
je 0x4c634c
cmp edx, 0xfc
je 0x4c6372
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c62ac
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6940
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6b70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c62ef
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6b70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ca940
push edi
call fcn.004c8340
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6940
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6950
lea eax, [ebp - 0xa0]
push 0x4ca920
push eax
call fcn.004c6950
push dword [esi + 0x4cd444]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6950
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c82b4
add esp, 0x2c
pop edi
jmp 0x4c6372
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd444]
push 0
push eax
push dword [esi]
call fcn.004c6b70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x44181d
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 0x44184b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441869
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00441787
jmp 0x441869
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441869
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00441787
test edi, edi
mov eax, edi
jne 0x441853
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56b49c]
test ecx, ecx
je 0x44191c
jmp 0x44181c
ret 8

Function at 0x40c6a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40c6c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c6c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c6b8
mov eax, 1
add ebx, ebx
jne 0x40c6db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c6d0
jne 0x40c6ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c6d0
xor ecx, ecx
sub eax, 3
jb 0x40c700
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c772
mov ebp, eax
add ebx, ebx
jne 0x40c70b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c73c
inc ecx
add ebx, ebx
jne 0x40c728
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c71d
jne 0x40c739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c71d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c75c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c74d
jmp 0x40c6be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c75c
add edi, ecx
jmp 0x40c6be
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c7c4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c779
mov ecx, edi
jns 0x40c7a8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc054]
or eax, eax
je 0x40c7be
mov dword [ebx], eax
add ebx, 4
jmp 0x40c796
call dword [esi + 0xc05c]
mov ebp, dword [esi + 0xc058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40c7f8
sub esp, 0xffffff80
jmp 0x40a94c
Function at 0x1002772
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100a024]
cmp eax, 0xffffffff
je 0x1002821
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
mov esi, 0x314
push esi
push 0x100a5a0
push dword [0x100a024]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002818
cmp dword [ebp - 4], esi
jne 0x1002818
cmp dword [0x100a5a0], 0x6e776453
jne 0x1002818
test byte [0x100a5ab], 0x80
jne 0x100281f
or byte [0x100a5ab], 0x40
push 0x100a7b0
push 0x103
push 0x100a9e0
mov byte [0x100a7af], bl
mov byte [0x100a8b3], bl
call dword [sym.imp.msvcrt.dll__snprintf]
add esp, 0xc
cmp dword [0x100a5a4], 0x10000
jne 0x100281f
test dword [0x100a5a8], 0x3fffffec
jne 0x100281f
and byte [0x100a5ab], 0xbf
jmp 0x100281f
or byte [0x100a5ab], 0x80
pop esi
pop ebx
leave
ret

Function at 0x1002c44
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x100ad40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100a184]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002c6c
push eax
call esi
and dword [0x100a184], 0
mov eax, dword [0x100a024]
cmp eax, 0xffffffff
je 0x1002c80
push eax
call esi
or dword [0x100a024], 0xffffffff
mov esi, dword [0x100a008]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, 0x100a008
jmp 0x1002cc6
mov eax, dword [esi + 4]
test eax, eax
je 0x1002cc4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002cc0
call ebp
cmp eax, 2
je 0x1002cc0
cmp eax, 3
je 0x1002cc0
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002c99
mov esi, dword [0x100a010]
mov edi, 0x100a010
jmp 0x1002d04
mov eax, dword [esi + 4]
test eax, eax
je 0x1002d02
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002cfe
call ebp
cmp eax, 2
je 0x1002cfe
cmp eax, 3
je 0x1002cfe
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002cd7
push 0x100ad40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1002e90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
je 0x1002eba
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100a1a0]
inc ecx
dec edx
jne 0x1002ea2
pop edi
pop esi
ret 0xc
Function at 0x100324c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [0x100ad24]
xor ebx, ebx
cmp eax, ebx
je 0x10032c4
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1003278
push ebx
lea ecx, [ebp - 4]
push ecx
sub eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp + 8]
push dword [0x100ad24]
call esi
test eax, eax
je 0x10032c7
mov ecx, 0x100229c
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10032a7
push ebx
lea edx, [ebp - 4]
push edx
sub eax, edi
push eax
push ecx
push dword [0x100ad24]
call esi
test eax, eax
pop edi
je 0x10032c7
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x1005e64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a028]
jne 0x1005e6d
ret
jmp 0x1005e72
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x100a028]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x101b0cc]
test eax, eax
je 0x1005e96
call eax
cmp dword [0x101b0d0], 0
je 0x1005edd
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x101b0d0]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01005e64
add ebp, 0x2a8
leave
ret

Function at 0x10070fe
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007139
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007116
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007155
dec esi
je 0x100714e
dec esi
jne 0x100715a
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc