joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56575e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0552558
jmp 0x5656e6
call 0x56575e
mov dword [esp + 3], esi
mov dword [esp + 0x30], edi
lea esp, [esp + 0x30]
jmp 0x565712
not ax
jmp 0x5656f3
neg ebp
jg 0x5656d0
not ax
jmp 0x56572e
rdtsc
mov bp, 0xde16
mov ebp, dword [esp + 0x2c]
sbb si, sp
jmp 0x565736
pushfd
jmp 0x56503e
mov esi, ebx
jmp 0x565740
rdtsc
mov bp, 0xde16
jmp 0x5656f9
jle 0x565718
mov esi, ebx
jmp 0x565740
lea edi, [esp]
mov ecx, dword [esp]
mov ebx, 0xc67a7554
call fcn.00565763
cmp dword [ecx + reloc.MSVCRT.dll_strncpy], esp
jns 0x56573a
jo 0x565771
loop 0x565782
mov dword [reloc.MSVCRT.dll_strncpy], eax
invalid
xor ebp, dword [edi]
mov ch, 0x25
dec esp
mov edi, 0x34eb247f
dec esp
fisttp dword [ebx + 0x2e]
fstp qword [eax]
mov byte [0x44b5d23c], al
cmp al, 0xd2
mov ch, 0x44
cmc
xchg esp, eax
or dword [ecx + reloc.MSVCRT.dll_strncpy], ebx
dec ebx

Function at 0x565763
Capabilities:
Execute anti-debugging instructions

Disassembly:
cld
jmp 0x5651eb
mov esi, eax
mov edi, edx
mov ecx, ecx
jmp 0x56518a
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp]
call 0x5651be
mov ch, dh
setp cl
mov al, byte [esp]
xchg ah, bh
xchg dword [esp], esi
jmp 0x5657a5
lea edx, [edx + ebx]
inc bx
call fcn.0056578f
sub esp, 0xc0
jmp 0x565844
setl ch
jmp 0x56581a
lea eax, [ebx + esi]
lea ecx, [edx*4]
dec dh
jne 0x5657ed
setl ch
jmp 0x5658a7
mov dl, 0x73
mov ch, 0xbc
neg ah
lea edx, reloc.MSVCRT.dll_strncpy
jmp 0x565868
lea edx, reloc.MSVCRT.dll_strncpy
jmp 0x565868
mov esi, esp
mov bl, byte [esp]
rdtsc
lea ecx, [eax + edi]
mov ebx, ebp
jmp 0x565803
lea eax, [ecx + ebx]
xchg dl, al
jmp 0x565881
lea edx, [edx + ebp]
xor ebp, 0x2c47e828
lea ecx, [eax*4]
mov eax, 0x8a1fbeca
bswap ecx
jmp 0x565852
xor ebp, 0x43bc96a4
mov cl, byte [esp]
pushal
not ax
xchg word [esp + 0x11], cx
jmp 0x5658b2
mov dl, 0x73
mov ch, 0xbc
neg ah
jmp 0x56582c
bswap edx
ror ebp, 0
mov eax, dword [esp]
mov ax, 0x60d9
xchg ecx, eax
jmp 0x5658fd
not ebp
pushfd
lea eax, reloc.MSVCRT.dll_strncpy
neg dh
jp 0x5658e5
jnp 0x565923
fistp word [edx - 0x38]
scasd eax, dword es:[edi]
pop edx
sahf
cmp edx, dword [edx]
lea esp, [esp + 1]
mov dword [esp], ecx
jmp 0x5651a0
xchg dword [esp], ecx
pop eax
xchg cx, ax
mov edx, esp
call fcn.0056592c
test dword [reloc.MSVCRT.dll_strncpy], ecx
sbb al, 0x6f
jbe 0x56595e
bswap eax
mov cl, byte [esp]
lea ecx, [esi + ebp]
rdtsc
lea esp, [esp + 0x20]
jmp 0x5658c2
mov edx, esp
jmp 0x56594a
xchg dword [esp], ecx
pop eax
xchg cx, ax
jmp 0x56590d
not ebp
sub esp, 0x16
jno 0x5659e2
add esp, 0x12
jmp 0x5659cf
xor ebp, dword [edx]
add esp, 0x12
call fcn.005659fa
xchg ebp, eax
push es
xchg esp, eax
push cs
mov ebp, 0x4e2bbb25
mov ebp, 0xeb691e7d
call 0x4e388eb
lodsd eax, dword [esi]
add byte [eax], al
add byte [eax], al
jmp 0x5659cc
neg eax
jmp 0x565f85
inc cx
mov dl, al
jmp fcn.00565a2a
jge 0x565a20
inc cx
mov dl, al
jmp fcn.00565a2a
Function at 0x56f795
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x556116
pushfd
or dword [esp], reloc.MSVCRT.dll_strncpy
popfd
cpuid
nop
jmp 0x55612d
pop ebx
ret
pushal
push word [esp + 7]
lea esp, [esp + 2]
jmp 0x56f911
lea ebp, [ecx - 0xbb]
pop ebp
lea esp, [esp + 0x1c]
jmp 0x55610a
mov dword [esp], ebp
mov ebp, 0x9a08aa04
not bp
mov ebp, edx
mov bp, 0x5128
lea ebp, [edx + edi]
jmp 0x56f8db

Function at 0x582cd3
Capabilities:
Encode data using xor

Disassembly:
pushal
mov edi, ebp
jmp 0x582d42
push ebx
push word [esp]
mov byte [esp + 3], bh
lea esp, [esp + 2]
jmp 0x582d7e
call 0x582da5
jmp 0x552b5f
mov ebp, 0x3fa7648c
cmpsd dword fs:[esi], dword es:[edi]
aas
add edx, dword [edx + eax*2 + 0x76]
xor dword [edx], esi
pop ecx
mov eax, 0xccb9f29b
call fcn.0056a814
jle 0x552b5d
jno 0x552bf4
add dword [eax], eax
cmp ch, al
daa
jle 0x552b7f
add byte [ecx], dh
call fcn.0056ab4b
or eax, ebp
inc ecx
add byte [ecx], 0
xchg edi, eax
call fcn.0056af1a
mov al, byte [0x184c5e8]
add byte [eax + ebp*8 + 0x61], cl
test dword [ecx], eax
add byte [edx - 0x17], bh
xchg edi, edi
invalid
xor eax, ebp
invalid
sub esp, 0x1e
sub esp, 0x15
lea esp, [esp + 3]
jmp 0x582c89
mov dword [ebp - 8], eax
cmc
setns ah
neg eax
jmp 0x582ca9
or edx, reloc.MSVCRT.dll_strncpy
call fcn.00582c05
lea esp, [esp + 2]
jmp 0x582cc8
lea esp, [esp + 0x30]
cmp dword [ebp - 0x10], ebx
ja 0x552b12
push ax
jmp 0x582c73
mov eax, ecx
stc
shl eax, 0x10
jmp 0x582c68
jne 0x552b56
call 0x582cb1
jmp 0x582cf5
lea esp, [esp + 8]
jb 0x552b56
jae 0x552b12
les ebx, [edx + esi*8 - 0x6b]
cmpsb byte fs:[esi], byte es:[edi]
sub dword [eax - 0x15], ecx
add cl, byte [ebx - 0x3750f032]
imul eax, ebx
jmp 0x582bca
mov dword [esp + 0x1c], esi
call fcn.00582d1c
sub ecx, eax
pushal
jmp 0x582d70
cmp edi, ecx
lea esp, [esp + 0x20]
jbe 0x552b40
jmp 0x582dc0
lea esp, [esp + 4]
sub dword [ebp - 0x10], ebx
jmp 0x582d9d
inc dword [ebp - 4]
jmp 0x5825d3
dec dword [ebp - 0x10]
jmp 0x552b40

Function at 0x6e426e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 5]
pushfd
lea esp, [esp + 0xc]
jmp 0x6e428c
push 0
pushfd
mov word [esp + 1], bx
pop word [esp]
pushal
jmp 0x6e453a
pop word [esp + 0xe]
pop word [esp + 0xf]
mov dword [esp], edi
push dword [esp + 0xb]
call fcn.006e43bf
xchg di, si
mov cx, word [esp + 4]
mov ebp, 0x4bebc1c2
cpuid
cld
jmp 0x6e45b7
ror cx, 7
mov dword [esp + 5], ebp
mov dl, byte [esp + 1]
call fcn.006e45a1
rdtsc
xchg ch, cl
pop ebp
lea ecx, [eax + edi]
lea eax, [ebx*4]
jmp 0x6e460c
mov dh, 0x98
neg dh
sete cl
cpuid
cmc
mov bh, 0x62
jmp 0x6e468f
bswap ebx
pushfd
xchg cx, bx
push esp
not ch
push esi
jmp 0x6e45f6
push edx
call 0x6e4635
xor edx, 0x58185b15
mov edi, esp
not ecx
xor ebx, 0x1b37420a
cpuid
xchg cl, bl
jmp 0x6e464b

Function at 0x6e46e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ebp*4]
mov dl, byte [esp + 0x1c]
mov ah, dh
jmp 0x6e46b7
Function at 0x6e4ea9
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, byte [esp + 2]
mov dx, 0x26b7
xchg si, cx
mov word [esp + 0x15], bp
jmp 0x6e4e8d
push word [esp + 7]
xchg dword [esp + 0x18], ebp
neg eax
mov dh, byte [esp + 0x20]
cld
jmp 0x6e4e47
pop dword [esp + 1]
mov bx, word [esp + 0x13]
mov word [esp + 0x15], bx
xchg bx, ax
push dword [esp + 0x16]
dec si
jmp 0x6e4e5d
pop di
mov dx, ax
xchg dx, ax
rdtsc
bswap ecx
bsf ebx, esi
jmp 0x6e4f19
sub esp, 0x1c
rdtsc
jmp 0x6e4e75
mov al, bl
sete ch
mov ax, sp
mov ah, byte [esp + 0x19]
clc
rdtsc
jmp 0x6e4ef6
pop ebp
xchg edx, edi
mov dx, 0x14ee
xchg dword [esp], edx
xchg word [esp + 7], bp
cmc
jmp 0x6e4eb0
pop word [esp + 2]
mov di, word [esp + 0x17]
xchg byte [esp], dl
mov bl, 2
jmp 0x6e4f2e
xchg esi, edi
bswap ebp
stc
mov word [esp + 0x11], bp
neg ebp
not cl
jmp 0x6e4ee0
mov cl, byte [esp + 7]
xchg si, bp
lea esi, [ecx*4]
rdtsc
dec bp
inc eax
jmp 0x6e4ece
xchg word [esp + 0x15], dx
lea ebx, [esp + 0x2b]
mov ch, byte [esp]
mov bp, 0xb4bc
mov al, byte [esp + 0x14]
lea ecx, [eax + eax]
jmp 0x6e4f87
bsf bx, sp
call fcn.006e4f5a
inc eax
retf 0x3f58
sub esp, 0x19
xchg byte [esp + 4], bl
inc bx
dec ax
push word [esp + 0x20]
mov edx, eax
jmp 0x6e4f70

Function at 0x6e5007
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 9]
mov dx, word [esp + 8]
pop ax
push dword [esp + 0x20]
jmp 0x6e5021
pop bp
jmp 0x6e4ff1
xchg cl, al
pop ebp
xchg bl, ah
mov dh, bh
pushfd
mov dword [esp + 5], esi
jmp 0x6e503c
pop dword [esp + 0x1d]
xchg dword [esp + 2], ebx
lea esp, [esp + 9]
mov ecx, 0xaae321cb
btr esi, esi
pop word [esp + 2]
jmp 0x6e500b
pop bp
pop si
sbb ebx, eax
xor dl, dh
bts ecx, ebx
add esp, 5
jmp 0x6e5050
setbe cl
lea ecx, [edx + ebp]
rol bh, cl
lea esi, [edx + esi]
pushfd
xchg word [esp + 7], cx
jmp 0x6e5091
mov ebp, esi
mov bl, 0x30
mov ecx, ebp
pop di
push word [esp + 0xb]
rdtsc
jmp 0x6e507b

Function at 0x6e54ca
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x6e2ffd
call fcn.006e3002
call 0x6e50a7
jmp 0x6e54d0
mov dword [esp + 4], ebp
push ax
lea esp, [esp + 2]
mov dword [esp], esi
pushfd
jmp 0x6e557e
lea esp, [esp + 2]
jmp 0x6e54b4
pop eax
jmp 0x6e5545
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x6e50a2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x6e54e6
sub eax, 0x2e50a7
push eax
jmp 0x6e2bce
lea esp, [esp + 3]
push esi
mov dword [esp], ecx
lea esp, [esp + 1]
mov dword [esp], edi
jmp 0x6e5502
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
rol dword [edx + 0x74], 0xdb
mov ch, byte [ebx + 0x2fe38bb2]
fisttp dword [edx - 0x1c744d55]
das
xor eax, 0xa426028e
or al, 0x48
dec esi
push ds
js 0x4153dd
adc al, 0xc8
jo 0x4153f2
push ds
pushfd
or bh, byte [esi + 0x3378bb0]
out dx, al
aas
invalid
Function at 0x1000f524
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 0x1000f5c1
push ebx
push esi
call fcn.1000f4ed
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.1000f436
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f56e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f5c0
push edi
push eax
call fcn.1000b375
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f58e
call fcn.1000b33b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f5bf
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000f436
add esp, 0x20
test eax, eax
jne 0x1000f5ad
push edi
call fcn.1000b33b
jmp 0x1000f5b5
push ebx
call fcn.1000b33b
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 0x1000f82c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ab90
push 0x1001ab88
push str.FlsAlloc
push 0x1e
call fcn.1000f74a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f860
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019154]
call esi
jmp 0x1000f866
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000f8aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001aba0
push 0x1001ab98
push str.FlsGetValue
push 0x20
call fcn.1000f74a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f8e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10015e10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10015e3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10015e3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100137df
Capabilities:
Generate random numbers via winapi

Disassembly:
call fcn.100b0a27
sub byte [eax], al
add byte [eax - 0x64846fe], al
sub esp, dword [ebx + 0x14]
xchg esp, eax
or esi, dword [ebp + 0xd508a03]
sbb eax, 0x6e64b0a0
dec ebx
jae 0x1001385c
dec edi
lds esi, [edx - 0x7b1f398d]
out dx, al
out dx, eax
ljmp 0xfdb3
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x10120740], 1
je 0x10013871
mov esi, 0x8000ffff
jmp 0x10013899
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x10120730]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100138be
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.1005a484
mov esi, eax
test esi, esi
jge 0x100138be
mov eax, dword [0x1011faf4]
cmp eax, 0x1011faf4
je 0x100138be
test byte [eax + 0x3c], 2
je 0x100138be
push esi
push 0x100034d8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.1005a484
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1005a484
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1005a493
pop dword [ebp - 8]
mov eax, 0x1005a493
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x57e44
push 0
mov eax, 0xb625cf78
add eax, 0x59da414c
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x5e4a9947
sub ecx, 0x5e4a5207
xor ebx, ebx
add ebx, eax
mov esi, 0xd502fac7
add esi, 0x3b107d39
add esi, dword [ebp - 8]
mov edi, 0x18974bdb
add edi, 0x5704fcc5
sub dword [ebp - 4], 0x34db5dd9
mov edx, dword [esi]
add dword [ebp - 4], 0x9d4fa78d
sub edx, edi
xor dword [ebp - 4], ebx
mov dword [ebx], edx
add dword [ebp - 4], 0x2858b416
add ebx, 0xba9bf982
sub ebx, 0xba9bf97e
add esi, 0x4b77573e
add esi, 0xb488a8c6
loop 0x1005a4ef
add eax, 0xc2e8df4f
sub eax, 0xc2e7cf7c
xor ebx, ebx
add ebx, eax
add eax, 0xe7f89708
sub eax, 0xe7f89703
mov ecx, 0x9c627d20
sub ecx, 0x8c627d20
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0xf1dea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xacc015
lea edi, [esi - 0x6cb015]
push edi
or ebp, 0xffffffff
jmp 0xf1dec2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf1dec9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1deb8
mov eax, 1
add ebx, ebx
jne 0xf1dedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf1deec
jne 0xf1df0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1df0b
dec eax
add ebx, ebx
jne 0xf1def8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf1ded0
add ebx, ebx
jne 0xf1df07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf1df5d
xor ecx, ecx
sub eax, 3
jb 0xf1df23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf1df92
sar eax, 1
mov ebp, eax
jmp 0xf1df2e
add ebx, ebx
jne 0xf1df2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1defc
inc ecx
add ebx, ebx
jne 0xf1df3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1defc
add ebx, ebx
jne 0xf1df49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf1df3e
jne 0xf1df5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf1df3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf1df7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf1df6e
jmp 0xf1debe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf1df7c
add edi, ecx
jmp 0xf1debe
pop esi
mov edi, esi
mov ecx, 0x1412a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf1df9a
cmp byte [edi], 0x37
jne 0xf1df9a
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 0xf1df9f
lea edi, [esi + 0xb1b000]
mov eax, dword [edi]
or eax, eax
je 0xf1e00e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1e344]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb1e36c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf1dfcc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb1e370]
or eax, eax
je 0xf1e008
mov dword [ebx], eax
add ebx, 4
jmp 0xf1dfe9
call dword [esi + 0xb1e380]
mov ebp, dword [esi + 0xb1e374]
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 0xf1e042
sub esp, 0xffffff80
jmp 0x4614d0
Function at 0x4022c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push esi
push 0x801c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push dword [ebp + 8]
call fcn.004489f1
pop ecx
test eax, eax
je 0x402337
lea eax, [ebp - 0x1cc]
push str.Could_not_access_directory:_n
push eax
call fcn.00447910
push dword [ebp + 8]
lea eax, [ebp - 0x1cc]
push eax
call fcn.00447920
lea eax, [ebp - 0x1cc]
push str._n_nThis_directory_is_required_for_installation._n
push eax
call fcn.00447920
add esp, 0x18
lea eax, [ebp - 0x1cc]
push esi
push str.Install_attempt_failed.
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
jmp 0x402339
xor eax, eax
pop esi
leave
ret

Function at 0x40233c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
push esi
push dword [ebp + 8]
mov esi, edx
call fcn.004022c0
pop ecx
test eax, eax
jne 0x40240e
test esi, esi
je 0x40240e
cmp byte [esi], al
je 0x40240e
push esi
call fcn.004489f1
pop ecx
test eax, eax
je 0x4023f3
push esi
call fcn.004498ab
pop ecx
test eax, eax
je 0x4023ec
lea eax, [ebp - 0x1cc]
push str.Could_not_create
push eax
call fcn.00447910
lea eax, [ebp - 0x1cc]
push esi
push eax
call fcn.00447920
lea eax, [ebp - 0x1cc]
push str._directory_in:_n
push eax
call fcn.00447920
push dword [ebp + 8]
lea eax, [ebp - 0x1cc]
push eax
call fcn.00447920
lea eax, [ebp - 0x1cc]
push str._n_nThis_directory_is_required_for_installation._n
push eax
call fcn.00447920
add esp, 0x28
lea eax, [ebp - 0x1cc]
push 0
push str.Install_attempt_failed.
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
jmp 0x40240e
push esi
call fcn.004489f1
pop ecx
push 0x4779fc
push dword [ebp + 8]
call fcn.00447920
push esi
push dword [ebp + 8]
call fcn.00447920
add esp, 0x10
xor eax, eax
pop esi
leave
ret

Function at 0x402411
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x491f1c]
test eax, eax
jne 0x40242d
push 0x104
call fcn.004232df
pop ecx
mov dword [0x491f1c], eax
mov byte [eax], 0
push edi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
test edi, edi
je 0x4024d0
cmp byte [edi], 0x22
push ebx
push esi
jne 0x402487
mov esi, 0x477a8c
lea ebx, [edi + 1]
push esi
push ebx
call fcn.004431e0
pop ecx
pop ecx
test eax, eax
je 0x402487
push esi
push ebx
call fcn.004431e0
or ecx, 0xffffffff
sub ecx, edi
lea esi, [ecx + eax]
push esi
push ebx
push dword [0x491f1c]
call fcn.004486a0
mov eax, dword [0x491f1c]
add esp, 0x14
mov byte [eax + esi], 0
jmp 0x4024ce
mov esi, 0x477a90
push esi
push edi
call fcn.004431e0
pop ecx
pop ecx
test eax, eax
je 0x4024c0
push esi
push edi
call fcn.004431e0
mov esi, eax
sub esi, edi
push esi
push edi
push dword [0x491f1c]
call fcn.004486a0
mov ecx, dword [0x491f1c]
add esp, 0x14
mov byte [ecx + esi], 0
jmp 0x4024ce
push edi
push dword [0x491f1c]
call fcn.00447910
pop ecx
pop ecx
pop esi
pop ebx
mov eax, dword [0x491f1c]
pop edi
ret
Function at 0x4024d7
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x92c
lea eax, [esp + 4]
push ebp
push esi
push edi
push eax
push 0x477a94
call fcn.00447fcc
pop ecx
pop ecx
mov esi, eax
push 0xa
pop edi
cmp esi, 0xffffffff
je 0x4025ea
mov ebp, 0x477a98
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.00448610
pop ecx
pop ecx
test eax, eax
je 0x4025ce
lea eax, [esp + 0x34]
push 0x477a9c
push eax
call fcn.00448610
pop ecx
pop ecx
test eax, eax
je 0x4025ce
lea eax, [esp + 0x538]
push ebp
push eax
call fcn.00447910
lea eax, [esp + 0x540]
push 0x4779fc
push eax
call fcn.00447920
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x54c]
push eax
call fcn.00447920
lea eax, [esp + 0x150]
push 0x477a9c
push eax
call fcn.00447910
lea eax, [esp + 0x158]
push 0x4779fc
push eax
call fcn.00447920
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x164]
push eax
call fcn.00447920
add esp, 0x30
jmp 0x4025b2
test edi, edi
je 0x4025ce
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
push 0
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4025a5
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00447fe7
pop ecx
pop ecx
test eax, eax
je 0x40250a
push esi
call fcn.00447fa6
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret

Function at 0x4026cb
Capabilities:
Read file on windows

Disassembly:
push ecx
cmp dword [0x4905e4], 0
jne 0x4027a6
push esi
call fcn.00402411
push 0x477ab4
push eax
call fcn.00448116
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4027a5
push ebx
push 2
xor ebx, ebx
push ebx
push esi
call fcn.004485c7
push esi
call fcn.004476c8
push ebx
push ebx
push esi
mov dword [0x49015c], eax
call fcn.004485c7
mov eax, dword [0x49015c]
inc eax
push eax
call fcn.004232df
push esi
push 1
push dword [0x49015c]
mov dword [0x4905e4], eax
push eax
call fcn.00449afb
mov ecx, dword [0x49015c]
mov eax, dword [0x4905e4]
push esi
mov byte [ecx + eax], bl
call fcn.00448282
push dword [0x49015c]
mov ecx, dword [0x4905e4]
call fcn.0040266e
mov esi, eax
add esp, 0x38
test esi, esi
je 0x402798
mov edx, dword [0x49015c]
mov ecx, dword [0x4905e4]
sub edx, esi
dec ecx
add ecx, edx
push ecx
lea ecx, [esi + 1]
call fcn.0040266e
test eax, eax
pop ecx
cmovne esi, eax
mov eax, dword [0x4905e4]
sub eax, esi
mov dword [0x4905e8], esi
add dword [0x49015c], eax
jmp 0x4027a4
mov dword [0x4905e8], ebx
mov dword [0x49015c], ebx
pop ebx
pop esi
pop ecx
ret
Function at 0x402824
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x958
lea edx, [ebp - 0x558]
push edi
push str.uiname
call fcn.004025f1
lea eax, [ebp - 0x158]
push eax
lea edx, [ebp - 0x558]
call fcn.0040233c
pop ecx
pop ecx
test eax, eax
jne 0x4028cd
push 0x44
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00445670
push 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push edi
push eax
call fcn.00445670
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x958]
push eax
call fcn.00447910
lea eax, [ebp - 0x958]
push str..exe
push eax
call fcn.00447920
add esp, 0x28
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x958]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4028cd
push dword [ebp - 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x4028cf
xor eax, eax
pop edi
leave
ret