joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090c06
Capabilities:
Create directory

Disassembly:
push 0x40
mov eax, 0x1024e320
call fcn.10236073
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x10090c23
xor al, al
jmp 0x10090d19
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10090c2d
mov eax, dword [esi]
push ebx
push eax
call fcn.1009243b
pop ecx
pop ecx
test al, al
je 0x10090c41
mov al, 1
jmp 0x10090d19
or edi, 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x10090c4c
mov esi, dword [esi]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
push dword [0x1030cb00]
mov dword [ebp - 0x44], ebx
push esi
jmp 0x10090ccb
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10237091
mov esi, dword [0x1030cb00]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10237091
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10056d14
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x10090cae
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
pop ecx
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.100486a0
lea eax, [ebp - 0x44]
push eax
push dword [0x1030cb00]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10090c6f
mov eax, dword [ebp - 0x14]
cmp edi, 0xffffffff
setne bl
cmp eax, 0x10
jb 0x10090d17
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
cmp eax, 0x1000
jb 0x10090d0e
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10006a87
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
call fcn.10237091
pop ecx
pop ecx
mov al, bl
call fcn.10236022
ret

Function at 0x1009243b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x34
mov eax, 0x10238bcc
call fcn.10236073
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009249d
push eax
lea ecx, [ebp - 0x28]
call fcn.100047be
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10056d14
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x10092472
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x40]
mov ebx, eax
call fcn.100486a0
lea ecx, [ebp - 0x28]
call fcn.10006f54
cmp ebx, 0xffffffff
je 0x1009249d
shr ebx, 4
and bl, 1
or bl, byte [ebp + 0xc]
mov al, bl
jmp 0x1009249f
xor al, al
call fcn.10236022
ret
Function at 0x1009d625
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x18
mov eax, 0x10252f3c
call fcn.10236040
mov edi, ecx
mov eax, dword [edi]
push 0x18
cmp eax, dword [edi + 4]
jne 0x1009d659
call fcn.10237091
pop ecx
mov ecx, eax
mov eax, dword [ebp + 8]
and dword [ecx], 0
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [eax], ecx
jmp 0x1009d6ae
call fcn.10237091
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
and dword [ebp - 4], 0
shr ecx, 1
push ecx
push dword [edi]
mov ecx, eax
call fcn.1009d3ed
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x1009d690
mov eax, dword [ebx]
push 0
push ecx
push eax
call sub.CRYPT32.dll_CryptUnprotectMemory
test eax, eax
je 0x1009d6b6
push 0
push dword [edi + 0xc]
mov ecx, ebx
call fcn.1009c775
mov eax, dword [ebp + 8]
mov dword [eax], ebx
call fcn.1023600e
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1009d5d3
pop ecx
pop ecx
push 0x10300cbc
lea eax, [ebp - 0x24]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x100a06e2
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, closesocket
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x100a06fa
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x100a073b
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebp
pop ebx
ret

Function at 0x100a07a8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x100a07b1
pop esi
ret
Function at 0x100aafbe
Capabilities:
Receive http response

Disassembly:
push 0x70
mov eax, 0x102548f5
call fcn.10236073
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
call fcn.1009eef5
xor ebx, ebx
cmp dword [eax + 0x120], ebx
jne 0x100ab03c
push ebx
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x100ab10e
call dword [sym.imp.kernel32.dll_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100047be
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1009f4b3
lea ecx, [ebp - 0x58]
call fcn.10006f54
lea ecx, [ebp - 0x28]
call fcn.10006f54
jmp 0x100ab10e
mov ecx, dword [edi + 8]
call fcn.1009eef5
mov esi, dword [eax + 0x120]
test esi, esi
mov eax, 0x10000
cmove esi, eax
cmp dword [ebp + 0xc], esi
jae 0x100ab070
cmp byte [ebp + 0x10], bl
jne 0x100ab070
push dword [edi + 0x2c]
mov ecx, edi
push dword [edi + 0x28]
call fcn.1009ef6e
jmp 0x100ab10e
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.1009ed4e
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 2
call fcn.10081fc0
lea ecx, [edi + 0x84]
test eax, eax
jne 0x100ab09d
push esi
call fcn.10237091
jmp 0x100ab09f
mov dword [ecx], eax
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x100ab0af
mov eax, dword [edi + 0x88]
push ebx
push esi
push eax
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x100ab106
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x10270010
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100047be
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1009f4b3
lea ecx, [ebp - 0x70]
call fcn.10006f54
lea ecx, [ebp - 0x40]
call fcn.10006f54
lea ecx, [ebp - 0x7c]
call fcn.1007f828
call fcn.10236022
ret
Function at 0x100ab9b4
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x10254a89
call fcn.10236040
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 8]
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp + 0x10]
push 3
mov dword [ebp - 4], ecx
pop ecx
mov dword [ebp - 0x1c], 1
cmp eax, ecx
jb 0x100abaab
xor edx, edx
div ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov al, byte [ecx + 1]
mov bl, byte [ecx]
mov bh, byte [ecx + 2]
mov byte [ebp - 0xd], al
mov eax, dword [0x1030d2c0]
movzx ecx, bl
shr ecx, 2
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
and bl, 3
shl bl, 4
movzx ecx, bl
mov bl, byte [ebp - 0xd]
movzx eax, bl
shr eax, 4
or ecx, eax
mov eax, dword [0x1030d2c0]
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
movzx esi, bh
and bl, 0xf
shl bl, 2
mov eax, esi
shr eax, 6
movzx ecx, bl
or ecx, eax
mov eax, dword [0x1030d2c0]
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
mov eax, dword [0x1030d2c0]
and esi, 0x3f
mov ecx, edi
movsx ax, byte [esi + eax]
movzx eax, ax
push eax
call fcn.10237091
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
sub eax, 3
add ecx, 3
mov dword [ebp + 0x10], eax
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x14], ecx
jne 0x100ab9fe
jmp 0x100abaae
mov ecx, dword [ebp + 0xc]
sub eax, 1
je 0x100abb1b
sub eax, 1
jne 0x100abb68
mov bl, byte [ecx]
mov bh, byte [ecx + 1]
mov eax, dword [0x1030d2c0]
movzx ecx, bl
shr ecx, 2
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
and bl, 3
movzx eax, bh
shr eax, 4
shl bl, 4
movzx ecx, bl
or ecx, eax
mov eax, dword [0x1030d2c0]
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
mov eax, dword [0x1030d2c0]
and bh, 0xf
shl bh, 2
movzx ecx, bh
movsx ax, byte [ecx + eax]
movzx eax, ax
push eax
jmp 0x100abb58
mov bl, byte [ecx]
mov eax, dword [0x1030d2c0]
movzx ecx, bl
shr ecx, 2
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
mov eax, dword [0x1030d2c0]
and bl, 3
shl bl, 4
movzx ecx, bl
movsx ax, byte [ecx + eax]
mov ecx, edi
movzx eax, ax
push eax
call fcn.10237091
push 0x3d
mov ecx, edi
call fcn.10237091
push 0x3d
mov ecx, edi
call fcn.10237091
mov eax, edi
call fcn.1023600e
ret
Function at 0x100f6760
Capabilities:
Query environment variable

Disassembly:
cmp dword [0x1031e3e8], 0
je 0x100f676d
or eax, 0xffffffff
ret
mov dword [0x1031e3e8], 1
call fcn.100ac180
push str.XML_MEM_BREAKPOINT
mov dword [0x1031e3f8], eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x100f67a6
push 0x1031e400
push 0x10276d3c
push eax
call fcn.100f6700
add esp, 0xc
push str.XML_MEM_TRACE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x100f67cb
push 0x1031e404
push 0x10276d50
push eax
call fcn.100f6700
add esp, 0xc
xor eax, eax
ret

Function at 0x100fa210
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x7d4
mov eax, dword [0x1030fff4]
xor eax, esp
mov dword [esp + 0x7d0], eax
push esi
push edi
mov edi, dword [esp + 0x7e0]
xor esi, esi
push 0xd
push str.urn:publicid:
push edi
call fcn.100e34e0
add esp, 0xc
test eax, eax
je 0x100fa25c
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7d0]
xor ecx, esp
call fcn.10236000
add esp, 0x7d4
ret
mov al, byte [edi + 0xd]
add edi, 0xd
test al, al
je 0x100fa36e
nop word [eax + eax]
cmp esi, 0x7cc
ja 0x100fa366
cmp al, 0x2b
jne 0x100fa28a
mov byte [esp + esi + 8], 0x20
jmp 0x100fa35a
cmp al, 0x3a
jne 0x100fa29e
mov word [esp + esi + 8], 0x2f2f
inc edi
add esi, 2
jmp 0x100fa35c
cmp al, 0x3b
jne 0x100fa2b2
mov word [esp + esi + 8], 0x3a3a
inc edi
add esi, 2
jmp 0x100fa35c
cmp al, 0x25
jne 0x100fa356
mov al, byte [edi + 1]
cmp al, 0x32
jne 0x100fa318
cmp byte [edi + 2], 0x42
jne 0x100fa2d5
mov byte [esp + esi + 8], 0x2b
add edi, 3
inc esi
jmp 0x100fa35c
cmp byte [edi + 2], 0x46
jne 0x100fa2e6
mov byte [esp + esi + 8], 0x2f
add edi, 3
inc esi
jmp 0x100fa35c
cmp byte [edi + 2], 0x37
jne 0x100fa2f7
mov byte [esp + esi + 8], 0x27
add edi, 3
inc esi
jmp 0x100fa35c
mov al, byte [edi + 2]
cmp al, 0x33
jne 0x100fa309
mov byte [esp + esi + 8], 0x23
add edi, 3
inc esi
jmp 0x100fa35c
cmp al, 0x35
jne 0x100fa34f
mov byte [esp + esi + 8], 0x25
add edi, 3
inc esi
jmp 0x100fa35c
cmp al, 0x33
jne 0x100fa34f
cmp byte [edi + 2], 0x41
jne 0x100fa32d
mov byte [esp + esi + 8], 0x3a
add edi, 3
inc esi
jmp 0x100fa35c
cmp byte [edi + 2], 0x42
jne 0x100fa33e
mov byte [esp + esi + 8], 0x3b
add edi, 3
inc esi
jmp 0x100fa35c
cmp byte [edi + 2], 0x46
jne 0x100fa34f
mov byte [esp + esi + 8], 0x3f
add edi, 3
inc esi
jmp 0x100fa35c
mov byte [esp + esi + 8], 0x25
jmp 0x100fa35a
mov byte [esp + esi + 8], al
inc esi
inc edi
mov al, byte [edi]
test al, al
jne 0x100fa270
cmp esi, 0x7d0
jae 0x100fa397
lea eax, [esp + 8]
mov byte [esp + esi + 8], 0
push eax
call fcn.100e31c0
mov ecx, dword [esp + 0x7dc]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.10236000
add esp, 0x7d4
ret
call fcn.10237091
int3
Function at 0x10156948
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x14
and dword [edi], 0
call fcn.10237091
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10156967
push 7
pop eax
jmp 0x101569db
cmp byte [0x1030db34], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
je 0x101569b2
mov eax, dword [0x1030dc24]
test eax, eax
je 0x1015698f
push 0xc8
call eax
pop ecx
test eax, eax
jne 0x101569b2
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
xor eax, eax
mov dword [esi + 0xc], ebx
push eax
push esi
push 0x10156a40
push eax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x101569bf
push 0x14
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 8], 0
jne 0x101569d5
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call ebp
pop ecx
mov dword [esi + 0x10], eax
pop ebp
mov dword [edi], esi
xor eax, eax
pop ebx
pop edi
pop esi
ret
Function at 0x10237091
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x102370a0
pop dword [ebp - 8]
mov eax, 0x62891a1b
sub eax, 0x5265a97b
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x479db41d
add dword [ebp - 0x18], 0x6b4912e
mov dword [ebp - 0x14], 0x5a111f71
sub dword [ebp - 0x14], 0x27ddd32c
mov dword [ebp - 0x10], 0xda4d947f
add dword [ebp - 0x10], 0x71feafaf
mov dword [ebp - 0xc], 0x2b1e63b
sub dword [ebp - 0xc], 0x2b1e63b
lea eax, [ebp - 0x18]
push eax
mov eax, 0xed4a999c
add eax, 0x22dac7cc
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x63ff7cd3
sub dword [ebp - 0x18], 0xef8d137d
mov dword [ebp - 0x14], 0xf1212365
sub dword [ebp - 0x14], 0xafb4c1f0
mov dword [ebp - 0x10], 0xfb02efd7
add dword [ebp - 0x10], 0x686c7c95
mov dword [ebp - 0xc], 0xca36e861
sub dword [ebp - 0xc], 0xca36e861
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xe8bb47de
add eax, 0x276a19c6
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x64200
push 0
call eax
mov ecx, 0x5b56
xor edx, edx
add edx, eax
mov esi, 0xaf884dbb
add esi, 0x60ac1445
add esi, dword [ebp - 8]
mov ebx, 0x6aa4e052
add dword [ebp - 4], 0xcee2d268
mov edi, dword [esi]
xor dword [ebp - 4], 0xd4a25b23
add edi, ebx
mov dword [ebp - 4], 0xe401046e
mov dword [edx], edi
add dword [ebp - 4], 0xcd308819
add edx, 0x426370dd
add edx, 0xbd9c8f27
add esi, 0xab7f6ab5
sub esi, 0xab7f6ab1
loop 0x102371b8
add eax, 0xfc636b78
add eax, 0x39df4b3
mov ebx, eax
add eax, 0x531fba55
add eax, 0xace045b0
mov ecx, 0x3010dc72
sub ecx, 0x2010dc72
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1002d49d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002d4d3
push 0
push 0x24b9
push 0x7890
push 0xe51
push 0x32e4
push 0x46f1
call fcn.1002f478
add esp, 0x18
jmp 0x1002d56d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002d522
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002d520
push 0
push 0x953
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1002d56d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d550
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1002d56d
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10018124
mov dword [eax], 0x66c93ee
jmp 0x1002d545
mov esp, ebp
pop ebp
ret
Function at 0x10038ee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10038f58
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10038f31
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10038f2f
push 0
push 0
push 0
push 0
push 0
push 0
push 0x20f1
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10038f56
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x10038f7b
push 0x35bf
push 0x549b
push 0x73ad
push 0
push 0x4a1a
push 0x3e97
call fcn.100458e6
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10041f62
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10041f94
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10041f88
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
jmp 0x10041f92
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10041fb5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0x5dfb
call fcn.1002d445
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10043aab
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10043ae3
push 0x56bf
push 0x6d7c
push 0xa38
push 0x60dc
push 0x40e1
push 1
push 0x6f88
call fcn.10043b4c
add esp, 0x1c
jmp 0x10043b48
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10043b23
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10043b21
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
jmp 0x10043b48
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10043b48
push 0x224d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret

Function at 0x100456b1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10045727
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004571b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10045725
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1004574d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x5394
push 0x47e2
push 1
call fcn.1002f003
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10066e25
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10071760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100577a8
mov dword [ebp - 0x14], eax
cmp dword [0x1065e4a0], esi
jne 0x10066f18
push 0x800
push esi
push 0x10008538
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10066ea5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10066ff8
push esi
push esi
push 0x10008538
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10066ff8
push 0x10008550
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10066ff8
push eax
call ebx
push 0x1000855c
push edi
mov dword [0x1065e4a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000856c
push edi
mov dword [0x1065e4a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10008580
push edi
mov dword [0x1065e4a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065e4b0], eax
test eax, eax
je 0x10066f15
push 0x1000859c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065e4ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10066f3d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10066f30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10066f52
push 4
pop eax
jmp 0x10066ffa
cmp dword [ebp - 0x14], esi
je 0x10066f52
push dword [0x1065e4a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10066f37
mov eax, dword [0x1065e4ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10066fb0
cmp dword [0x1065e4b0], edi
je 0x10066fb0
push eax
call ebx
push dword [0x1065e4b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10066fb0
test eax, eax
je 0x10066fb0
call ecx
test eax, eax
je 0x10066fa5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10066fa5
test byte [ebp - 8], 1
jne 0x10066fb0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10066fe0
mov eax, dword [0x1065e4a4]
cmp eax, edi
je 0x10066fdd
push eax
call ebx
test eax, eax
je 0x10066fdd
call eax
mov esi, eax
test esi, esi
je 0x10066fdd
mov eax, dword [0x1065e4a8]
cmp eax, edi
je 0x10066fdd
push eax
call ebx
test eax, eax
je 0x10066fdd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065e4a0]
call ebx
test eax, eax
je 0x10066ff8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10066ffa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054f88
mov esp, ebp
pop ebp
ret