joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4058bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4058cc
pop dword [ebp - 0x40]
mov eax, 0x4058cc
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa5480b62
sub dword [ebp - 0x50], 0x56f5c617
mov dword [ebp - 0x4c], 0xa6a5a047
add dword [ebp - 0x4c], 0x8b8dabfe
mov dword [ebp - 0x48], 0x79750b3a
sub dword [ebp - 0x48], 0x2d28c70c
mov dword [ebp - 0x44], 0x39be51a1
sub dword [ebp - 0x44], 0x39be51a1
lea eax, [ebp - 0x50]
push eax
mov eax, 0xf0a28e92
sub eax, 0xf061be3e
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xbc25e815
sub dword [ebp - 0x50], 0x47b37ebf
mov dword [ebp - 0x4c], 0xf16b1762
sub dword [ebp - 0x4c], 0xaffeb5ed
mov dword [ebp - 0x48], 0xe833ba06
add dword [ebp - 0x48], 0x7b3bb266
mov dword [ebp - 0x44], 0x13d49132
sub dword [ebp - 0x44], 0x13d49132
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x41ef6bcf
sub eax, 0x41ae9b83
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x37a88
push 0
call eax
mov ecx, 0x4072
mov edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x40]
mov edx, 0xe9c64d2a
add edx, 0xbd5b8e54
add dword [ebp - 0x34], ecx
mov esi, dword [ebx]
sub dword [ebp - 0x18], ebx
add esi, edx
mov dword [ebp - 0x14], 0x4ac75f70
mov dword [edi], esi
xor dword [ebp - 0x2c], 0x776375cf
add edi, 4
add ebx, 4
loop 0x4059dd
add eax, 0xf49b
mov ebx, eax
add eax, 0xd2003b49
add eax, 0x2dffc4bc
mov ecx, 0xfd7799ef
add ecx, 0x2c86611
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x5a953bde
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42f314
mov ecx, 0x71451eff
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40adc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ae28
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403cb4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406c88
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ae2f
lea eax, [ebp - 0xc]
call fcn.00403a44
ret

Function at 0x412738
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
xor eax, eax
push ebp
push 0x412933
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
mov edx, 0x94
call fcn.0040599c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
xor ebx, ebx
cmp dword [ebp - 0x84], 2
jne 0x412865
mov bl, 0xa
mov eax, dword [ebp - 0x90]
sub eax, 3
je 0x4127b4
dec eax
je 0x4127b8
dec eax
je 0x4127bc
jmp 0x4127be
mov bl, 5
jmp 0x4127be
mov bl, 6
jmp 0x4127be
mov bl, 7
cmp dword [ebp - 0x90], 6
jne 0x4127d7
cmp dword [ebp - 0x8c], 0
jne 0x4127d7
mov bl, 0xb
jmp 0x412915
cmp dword [ebp - 0x90], 5
jne 0x4127f0
cmp dword [ebp - 0x8c], 1
jne 0x4127f0
mov bl, 9
jmp 0x412915
cmp dword [ebp - 0x90], 6
jne 0x412809
cmp dword [ebp - 0x8c], 2
jne 0x412809
mov bl, 0xd
jmp 0x412915
cmp dword [ebp - 0x90], 6
jne 0x412822
cmp dword [ebp - 0x8c], 3
jne 0x412822
mov bl, 0xe
jmp 0x412915
cmp dword [ebp - 0x90], 6
jne 0x41283b
cmp dword [ebp - 0x8c], 1
jne 0x41283b
mov bl, 0xc
jmp 0x412915
cmp dword [ebp - 0x90], 6
ja 0x41285e
cmp dword [ebp - 0x90], 6
jne 0x412915
cmp dword [ebp - 0x8c], 3
jbe 0x412915
mov bl, 0xf
jmp 0x412915
cmp dword [ebp - 0x90], 4
jne 0x4128b3
cmp dword [ebp - 0x8c], 0
jne 0x4128b3
mov bl, 1
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00403cb4
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00406ab0
mov eax, dword [ebp - 0x98]
mov edx, 0x41294c
call fcn.00403e2c
jne 0x412915
mov bl, 2
jmp 0x412915
cmp dword [ebp - 0x90], 4
jne 0x412901
cmp dword [ebp - 0x8c], 0xa
jne 0x412901
mov bl, 3
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00403cb4
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00406ab0
mov eax, dword [ebp - 0xa0]
mov edx, 0x412958
call fcn.00403e2c
jne 0x412915
mov bl, 4
jmp 0x412915
cmp dword [ebp - 0x90], 4
jne 0x412915
cmp dword [ebp - 0x8c], 0x5a
jne 0x412915
mov bl, 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41293a
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00403a68
ret
Function at 0x4133cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ed0
mov eax, dword [ebp - 8]
call fcn.00403ed0
xor eax, eax
push ebp
push 0x413433
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403ee0
push eax
mov eax, dword [ebp - 4]
call fcn.00403ee0
push eax
push 0x413440
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41343a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a68
ret

Function at 0x413448
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4134f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403a44
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00412adc
mov eax, dword [ebp - 8]
call fcn.00403ce0
test al, al
jbe 0x4134d2
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00403c2c
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00403ce8
xor eax, eax
mov al, bl
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp - 4]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 9]
jne 0x413493
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4134f7
lea eax, [ebp - 0x10]
call fcn.00403a44
lea eax, [ebp - 8]
call fcn.00403a44
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405ae0
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x405b50
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x405ba7
xor ecx, ecx
xor edx, edx
jmp 0x405b89
cmp ax, 0x5c
jne 0x405c10
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x405ba7
cmp ax, 9
je 0x405b95
cmp ax, 0x20
jne 0x405b70
test ecx, ecx
je 0x405bfb
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x405b89
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x405c30
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00404340
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x405bf8
cmp ax, 0x20
je 0x405bf8
jmp 0x405ba7
cmp ax, 0x22
jne 0x405b99
and edx, 1
jne 0x405b99
xor ecx, 1
jmp 0x405b7d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x405bc0
Function at 0x405b50
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x405b50
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x405ba7
xor ecx, ecx
xor edx, edx
jmp 0x405b89
cmp ax, 0x5c
jne 0x405c10
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x405ba7
cmp ax, 9
je 0x405b95
cmp ax, 0x20
jne 0x405b70
test ecx, ecx
je 0x405bfb
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x405b89
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x405c30
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00404340
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x405bf8
cmp ax, 0x20
je 0x405bf8
jmp 0x405ba7
cmp ax, 0x22
jne 0x405b99
and edx, 1
jne 0x405b99
xor ecx, 1
jmp 0x405b7d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x405bc0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1005dd9
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
and dword [ebp - 8], 0
cmp dword [0x100a308], 0xfffffffe
push edi
mov dword [ebp - 0xc], 0xc
jne 0x1005ecb
and dword [0x100a308], 0
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1005ecb
cmp dword [ebp - 0xa0], 1
jne 0x1005ecb
cmp dword [ebp - 0xac], 4
jne 0x1005ecb
cmp dword [ebp - 0xa8], 0xa
jae 0x1005ecb
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1005ecb
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x1001500
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005ecb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10012fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1005ecb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.01005cd0
test eax, eax
je 0x1005ecb
mov eax, dword [ebp - 8]
and eax, 0x3ff
cmp eax, 1
je 0x1005ec1
cmp eax, 0xd
jne 0x1005ecb
mov dword [0x100a308], 1
mov eax, dword [0x100a308]
pop edi
leave
ret

Function at 0x1005ed3
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [ecx], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x1005f09
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005f0d
xor eax, eax
jmp 0x1005f23
mov eax, dword [ebp - 8]
push 0x400
imul eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x10071ae
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x10071ee
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x10071cc
and esi, 3
xor eax, eax
dec esi
je 0x100720a
dec esi
je 0x1007203
dec esi
jne 0x100720f
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10040fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013b0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004153
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10013ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004146
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1004155
xor eax, eax
pop esi
leave
ret 4

Function at 0x9c0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009c01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9c007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c006a
add dl, dl
jne 0x9c0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c00dc
xor eax, eax
add dl, dl
jne 0x9c0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c017d
add dl, dl
jne 0x9c00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9c00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9c0075
mov eax, 1
add dl, dl
jne 0x9c00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c00e1
sub eax, ebx
mov ebx, 1
jne 0x9c0128
mov ecx, 1
add dl, dl
jne 0x9c010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9c013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c0136
cmp eax, 0x7d00
jae 0x9c016d
cmp eax, 0x500
jb 0x9c0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
cmp eax, 0x7f
ja 0x9c0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9c019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9c0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100017b0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x100899d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x100c87bc]
push 0xd9
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [esi + 4]
push eax
push 1
lea edi, [esi + 4]
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x24], eax
mov edx, dword [edi]
xor ebp, ebp
push ebp
push edx
call fcn.10064a50
lea eax, [esp + 0x24]
push eax
call fcn.10040330
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._s_Toolbar_Version
mov dword [esp + 0x40], ebp
call fcn.10001280
lea edx, [esp + 0x28]
push edx
call fcn.10064970
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x34], 1
call fcn.10001730
mov eax, dword [eax]
cmp eax, ebp
je 0x10001864
mov esi, dword [eax]
jmp 0x10001866
xor esi, esi
mov eax, dword [edi]
push 0xd3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
je 0x100018c4
mov esi, eax
add eax, 8
push eax
call ebx
cmp eax, ebp
jne 0x100018c0
cmp esi, ebp
je 0x100018c0
mov eax, dword [esi]
cmp eax, ebp
je 0x100018a7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x100018b7
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x10001904
lea ecx, [esi + 8]
push ecx
call ebx
cmp eax, ebp
jne 0x10001900
cmp esi, ebp
je 0x10001900
mov eax, dword [esi]
cmp eax, ebp
je 0x100018e7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x100018f7
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
cmp esi, ebp
je 0x1000194c
lea edx, [esi + 8]
push edx
call ebx
test eax, eax
jne 0x10001948
cmp esi, ebp
je 0x10001948
mov eax, dword [esi]
cmp eax, ebp
je 0x1000192f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1000193f
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x1c], ebp
mov eax, dword [edi]
push 0xe0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call fcn.10064a50
mov ecx, dword [esp + 0x44]
add esp, 8
push ecx
mov ecx, edi
call fcn.10001030
mov edx, dword [edi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x1000aa00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000aa19
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000aa54
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1000aa50
lea ebx, [ebx]
cmp esi, eax
jae 0x1000aa54
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1000aa40
cmp esi, eax
jb 0x1000aa5a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x1000c2f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push 0
push eax
call fcn.10064a50
mov ecx, dword [0x100c87bc]
add esp, 8
push 0xd9
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push edx
call ebx
mov eax, dword [edi]
push 0xe1
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ebp, [esi + 0x3c]
mov ecx, ebp
mov dword [esi + 0x24], eax
call fcn.1000c130
mov ecx, dword [esi + 0x24]
neg eax
sbb eax, eax
push 0
neg eax
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [edi]
push 0xe3
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebp
mov dword [esi + 0x28], eax
call fcn.1000c190
neg eax
sbb eax, eax
push 0
neg eax
push eax
mov eax, dword [esi + 0x28]
push 0xf1
push eax
call ebx
mov ecx, dword [edi]
push 0xe2
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebp
mov dword [esi + 0x2c], eax
call fcn.1000c160
mov edx, dword [esi + 0x2c]
neg eax
sbb eax, eax
push 0
neg eax
push eax
push 0xf1
push edx
call ebx
mov eax, dword [edi]
push 0xe5
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, byte [esi + 0x4c]
neg ecx
sbb ecx, ecx
and ecx, 5
mov dword [esi + 0x30], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x4c], 0
je 0x1000c3f8
mov ecx, ebp
call fcn.1000c1f0
mov edx, dword [esi + 0x30]
neg eax
sbb eax, eax
push 0
neg eax
push eax
push 0xf1
push edx
call ebx
mov eax, dword [edi]
push 0xcd
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebp
mov dword [esi + 0x38], eax
call fcn.1000c1c0
mov ecx, dword [esi + 0x38]
neg eax
sbb eax, eax
push 0
neg eax
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [edi]
push 0xe6
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebp
mov dword [esi + 0x34], eax
call fcn.1000c220
neg eax
sbb eax, eax
push 0
neg eax
push eax
mov eax, dword [esi + 0x34]
push 0xf1
push eax
call ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esi + 0x48], eax
call fcn.10001030
mov edx, dword [edi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10