joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d85d
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x43311f
call fcn.0042fc6e
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x42d971
cmp byte [ebx + 0x49], 0
je 0x42d971
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x43d41c]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
jne 0x42d89e
xor al, al
jmp 0x42d973
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0042c532
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x42d8ce
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x43d41c]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x42d904
sub eax, 1
je 0x42d908
dec eax
sub eax, 1
je 0x42d95f
xor bl, bl
jmp 0x42d961
mov byte [ebx + 0x49], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x42d918
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x42d941
cmp eax, 0x10
jae 0x42d927
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x42d900
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x42d95f
test esi, esi
jne 0x42d8c2
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00409a4a
jmp 0x42d8bc
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040c0c6
mov al, bl
jmp 0x42d973
mov al, 1
call fcn.0042fc1d
ret

Function at 0x42fdc4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x437398
call fcn.00430078
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x42fe24
cmp eax, 0xffffffff
je 0x42fe24
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x42fe1d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x42fe1d
cmp edx, 0x10000000
jae 0x42fe1d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x42fe1a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42fe80
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 0x42febe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42feb6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42fec0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42fea6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x9cdb67
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [esp], bl
lea esp, [esp + 0xc]
and edi, 0xff000000
jmp 0x9cdb92

Function at 0x9ce01e
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x9cdfd4
mov edx, 0x831c641c
mov bl, 0xc6
jmp 0x9cdffd
stc
bsf bx, si
mov ecx, 0xff
fidivr word [ecx + 0xff]
lea esp, [esp + 8]
jmp 0x991711
push edi
mov edi, esi
add edi, 0x11
jmp 0x9ce06f
add esi, 0x10
shl dh, cl
cmc
sub esp, 0x18
jmp 0x9ce042
push edi
mov dword [ebp - 4], ecx
jmp 0x9cdfea
pushal
mov dword [esp + 0x20], edx
push dx
lea esp, [esp + 2]
lea esp, [esp + 0x20]
popal
jmp 0x9ce04f
mov edx, dword [esi]
pushal
cmp cl, dl
lea edi, reloc.WINMM.dll_waveOutPrepareHeader
jmp 0x9ce024
sub esp, 9
lea esp, [esp + 1]
shr edi, 0x18
sub esp, 0xf
call fcn.009ce152
pop ds
mov byte [esi], bl
jns 0x9cdfee
dec esi
mov bl, 0x25
mov ch, 0xdc
das
cwde
aam 0x47
movzx ebx, byte [edi]
pop edi
mov ebx, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
lea edx, [edx*4]
jmp 0x9ce005

Function at 0x9ce083
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x9ce0d9
lea esp, [esp + 2]
add esp, 1
lea esp, [esp + 1]
and ebx, ecx
sub esp, 0x1d
jmp 0x9ce0ae

Function at 0x9ce223
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, dword [edi*4 + reloc.WINMM.dll_waveOutPrepareHeader]
jmp 0x9ce21b
shr edi, 0x18
mov edi, dword [edi*4 + reloc.WINMM.dll_waveOutPrepareHeader]
and edi, ecx
jmp 0x9ce1f7
and ebx, ecx
call 0x9ce223
std
lea esp, [esp + 0x24]
xor edi, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
push si
jmp 0x9ce258
sbb di, sp
mov edi, esi
mov edi, edx
jmp 0x9ce20d
add edi, 6
movzx ebx, byte [edi]
pop edi
cmc
jmp 0x9ce277
lea esp, [esp + 2]
push edi
mov edi, esi
jmp 0x9ce242
mov ebx, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
and ebx, ecx
pushfd
mov word [esp], sp
call fcn.009ce261
pop esp
rol byte [esi + 0x21], 1
shl byte [ebp + ecx*8 + 0x5c], 1
scasd eax, dword es:[edi]
mov dh, 0x8d
and al, 0xc

Function at 0x9ce261
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x9ce2a5
pop dword [esp]
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
push ebp
jmp 0x9ce3a0
mov ebp, esi
add ebp, 9
movzx ebx, byte [ebp]
pop ebp
call fcn.009ce2b9
lea ebx, reloc.WINMM.dll_waveOutPrepareHeader
mov edi, dword [ebx]
pop ebx
jmp 0x9ce43c
and ebx, ecx
sub esp, 2
lea esp, [esp + 2]
jmp 0x9ce412
mov ebp, edi
lea ebp, [ebp*4]
lea ebp, reloc.WINMM.dll_waveOutPrepareHeader
mov edi, dword [ebp]
pop ebp
jmp 0x9ce3d1
push ecx
jmp 0x9ce424
lea esp, [esp + 0x24]
xor edi, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
mov ebx, dword [esp]
mov bl, dl
jmp 0x9ce3fc
mov ecx, esi
add ecx, 0xa
movzx ebx, byte [ecx]
pop ecx
jmp 0x9ce477
and edi, ecx
pushal
push ebp
jmp 0x9ce3e7
movzx ebx, byte [esi + 0xd]
call fcn.009ce48a
movsb byte es:[edi], byte [esi]
aas
scasd eax, dword es:[edi]
retf 0xf339
lea esp, [esp + 1]
lea esp, [esp + 0x14]
xor edi, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
jmp 0x9ce442
mov ebx, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
and ebx, ecx
sub esp, 0x17
pop word [esp + 4]
jmp 0x9ce458
Function at 0x9ce38a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 2]
jmp 0x9ce3c5
push ebx
mov ebx, edi
lea ebx, [ebx*4]
jmp 0x9ce3af

Function at 0x9ce51f
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x9ce582
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
call fcn.009ce56c
and edx, ecx
jmp 0x9ce5f6
xor edi, dword [ebx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
and edx, ecx
xor edi, dword [edx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
push esp
jmp 0x9ce5bd
mov edx, dword [edx*4 + reloc.WINMM.dll_waveOutPrepareHeader]
and ebx, ecx
lea esp, [esp + 0x1c]
jmp 0x9ce5d3

Function at 0x9ce56c
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x17
lea esp, [esp + 3]
jmp 0x9ce592

Function at 0xa92c0e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0xa], sp
sub esp, 0x15
rol bp, 8
add bh, bl
jmp 0xa92c35
xchg ecx, eax
pushal
lea esp, [esp + 0x43]
mov si, 0x39f3
cpuid
std
jmp 0xa92ccc
push si
push ebx
mov dword [esp], ebp
mov dword [esp], edi
mov word [esp + 1], dx
sub esp, 0
jmp 0xa92cac
neg bh
lea ecx, reloc.WINMM.dll_waveOutPrepareHeader
mov ebp, dword [esp]
mov cx, word [esp]
mov ah, 0x70
btc cx, di
jmp 0xa92c67
cmc
push dword [esp + 3]
cmc
neg dx
mov al, 0xad
bswap ecx
jmp 0xa92d00
sbb edi, 0x973927f6
not ax
not bl
mov dl, 0xa1
pop bp
mov bh, byte [esp + 3]
jmp 0xa92c96
inc bp
mov al, byte [esp]
mov si, word [esp]
sub esp, 0
dec dh
bswap eax
jmp 0xa92c7f
push word [esp + 5]
bts bp, cx
pop ax
mov bh, cl
xchg byte [esp + 3], al
setnp al
jmp 0xa92d56
bts esi, edx
rdtsc
cpuid
lea ecx, [ebx*4]
mov di, 0xdbb9
pushal
jmp 0xa92cde
ror ebp, 0xb
mov byte [esp + 0x18], bl
mov edx, 0x988cbcc9
jmp 0xa92d3d
lea ebp, [esp + edx]
lea edi, [ebx + edi]
pushal
rdtsc
xchg word [esp + 0x15], bp
xchg ebx, edi
jmp 0xa92d15
lea eax, [ebx*4]
lea ebx, [ebp*4]
call fcn.00a92d7c
inc esp
neg esi
sub dword [eax - 0x15], ecx
bswap edx
popal
rdtsc
pop edi
pop ebp
lea esi, [ecx*4]
jmp 0xa92d2b
Function at 0xa930e8
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xa9312a
lea esp, [esp + 1]
mov byte [esp + 3], dl
add esp, 2
bswap edi
xchg al, ch
xchg word [esp], di
jmp 0xa93114

Function at 0xa93919
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
mov byte [esp + 3], ah
jmp 0xa939e1
mov word [esp + 5], dx
mov dword [esp + 0x30], ebx
call fcn.00a93985

Function at 0xa93991
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
pop dword [esp]
mov dword [esp + 0x38], edi
lea esp, [esp + 0x38]
jmp 0xa939c2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xa939ac

Function at 0xa939a7
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
call fcn.00a9307c
call fcn.00a93991
mov eax, dword [eax]
jmp 0xa93a05
mov eax, dword [eax + 8]
push eax
jmp 0xa93077
Function at 0x5bb9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13d000]
push edi
or ebp, 0xffffffff
jmp 0x5bba12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bba19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bba08
mov eax, 1
add ebx, ebx
jne 0x5bba2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bba3c
jne 0x5bba5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bba5b
dec eax
add ebx, ebx
jne 0x5bba48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bba20
add ebx, ebx
jne 0x5bba57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bbaad
xor ecx, ecx
sub eax, 3
jb 0x5bba73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bbae2
sar eax, 1
mov ebp, eax
jmp 0x5bba7e
add ebx, ebx
jne 0x5bba7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bba4c
inc ecx
add ebx, ebx
jne 0x5bba8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bba4c
add ebx, ebx
jne 0x5bba99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bba8e
jne 0x5bbaaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bba8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bbacc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bbabe
jmp 0x5bba0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bbacc
add edi, ecx
jmp 0x5bba0e
pop esi
mov edi, esi
mov ecx, 0x62e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bbaea
cmp byte [edi], 0x27
jne 0x5bbaea
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 0x5bbaef
lea edi, [esi + 0x1b7000]
mov eax, dword [edi]
or eax, eax
je 0x5bbb67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e767c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e77bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bbb1c
mov ecx, edi
jns 0x5bbb4b
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 + 0x1e77c0]
or eax, eax
je 0x5bbb61
mov dword [ebx], eax
add ebx, 4
jmp 0x5bbb39
call dword [esi + 0x1e77c8]
mov ebp, dword [esi + 0x1e77c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5bbb9b
sub esp, 0xffffff80
jmp 0x4bebb7
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x401443
pop dword [ebp - 4]
mov eax, 0xb8a94b1d
sub eax, 0xb86936da
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x2a4c4801
sub dword [ebp - 0x14], 0xdbfa02b6
mov dword [ebp - 0x10], 0xb20fb6f2
sub dword [ebp - 0x10], 0x7fdc6aad
mov dword [ebp - 0xc], 0x4e35a5c5
add dword [ebp - 0xc], 0xfe169e69
mov dword [ebp - 8], 0x7dfad015
sub dword [ebp - 8], 0x7dfad015
lea eax, [ebp - 0x14]
push eax
mov eax, 0xc1ea19b2
add eax, 0x3e5666c6
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x935dfd5e
sub dword [ebp - 0x14], 0x1eeb9408
mov dword [ebp - 0x10], 0xef3ce40f
sub dword [ebp - 0x10], 0xadd0829a
mov dword [ebp - 0xc], 0x17200c1f
sub dword [ebp - 0xc], 0xb3b09fb3
mov dword [ebp - 8], 0x82683a17
add dword [ebp - 8], 0x7d97c5e9
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x150cd30c
sub eax, 0x14cc5290
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x39db9
push 0
call eax
mov ecx, 0x365768d3
sub ecx, 0x36571ae6
xor edx, edx
add edx, eax
mov edi, 0xb529175
add edi, 0xf4f2828b
add edi, dword [ebp - 4]
mov esi, 0x61a08c02
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 0xfefa2860
sub edx, 0xfefa285c
add edi, 0x14c29039
sub edi, 0x14c29035
loop 0x401561
add eax, 0x33f233ab
sub eax, 0x33f10924
xor ebx, ebx
add ebx, eax
add eax, 0xf0ac6aa1
sub eax, 0xf0ac6a9c
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x7b8a47
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 3]
mov dword [esp + 0x38], esp
call fcn.007b88a5
das
mov edi, 0x72b94a2f
pop es
nop
push es
popal
nop
cmp dword [ebx + reloc.oleaut32.dll_SysFreeString], ebx
mov dword [reloc.oleaut32.dll_SysFreeString], eax
cmpsb byte [esi], byte es:[edi]
movq mm6, qword [esi + 0x61]
push word [esp + 7]
lea esp, [esp + 1]
mov word [esp], di
mov word [esp + 3], dx
mov byte [esp + 0xf], ch
pop word [esp + 6]
jmp 0x7b88d4
mov dword [esp + 1], ebp
push edx
jmp 0x7b89c3

Function at 0x408f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x408fb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408fa8
mov eax, 1
add ebx, ebx
jne 0x408fcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408fc0
jne 0x408fdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408fc0
xor ecx, ecx
sub eax, 3
jb 0x408ff0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409062
mov ebp, eax
add ebx, ebx
jne 0x408ffb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40902c
inc ecx
add ebx, ebx
jne 0x409018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40900d
jne 0x409029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40900d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40904c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40903d
jmp 0x408fae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40904c
add edi, ecx
jmp 0x408fae
pop esi
mov edi, esi
mov ecx, 0x62
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40906a
cmp byte [edi], 1
jne 0x40906a
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 0x40906f
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4090e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9930]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x99a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40909c
mov ecx, edi
jns 0x4090cb
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 + 0x99ac]
or eax, eax
je 0x4090e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4090b9
call dword [esi + 0x99b0]
popal
jmp 0x401dcf
Function at 0x401061
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [0x439050]
mov esi, ecx
push 0x80000002
call dword [0x432028]
test eax, eax
jne 0x4010c9
lea eax, [ebp - 0x20c]
push 0x208
push eax
mov ecx, esi
call fcn.004010ce
test eax, eax
je 0x4010c9
lea eax, [ebp - 0x20c]
push 0x4391d0
push eax
call dword [0x43251c]
lea eax, [ebp - 0x20c]
push eax
call dword [0x432520]
test eax, eax
je 0x4010c9
push 1
pop eax
jmp 0x4010cb
xor eax, eax
pop esi
leave
ret

Function at 0x401123
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0x439238
call dword [0x432630]
push 4
mov esi, eax
pop eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
neg esi
sbb esi, esi
push 0x439204
push 0x80000002
neg esi
call dword [0x432514]
cmp dword [ebp - 4], 0
je 0x40117d
test esi, esi
je 0x40117d
push 1
pop eax
jmp 0x40117f
xor eax, eax
pop esi
leave
ret 4

Function at 0x40120e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
mov dword [ebp - 4], 2
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x439304
push 0x4392d0
push 0x80000002
call dword [0x432514]
mov eax, dword [ebp - 4]
cmp eax, 1
jb 0x401252
cmp eax, 3
jbe 0x401255
push 2
pop eax
leave
ret

Function at 0x401257
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
call fcn.00401061
cmp dword [ebp + 8], eax
jne 0x401272
push 1
pop eax
jmp 0x4012c1
lea eax, [ebp - 0x208]
push 0x208
push eax
mov ecx, esi
call fcn.004010ce
test eax, eax
je 0x4012bf
lea eax, [ebp - 0x208]
push 0x4391d0
push eax
call dword [0x43251c]
lea eax, [ebp - 0x208]
push eax
call dword [0x432520]
test eax, eax
je 0x4012bf
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.00406331
pop ecx
pop ecx
jmp 0x4012c1
xor eax, eax
pop esi
leave
ret 4
Function at 0x401341
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
mov ebx, 0x4393f0
push eax
mov edi, 0x439394
push ebx
mov esi, 0x80000002
push edi
mov dword [ebp - 4], ecx
push esi
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x208
call dword [0x432514]
cmp dword [ebp + 8], 0
mov dword [ebp - 8], eax
jne 0x4013a1
test eax, eax
jne 0x40141e
push ebx
push edi
push esi
call dword [0x432508]
jmp 0x40141e
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.004010ce
test eax, eax
je 0x401423
lea eax, [ebp - 0x218]
push 0x43936c
push eax
call dword [0x43251c]
lea eax, [ebp - 0x218]
push 0x43935c
push eax
call dword [0x43250c]
cmp dword [ebp - 8], 0
jne 0x4013fd
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [0x432428]
pop ecx
test eax, eax
pop ecx
je 0x40141e
lea eax, [ebp - 0x218]
push eax
call dword [0x43242c]
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push edi
push esi
call dword [0x43254c]
push 1
pop eax
jmp 0x401425
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40142c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
xor ebx, ebx
push ebx
mov dword [ebp - 4], ecx
push 0x439238
call dword [0x432630]
cmp eax, ebx
jne 0x4014e7
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov ecx, dword [ebp - 4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
push 0x208
push eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 5
call fcn.004010ce
test eax, eax
pop edi
je 0x40149b
lea eax, [ebp - 0x260]
push 0x43936c
push eax
call dword [0x43251c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
call dword [0x43226c]
test eax, eax
je 0x4014fb
push esi
push 0x3e8
push dword [ebp - 0x14]
call dword [0x4325ac]
push dword [ebp - 0x10]
mov esi, dword [0x432270]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 4]
call fcn.0040131d
cmp eax, ebx
pop esi
je 0x4014fb
push 0x168
push dword [ebp + 8]
push 0x416
push eax
call dword [0x4325c4]
push 1
pop eax
pop ebx
leave
ret 4
Function at 0x401874
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push edi
push 0x208
and dword [eax], 0
lea eax, [ebp - 0x21c]
mov edi, ecx
push eax
call fcn.004010ce
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x21c]
push 0x439430
push eax
call dword [0x43251c]
lea eax, [ebp - 0x21c]
push eax
call dword [0x432520]
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x21c]
push eax
call dword [0x432260]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4019ab
push ebx
push esi
push 0x439420
push eax
call dword [0x432264]
test eax, eax
mov dword [ebp - 8], eax
je 0x4019a0
mov ebx, 0x104
lea esi, [edi + 4]
push ebx
push 0
push esi
call fcn.0042e5bc
push esi
mov dword [esi], ebx
call dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x4019a0
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 0x10], esi
call fcn.004017fd
test eax, eax
je 0x4019a0
mov ecx, edi
xor ebx, ebx
mov dword [ebp - 8], esi
call fcn.0040180e
mov dword [ebp - 4], esi
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401818
test eax, eax
je 0x401985
push esi
push esi
push dword [ebp - 0xc]
mov ecx, edi
push esi
push esi
call fcn.0040182e
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 1
jne 0x401940
cmp dword [eax + 4], 1
jne 0x401975
inc dword [ebp - 8]
jmp 0x401940
push eax
push esi
mov ecx, edi
call fcn.00401850
test eax, eax
jne 0x401940
inc ebx
jmp 0x401940
mov ecx, edi
call fcn.0040186a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], 1
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
push dword [ebp - 0x14]
call dword [0x4322c4]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 8