joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004cdac
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 0x1004cdc2
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 0x1004cdd3
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1004ce14
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 0x1004f180
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 0x1004f0c9
add ebx, 0
push ecx
call 0x1004f0de
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, 0x6c342004
sub ebx, dword [0x6c361843]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c361833
call fcn.1004aba8
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004a0b6
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1004f23c
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1004f23c
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 0x1004f1f3
mov eax, 1
lock xchg dword [0x6c36183f], eax
push 0x3dd1fc71
call 0x1004f180
push esi
add esp, 8
cmp eax, 0
jne 0x1004f169
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1004f18f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1004f1a4
cmp ecx, edx
cmp eax, 0
je 0x1004f1c9
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 0x1004f1b3
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1004f1e2
dec eax
loope 0x1004f1e5
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c36183f], 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 0x1004f219
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1004f22e
jmp 0x1004f239
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1004f127
Function at 0x100562a1
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10056577
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c34e4b7
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c34547d
push 0xffffffffffffffff
call fcn.1004d4a1
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1005630b
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10056323
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1005656b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1005653f
Function at 0x10065d71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10065d93
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10065d93
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10065d93
ret
cmp word [ebx + 4], 0x14c
jne 0x10065d93
test word [ebx + 0x16], 2
je 0x10065d93
test word [ebx + 0x16], 0x100
je 0x10065d93
cmp word [ebx + 0x18], 0x10b
jne 0x10065d93
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10065d93
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10065e1f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10065db3
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ccfe
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10065d93
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10065e1f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10065d93
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10065d93
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10065d93
ret
cmp word [ebx + 4], 0x14c
jne 0x10065d93
test word [ebx + 0x16], 2
je 0x10065d93
test word [ebx + 0x16], 0x100
je 0x10065d93
cmp word [ebx + 0x18], 0x10b
jne 0x10065d93
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10065d93
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10065e1f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10065db3
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ccfe
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10065d93
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10065ed6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10065f2f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10065ed6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10065ee5
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1046bb88
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10065f36
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1004cdac
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10065fd5
add edi, 4
add eax, 2
dec ecx
jne 0x10065f1b
call 0x10065f82
loope 0x10065f78
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10065fd2
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10065fe3
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10065f96
cmp eax, ecx
ja 0x10065f96
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10066020
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10066016
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004d28b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10065ee5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10065f2f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10065ed6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10065ee5
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1046bb88
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10065f36
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1004cdac
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10065fd5
add edi, 4
add eax, 2
dec ecx
jne 0x10065f1b
call 0x10065f82
loope 0x10065f78
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10065fd2
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10065fe3
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10065f96
cmp eax, ecx
ja 0x10065f96
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10066020
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10066016
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004d28b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.004016ae
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x40113e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437008]
jne 0x401148
repz ret
jmp fcn.0040204d

Function at 0x412a93
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.0040a6f2
and dword [ebp - 4], 0
cmp dword [0x439d78], 0
mov ebx, eax
jne 0x412b44
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412bf5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412bf5
push eax
call fcn.0040a680
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439d78], eax
call esi
push eax
call fcn.0040a680
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439d7c], eax
call esi
push eax
call fcn.0040a680
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439d80], eax
call esi
push eax
call fcn.0040a680
pop ecx
mov dword [0x439d88], eax
test eax, eax
je 0x412b44
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a680
pop ecx
mov dword [0x439d84], eax
mov eax, dword [0x439d84]
cmp eax, ebx
je 0x412b9c
cmp dword [0x439d88], ebx
je 0x412b9c
push eax
call fcn.0040a6fb
push dword [0x439d88]
mov esi, eax
call fcn.0040a6fb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412b9c
test edi, edi
je 0x412b9c
call esi
test eax, eax
je 0x412b93
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412b93
test byte [ebp - 0xc], 1
jne 0x412b9c
or dword [ebp + 0x10], 0x200000
jmp 0x412bd5
mov eax, dword [0x439d7c]
cmp eax, ebx
je 0x412bd5
push eax
call fcn.0040a6fb
pop ecx
test eax, eax
je 0x412bd5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412bd5
mov eax, dword [0x439d80]
cmp eax, ebx
je 0x412bd5
push eax
call fcn.0040a6fb
pop ecx
test eax, eax
je 0x412bd5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439d78]
call fcn.0040a6fb
pop ecx
test eax, eax
je 0x412bf5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412bf7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x429ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x439e69], al
mov byte [0x439e6c], al
mov al, 0x6c
push 0x439e68
mov byte [0x439e68], 0x6b
mov byte [0x439e6a], 0x72
mov byte [0x439e6b], 0x6e
mov byte [0x439e6d], al
mov byte [0x439e6e], 0x33
mov byte [0x439e6f], 0x32
mov byte [0x439e70], 0x2e
mov byte [0x439e71], 0x64
mov byte [0x439e72], al
mov byte [0x439e73], al
mov byte [0x439e74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x43b650]
mov edx, dword [0x43a368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x42a160
Capabilities:
Clear file content
Create pipe

Disassembly:
mov eax, dword [0x43b650]
sub esp, 0xc
push esi
mov esi, dword [0x43a368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x42a181
push 0
call dword [sym.imp.KERNEL32.dll_LocalHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
call fcn.0042a070
add esp, 4
cmp dword [0x43b650], 0x2f
jne 0x42a1f8
xor eax, eax
xor edx, edx
mov word [esp + 0x12], ax
xor ecx, ecx
mov word [esp + 0xa], dx
lea eax, [esp + 8]
push eax
mov word [esp + 0xc], cx
mov ecx, dword [esp + 0xc]
push ecx
mov word [esp + 0x18], dx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.sokuxu
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call fcn.0042a0e0
add esp, 4
cmp dword [0x43b650], 0x568
pop edi
pop esi
jne 0x42a219
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add esp, 0xc
ret
Function at 0x41fd1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c520]
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.00416e92
and dword [ebp - 0x14], 0
cmp dword [0x45b068], 0
mov dword [ebp - 0x18], eax
jne 0x41fdcf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fe77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fe77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45b068], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45b06c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45b070], eax
call edi
push eax
call esi
mov dword [0x45b078], eax
test eax, eax
je 0x41fdcf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45b074], eax
mov eax, dword [0x45b074]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fe28
cmp dword [0x45b078], ecx
je 0x41fe28
push eax
call esi
push dword [0x45b078]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fe28
test ebx, ebx
je 0x41fe28
call edi
test eax, eax
je 0x41fe1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fe1f
test byte [ebp - 8], 1
jne 0x41fe28
or dword [ebp + 0x10], 0x200000
jmp 0x41fe5b
mov eax, dword [0x45b06c]
cmp eax, dword [ebp - 0x18]
je 0x41fe5b
push eax
call esi
test eax, eax
je 0x41fe5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fe5b
mov eax, dword [0x45b070]
cmp eax, dword [ebp - 0x18]
je 0x41fe5b
push eax
call esi
test eax, eax
je 0x41fe5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45b068]
call esi
test eax, eax
je 0x41fe77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fe79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113eb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x31290264
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x67767373
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401570
Capabilities:
Query environment variable
Set current directory
Set file attributes

Disassembly:
sub esp, 0x114
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push 0x104
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4015b2
lea ecx, [esp + 0x18]
push str.MicrosoftIME_
push ecx
jmp 0x4015bc
lea edx, [esp + 0x18]
push 0x4180a4
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push 0x4180a0
push edx
call fcn.00401d07
push 0x41809c
push str.winhlp.exe
mov esi, eax
call fcn.00401d07
add esp, 0x10
mov edi, eax
test esi, esi
je 0x4016aa
test edi, edi
je 0x4016aa
push ebx
push ebp
push 2
push 0
push esi
call fcn.00401c5b
push esi
call fcn.00401b03
push 0
push 0
push esi
mov ebx, eax
call fcn.00401c5b
lea eax, [ebx + 1]
push eax
call fcn.00401a51
push esi
mov ebp, eax
push 1
push ebx
push ebp
call fcn.00401969
push edi
push 1
push ebx
push ebp
call fcn.0040185f
add esp, 0x40
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 1
push 0xfffffffffffffff0
push edi
call fcn.00401c5b
push edi
push 1
lea edx, [esp + 0x24]
push 0x10
push edx
call fcn.0040185f
push esi
call fcn.00401809
push edi
call fcn.00401809
add esp, 0x24
push 2
push str.winhlp.exe
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
call fcn.004017a0
add esp, 4
mov al, 1
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x114
ret
pop edi
xor al, al
pop esi
add esp, 0x114
ret

Function at 0x40579a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40579a
lcall 0x5de5, 0x8b10c483
jmp loc.0078207c