joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad80
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x1000f857
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x104
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x14c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x59
push 0x400
mov byte [esp + 0x44], bl
call esi
lea eax, [esp + 0x34]
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ae10
sub eax, edi
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.1000d550
push 1
push 0x10011ec8
lea eax, [esp + 0x1c]
push eax
call fcn.1000d550
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0x5a
push 0x400
mov byte [esp + 0x44], bl
call esi
lea eax, [esp + 0x34]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000ae60
sub eax, esi
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.1000d550
lea ebx, [esp + 0x14]
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x1000aea6
mov ecx, dword [eax + 4]
push ecx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x144], bl
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1000aec6
xor eax, eax
jmp 0x1000aee1
mov eax, edx
lea esi, [eax + 1]
jmp 0x1000aed0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000aed0
sub eax, esi
js 0x1000af72
cmp eax, dword [edx - 8]
jg 0x1000af72
mov dword [edx - 0xc], eax
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x14]
mov byte [eax + edx], 0
call fcn.1000c740
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x144], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000af48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1000e1de
add esp, 0x134
ret
push 0x80070057
call fcn.10002bb0
int3
Function at 0x1000af80
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x1000f857
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x104
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x14c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x59
push 0x800
mov byte [esp + 0x44], bl
call esi
lea eax, [esp + 0x34]
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000b010
sub eax, edi
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.1000d550
push 1
push 0x10011ec8
lea eax, [esp + 0x1c]
push eax
call fcn.1000d550
push 0x104
lea ecx, [esp + 0x38]
push ecx
push 0x5a
push 0x800
mov byte [esp + 0x44], bl
call esi
lea eax, [esp + 0x34]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000b060
sub eax, esi
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.1000d550
lea ebx, [esp + 0x14]
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x1000b0a6
mov ecx, dword [eax + 4]
push ecx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x144], bl
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1000b0c6
xor eax, eax
jmp 0x1000b0e1
mov eax, edx
lea esi, [eax + 1]
jmp 0x1000b0d0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b0d0
sub eax, esi
js 0x1000b172
cmp eax, dword [edx - 8]
jg 0x1000b172
mov dword [edx - 0xc], eax
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x14]
mov byte [eax + edx], 0
call fcn.1000c740
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x144], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1000e1de
add esp, 0x134
ret
push 0x80070057
call fcn.10002bb0
int3
Function at 0x1000b180
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x1000f811
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x2c]
push ecx
push 0x10011e38
lea edi, [esp + 0x1c]
call fcn.1000d760
add esp, 8
mov ebx, edi
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov ebx, edi
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x1000b22e
mov edx, dword [eax + 4]
push edx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x64], bl
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1000b24b
xor eax, eax
jmp 0x1000b25d
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b250
sub eax, esi
js 0x1000b2db
cmp eax, dword [edx - 8]
jg 0x1000b2db
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x14]
mov byte [eax + ecx], 0
call fcn.1000c740
lea edx, [esp + 0x3c]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b2ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1000e1de
add esp, 0x54
ret
push 0x80070057
call fcn.10002bb0
int3
Function at 0x1000b8b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000fcfa
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov esi, ecx
xor ebx, ebx
test esi, esi
mov dword [esp + 0x18], ebx
je 0x1000b923
test edi, edi
je 0x1000b923
push esi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x64], ebx
cmp dword [eax + 0x14], 0
mov ebx, 1
mov dword [esp + 0x18], ebx
je 0x1000b923
push edi
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [eax + 0x14], 0
mov ebx, 3
mov byte [esp + 0x13], 0
jne 0x1000b928
mov byte [esp + 0x13], 1
test bl, 2
je 0x1000b93e
and ebx, 0xfffffffd
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, 1
mov dword [esp + 0x64], 0xffffffff
je 0x1000b955
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x13], 0
jne 0x1000b9b9
sub esp, 0x1c
xor eax, eax
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Usage
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x34]
push eax
call fcn.10009770
add esp, 0x20
test al, al
je 0x1000b9b9
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
mov esi, dword [esp + 0x38]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
push esi
je 0x1000b9ce
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
test ebp, ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x14], 0
je 0x1000ba02
mov eax, ebp
lea edx, [eax + 1]
jmp 0x1000b9f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000b9f0
sub eax, edx
add eax, 1
push eax
push ebp
jmp 0x1000ba24
mov eax, 0x10011ebc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ba10
sub eax, edx
add eax, 1
push eax
push 0x10011ebc
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call ebx
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x1000ba50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000fca3
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x180]
xor ebx, ebx
mov esi, ecx
xor edi, edi
cmp esi, edi
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
je 0x1000bae0
cmp ebp, edi
je 0x1000bae0
push esi
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x178], edi
cmp dword [eax + 0x14], edi
mov ebx, 1
mov dword [esp + 0x18], ebx
je 0x1000bae0
push ebp
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [eax + 0x14], edi
lea ebx, [edi + 3]
mov byte [esp + 0x16], 0
jne 0x1000bae5
mov byte [esp + 0x16], 1
test bl, 2
je 0x1000bafb
and ebx, 0xfffffffd
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, 1
mov dword [esp + 0x178], 0xffffffff
je 0x1000bb15
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x16], 0
jne 0x1000bb73
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str.Usage
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x34]
push eax
call fcn.10009770
add esp, 0x20
test al, al
je 0x1000bb73
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push 0xf003f
push edi
push edi
push edi
push esi
mov esi, dword [esp + 0x38]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
push esi
je 0x1000bb77
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000bbbc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x6c]
push edx
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
push eax
push ebp
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov ebx, eax
call edi
test ebx, ebx
mov al, 1
je 0x1000bbbc
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.1000e1de
add esp, 0x168
ret
Function at 0x1000bdc0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1000fbec
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
xor eax, eax
cmp eax, str.Usage
mov dword [esp + 0x18], ecx
je 0x1000be2a
push str.Usage
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [eax + 0x14], 0
mov ecx, 1
je 0x1000be2a
xor bl, bl
jmp 0x1000be2c
mov bl, 1
test cl, 1
je 0x1000be3b
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x1000be46
xor al, al
jmp 0x1000bf41
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x1000be56
call edi
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x1000be60
call edi
push ebx
push esi
push ebp
push esi
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.1000cd60
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
xor edi, edi
push str.Usage
mov dword [esp + 0x38], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x34]
push edx
call fcn.10009770
add esp, 0x20
test al, al
je 0x1000be3f
push 0x3fe
lea eax, [esp + 0x62]
push edi
push eax
mov word [esp + 0x68], di
call sub.MSVCR80.dll_memset
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 0xc
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x70]
push edx
push edi
push ebp
mov dword [esp + 0x34], 0x400
call ebx
cmp eax, 0x103
je 0x1000bf3f
test eax, eax
jne 0x1000bf3f
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x46c], 0
call fcn.1000c8d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x468], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x70]
push eax
add edi, 1
push edi
push ebp
mov dword [esp + 0x34], 0x400
call ebx
test eax, eax
je 0x1000bee1
mov al, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.1000e1de
add esp, 0x458
ret
Function at 0x1000dbf0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
lea ecx, [esp + 8]
push ecx
lea ebx, [esi + 8]
push eax
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [ebx], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x1000dc66
lea edx, [edi + 1]
push edx
call fcn.1000e1d2
add esp, 4
test eax, eax
mov dword [esi + 4], eax
je 0x1000dc66
push eax
mov eax, dword [esi]
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000dc53
mov eax, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push ebx
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000dc66
mov ecx, dword [esi + 4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov dword [esi + 4], 0
add esp, 4
pop edi
mov eax, esi
pop ebx
add esp, 8
ret

Function at 0x1000e1de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001601c]
jne 0x1000e1e8
repz ret
jmp fcn.1000e714

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 0x40b000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x413b10
cmp edx, dword [eax]
je 0x40b022
add eax, 8
inc ecx
cmp eax, 0x413ba0
jl 0x40b013
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x413b10]
jne 0x40b150
mov eax, dword [0x414e20]
cmp eax, 1
je 0x40b12a
test eax, eax
jne 0x40b053
cmp dword [0x411934], 1
je 0x40b12a
cmp edx, 0xfc
je 0x40b150
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b08a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b160
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b0cd
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e9ac
push edi
call fcn.0040c290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b160
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b170
lea eax, [ebp - 0xa0]
push 0x40e98c
push eax
call fcn.0040b170
push dword [esi + 0x413b14]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b170
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c205
add esp, 0x2c
pop edi
jmp 0x40b150
lea eax, [ebp + 8]
lea esi, [esi + 0x413b14]
push 0
push eax
push dword [esi]
call fcn.00406a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
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 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021b4
push 0x4021b8
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret

Function at 0xa7540c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0xa75466
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0xa7542c
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret