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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ae71

Function at 0x41b1da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b000

Function at 0x41b5d4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a9c0
mov eax, dword [0x467400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418e15
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b616
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41b772
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425d00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x469b90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041c373
mov ecx, dword [esi*4 + 0x469b90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41b76b
cmp eax, dword [edi + ecx + 0x24]
jne 0x41b76b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b76b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c373
add esp, 0x14
test edx, edx
jl 0x41b76b
jg 0x41b6e1
test eax, eax
jb 0x41b76b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41b76b
jl 0x41b6fb
cmp dword [ebp - 0x1008], eax
ja 0x41b76b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41b719
test ebx, ebx
je 0x41b752
cmp ecx, edi
jae 0x41b752
mov al, byte [ecx]
cmp al, 0xd
jne 0x41b733
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41b73f
cmp byte [ecx + 1], 0xa
jne 0x41b73f
inc ecx
jmp 0x41b73f
movzx eax, al
movsx eax, byte [eax + 0x4676c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41b719
cmp edx, ebx
jne 0x41b719
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41b770
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409ffe
leave
ret
Function at 0x41b811
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x469b90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b851
cmp byte [ebx], 0xa
jne 0x41b851
or byte [eax + edi + 0x28], 4
jmp 0x41b856
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b954
mov al, byte [edx]
cmp al, 0x1a
je 0x41b936
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41b885
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41b8aa
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41b8b4
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41b867
jmp 0x41b954
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b931
cmp dword [ebp - 0xc], 0
je 0x41b931
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x469b90]
test byte [eax + edi + 0x28], 0x48
je 0x41b90b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b8f6
mov byte [esi], dl
jmp 0x41b907
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x469b90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b954
cmp byte [ebp - 1], 0xa
jne 0x41b91a
cmp esi, ebx
jne 0x41b91a
mov byte [esi], 0xa
jmp 0x41b953
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c391
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b954
mov byte [esi], 0xd
jmp 0x41b953
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x469b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b950
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b954
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b95d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x469b90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b9a0
cmp word [esi], dx
jne 0x41b9a0
or byte [edi + eax + 0x28], 4
jmp 0x41b9a5
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41baf8
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41bad8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b9e7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ba1d
cmp eax, edx
jae 0x41ba29
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41b9bf
jmp 0x41baf8
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bad4
cmp dword [ebp - 0x14], 0
je 0x41bad4
mov eax, dword [ebx*4 + 0x469b90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41baac
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ba75
mov word [esi], cx
jmp 0x41baa8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x469b90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x469b90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x469b90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41baf8
pop ebx
cmp word [ebp - 4], bx
jne 0x41babd
cmp esi, dword [ebp + 0xc]
jne 0x41babd
mov word [esi], bx
jmp 0x41baf5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c391
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41baf8
push 0xd
jmp 0x41baf1
mov ecx, dword [ebx*4 + 0x469b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41baef
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41baf8
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e304
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e3a1
push ebx
push esi
call fcn.0041e2cd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cf52
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e34e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e3a0
push edi
push eax
call fcn.00417f6f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e36e
call fcn.00416f7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e39f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cf52
add esp, 0x20
test eax, eax
jne 0x41e38d
push edi
call fcn.00416f7b
jmp 0x41e395
push ebx
call fcn.00416f7b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425b00
Capabilities:
Parse pe header

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

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x162aafd
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push esi
add byte es:[esi + 0x67be01], ch
xchg esi, eax
popal
add dl, ch
push esp
add byte [0x758e02], bh
push ebp
jb 0x162aa9c
jns 0x162ab0a
inc ebp
add byte [ecx], ah
jo 0x162aaa3
outsd dx, dword gs:[esi]
add byte [ebx], ah
push ebp
jae 0x162aac0
add byte [edi + 0x6f], bl
add byte [0x63030041], cl
add byte [eax - 0x4b], ch
add bh, byte [ebx + 0x65]
add byte [ecx], bl
je 0x162aac0
mov dword [ecx], eax
cmp edi, dword [eax]
push ebp
stosb byte es:[edi], al
add dh, byte ss:[ebx]
jne 0x162aacc
mov edi, 0x4b1d0069
add byte [ecx], bh
test al, 0x79
add byte [eax + eax - 0x73], dl
imul eax, dword [eax], 9
outsb dx, byte [esi]
add byte [0xa839004b], bl
jns 0x162aad4
push esp
add byte [ebp + 0x6e09006b], cl
add byte [ecx - 0x78], ah
xor eax, dword [eax]
xor dword [eax], eax
sbb eax, 0x330066
sub eax, 0x950035aa
popal
add bh, bl
xor eax, dword [eax]
pop es
xor al, 0
pop ds
pop eax
xor eax, dword [eax]
xor eax, 0x618b3f00
push ebx
and byte [edx], 0x6f
sbb al, 0
jo 0x162aa85
push cs
or dword [esi - 0x7f], 0x78005374
push esp
push ebx
add byte [eax + 0x54], bh
add byte [ebx - 0x80], dl
adc esi, dword [ebx - 0x78]
or al, 0x61
and byte [ebp + 0x6c], 0x14
add byte [ebp - 0x80], dl
push ecx
or byte gs:[edi + 0x73], 0
pop esp
aam 0
insd dword es:[edi], dx
sbb byte [eax], 0x74
and byte [edx + 0x64], 0x80
add dword [ecx - 0x7fa391fd], eax
pop es
sub dword [ecx - 0x7f91f47f], 0x48118170
add byte [eax], al
dec ebx
add byte [eax + eax + 0x4d], cl
add byte [edi + 0x11], bl
and byte [edi], 0x4d
add byte [edi - 0x80], dl
add eax, dword [ebx]
push esi
lds eax, [eax + 0x7804902]
pop edi
add byte [edx - 0x7e], bh
mov eax, dword [0x5f18ab81]
add byte [edx], dh
or byte [edx], 0x81
pushfd
xor byte [eax], al
xor al, 0x42
add byte [0xa76fa800], cl
dec eax
or byte [ecx], 0x98
test al, 0x5c
add byte [edx - 0x80], dl
xor dword [edi - 0x80], esp
invalid
Function at 0x16341dd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
xor ebx, ebx
xor eax, eax
test edx, edx
je 0x1634248
push esi
push edi
push 4
lea esi, [edx + 0x18]
pop ecx
mov edi, 0x13806348
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1639f68
push 4
pop ecx
mov edi, 0x13806358
lea esi, [edx + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop edi
pop esi
jne 0x163423c
mov eax, dword [ebp + 0x10]
mov ebx, dword [edx + 0x3c]
lea eax, [eax + eax - 2]
cmp ebx, eax
ja 0x1639f95
mov eax, dword [edx + 0x38]
push ebx
add eax, edx
push eax
push dword [ebp + 0xc]
call fcn.0162473f
add esp, 0xc
mov ecx, dword [ebp + 0xc]
shr ebx, 1
xor eax, eax
mov word [ecx + ebx*2], ax
inc eax
pop ebx
pop ebp
ret 0xc
pop esp
add byte [edi + 0x63], dl
adc al, 0
cmp byte [ecx + 0x64], 0x80
inc ebx
ja 0x1639f9d
or ch, byte [0x45004900]

Function at 0x16765b3
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 4
xor eax, eax
pop edx
xor eax, dword [ecx]
add ecx, 4
dec edx
jne 0x16765c0
or eax, 0x80000000
pop ebp
ret 4

Function at 0x167babb
Capabilities:
Encode data using xor

Disassembly:
add byte [eax + eax*4 + 0x46], dl
imul eax, dword [eax - 0x7f917dfc], 0x30
xor eax, dword [eax]
xor dword [eax], eax
bound eax, qword [eax - 0x7fcc557d]
sub dword [edx + 0x35168033], 0xffffff80
dec edx
popal
sub byte [edi + 0x33], 0x80
add esp, edx
xor al, 0x80
sub dword [edx + 0x35168033], 0xffffff80
dec edx
popal
sub byte [edi + 0x33], 0x80
add esp, edx
xor al, 0x80
rdpmc
add byte [0x618b1f80], dh
sub dword [esi + edx - 0x7cbc7f91], 0x50806f4e
push ebx
add byte [eax + 0x55], bh
xor byte [edi + 0x63478026], 0x80
sub esi, dword [eax - 0x80]
sbb edi, dword [0x6c938055]
adc byte [edi + 0x55], 0x80
or dword [ebp - 0x80], esp
inc esi
jae 0x167baaa
adc al, 0x65
or byte [ebp - 0x7f], 0x2e
popal
add byte [ebx], 0x5c
adc byte [ebx], 0x6a
insb byte es:[edi], dx
add byte [ecx], 0x6d
add byte [ecx], 0x6e
or byte [eax], 0x81
adc dword [eax], ecx
add byte [ebx], cl
dec esp
add byte [ebp], cl
pop edi
add eax, 0x804d2780
retf 0x5f

Function at 0x169bad8
Capabilities:
Encode data using xor

Disassembly:
add byte [eax + eax*4 + 0x46], dl
imul eax, dword [eax - 0x7f917dfc], 0x30
xor eax, dword [eax]
xor dword [eax], eax
bound eax, qword [eax - 0x7fcc557d]
push ss
xor eax, 0x80614a80
outsd dx, dword [esi]
xor eax, dword [eax - 0x7fcb1dfd]
rdpmc
add byte [0x618b1f80], dh
sub dword [esi + edx - 0x7cbc7f91], 0x50806f4e
add byte [ebx - 0x7d], 0x4e
outsd dx, dword [esi]
adc byte [eax + 0x53], 0
js 0x169bb38
xor byte [edi + 0x63478026], 0x80
sub esi, dword [eax - 0x80]
sbb edi, dword [0x6c938055]
adc byte [edi + 0x55], 0x80
or dword [ebp - 0x80], esp
inc esi
jae 0x169baaa
adc al, 0x65
or byte [ebp - 0x7f], 0x2e
popal
add byte [ebx], 0x5c
adc byte [ebx], 0x6a
insb byte es:[edi], dx
add byte [ecx], 0x6d
add byte [ecx], 0x6e
or byte [eax], 0x81
adc dword [eax], ecx
add byte [ebx], cl
Function at 0x169bde0
Capabilities:
Encode data using xor

Disassembly:
push ebx
add byte [ebp + 0x6f], bh
add byte [edi + 0x516f9d03], al
add byte [ecx + 0x780053], ah
adc eax, 0x63210026
adc eax, 0x702100
sub eax, 0x6cad023d
add byte [ebp + 5], dl
add byte [ebx], dl
add byte gs:[ebp + 0x5c0073], cl
insd dword es:[edi], dx
mov ch, 0
pop ss
je 0x169be11
pop ss
add byte fs:[ebx], al
add dword [edi], eax
pop esp
add byte [edi], cl
mov dh, 0x6c
add byte [ebx], al
add dword [edi], edx
outsb dx, byte [esi]
add byte [ebp + 0x482301], dh
lahf
and byte [eax + eax + 0x4d], cl
add byte [edi - 0x80], bl
daa
dec ebp
dec esp
add byte [ebp], cl
pop edi
and byte [edi], 0x4d
add byte [edx + 0x43038057], ah
add byte [esi - 0x80], dl
add cl, byte [ecx - 0x80]
pop es
pop eax
add byte [edx], 0x49
add byte [edi], 0x58
pop edi
add byte [edx - 0x7e], bh
aas
cmp dword [edi + ebx*2 - 0x80], 0x80415f4e
pop ebx
cmp byte [eax], al
xor byte [eax], al
xor al, byte [eax + 0xa21002d]
add byte [esi + 0x4b636f], ah
or byte [eax + 0x5200545c], bl
sub byte [edi], 0x67
cmp byte [ebx + 0x73], 0x80
das
jb 0x169be21
add byte [ecx - 0x7e], bh
inc edx
popal
sbb byte [edi - 0x7f], 0x96
outsb dx, byte [esi]
or byte [0x2b805c56], 0x81
popfd
or byte gs:[esi + 0x61], 0x80
push cs
ja 0x169bec8
or byte [0x3a006d], 0x2f
add byte [eax], 0x4d
push ebp
adc byte [edi + 0x73398072], 0x80
add dword [esi - 0x80], esp
and byte [0x69488055], ch
xor byte [edi + 0x64], 0x80
pop es
ja 0x169be29
insb byte es:[edi], dx
sub eax, 0x490000
inc ebp
add byte [0x80355000], ch
lodsd eax, dword [esi]
jne 0x169be39
xlatb
sub byte [si - 0x7f], 0xb3
add byte gs:[edx + 0x6e048048], bh
and byte [ebx - 0x637e907f], 0x41
sbb byte [edx], 0xaa
sub dword [edi - 0x7f], 0x1a82419c
stosb byte es:[edi], al
push ebx
cmp byte [eax], 0x63
and dh, 0x72
sub byte [esp + esi*2], 0x80
inc esi
xchg byte [edx - 0x80], bl
and eax, dword [ecx + 0x3f007342]
add byte [ebx - 0x3fc2754f], cl
bound ebp, qword [esi]
sal byte [esi], 0x2e
add byte [edi], dh
inc eax
stosb byte es:[edi], al
Function at 0x4018ac
Capabilities:
Accept command line arguments

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._test:
push eax
call fcn.004020d1
pop ecx
test eax, eax
pop ecx
je 0x4018dc
add eax, 6
push eax
push dword [esp + 8]
push str.test
push 0x4060f0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
ret
push 0x10
push str.Extracting
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret

Function at 0x4018f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push 0x81
call fcn.00401fc8
xor ebx, ebx
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
mov byte [eax], bl
mov dword [esp], 0x407438
call fcn.0040182b
mov eax, dword [0x4073a8]
cmp eax, ebx
je 0x401959
push ebx
lea ecx, [ebp - 8]
push ebx
push ecx
push 0x400
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.0040182b
push 0x40610c
lea ecx, [ebp - 4]
call fcn.00401865
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x4073ac]
lea ecx, [ebp - 4]
push dword [eax]
call fcn.00401865
push str._lerr:
lea ecx, [ebp - 4]
call fcn.00401865
lea eax, [ebp - 0x30]
push eax
push dword [0x4073a8]
call fcn.0040202c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00401865
cmp dword [0x4072a4], ebx
je 0x4019c1
push str._uz:
lea ecx, [ebp - 4]
call fcn.00401865
lea eax, [ebp - 0x30]
push 0xa
push eax
push dword [0x4072a4]
call fcn.0040200f
add esp, 0xc
lea ecx, [ebp - 4]
push eax
call fcn.00401865
push 0x7f00
push dword [0x407434]
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp - 4]
call fcn.004018ac
cmp dword [ebp - 4], ebx
pop ecx
pop ebx
je 0x4019f1
push dword [ebp - 4]
call fcn.00401fd3
pop ecx
push 1
pop eax
leave
ret

Function at 0x4019f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x105
call fcn.00401fc8
pop ecx
mov esi, eax
push esi
push 0x104
and byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp + 0xc]
push 0
push 0x406050
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00401a4f
add esp, 0x10
mov edi, eax
test esi, esi
je 0x401a49
push esi
call fcn.00401fd3
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x401a4f
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0x14]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x401b72
cmp eax, 0xffffffff
je 0x401b72
mov eax, dword [ebp + 0x10]
cmp eax, esi
jg 0x401a9f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
sub eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, 0x10000
push edi
call fcn.00401fc8
pop ecx
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x401b59
cmp ebx, edi
jb 0x401ad2
mov ebx, edi
lea eax, [ebp - 8]
push esi
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
cmp eax, ebx
jb 0x401b0a
lea ecx, [ebp - 0x10]
push esi
sub dword [ebp + 0x10], eax
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jne 0x401b2d
jmp 0x401ac1
mov ecx, dword [0x4073ac]
push str.CopyF__r____
call fcn.0040182b
push dword [ebp + 0x14]
mov ecx, dword [0x4073ac]
call fcn.00401865
mov dword [ebp - 4], esi
jmp 0x401b59
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4073ac]
push str.WrF
mov dword [0x4073a8], eax
call fcn.0040182b
push dword [ebp + 0x14]
mov ecx, dword [0x4073ac]
call fcn.00401865
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call fcn.00401fd3
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop ebx
jmp 0x401b9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4073ac]
push str.Creat
mov dword [0x4073a8], eax
call fcn.0040182b
push dword [ebp + 0x14]
mov ecx, dword [0x4073ac]
call fcn.0040182b
xor eax, eax
pop esi
leave
ret