joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a80
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x10003a80
sub esp, 0x21c
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
movzx ebp, byte [esp + 0x228]
push esi
mov esi, dword [esp + 0x234]
push edi
mov edi, dword [esp + 0x234]
push ebp
push 0x1004de1c
lea eax, [esp + 0x12c]
push str._s_d
push eax
mov byte [edi], 0xf
xor ebx, ebx
call fcn.10001348
push 1
lea ecx, [esp + 0x28]
push 0x10070430
push ecx
call fcn.10001479
add esp, 0x1c
cmp eax, 1
jne 0x10003b85
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x134]
push edx
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003b31
mov ebx, 1
cmp dword [esp + 0x1c], ebx
je 0x10003b35
push str.__ERROR__learned_entry_value_type_must_be_REG_SZ_
push 3
call fcn.10001433
add esp, 8
xor ebx, ebx
jmp 0x10003b85
cmp byte [esp + 0x20], 0
je 0x10003b85
lea ecx, [esp + 0x13]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [esi + 0xc]
push eax
lea ecx, [esi + 8]
push ecx
lea edx, [esi + 4]
push edx
push esi
push edi
lea eax, [esp + 0x3c]
push str._d__d__d__d__d__d__d
push eax
call fcn.100140ba
xor ecx, ecx
cmp byte [esp + 0x37], bl
push ebp
sete cl
push 0x1004de1c
push str._s_d
add esi, 0x18
push esi
mov dword [esi - 4], ecx
call fcn.100012a3
add esp, 0x34
mov edx, dword [esp + 0x14]
push edx
call fcn.1000113b
mov ecx, dword [esp + 0x22c]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100140fa
add esp, 0x21c
ret

Function at 0x10003c00
Capabilities:
Set registry value

Disassembly:
jmp 0x10003c00
sub esp, 0x10c
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x118]
push edi
push 1
lea eax, [esp + 0xc]
push 0x10070430
push eax
xor edi, edi
call fcn.10001479
add esp, 0xc
cmp eax, 1
jne 0x10003cb7
mov edx, dword [esi + 0x10]
xor ecx, ecx
cmp dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
sete cl
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi]
push ecx
movzx ecx, byte [esp + 0x128]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d__d__d__d__d
push edx
call fcn.10001348
lea eax, [esp + 0x30]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10003c77
mov ecx, dword [esp + 8]
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
push 1
push 0
add esi, 0x18
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10003cb2
push str.__ERROR__unable_to_change_learned_entry_
push 3
call fcn.10001433
add esp, 8
xor edi, edi
jmp 0x10003cb7
mov edi, 1
mov edx, dword [esp + 8]
push edx
call fcn.1000113b
mov ecx, dword [esp + 0x114]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100140fa
add esp, 0x10c
ret
Function at 0x10003e60
Capabilities:
Read .ini file

Disassembly:
jmp 0x10003e60
sub esp, 0x144
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x140], eax
test byte [0x100700a8], 4
je 0x10004059
cmp dword [0x100700b0], 0
je 0x10004059
mov eax, dword [0x10070088]
push ebx
xor ebx, ebx
cmp dword [eax + 0xc], ebx
jbe 0x10004058
push ebp
push esi
push edi
xor ebp, ebp
mov edi, dword [eax + 0x10]
mov eax, dword [edi + ebp + 4]
add edi, ebp
push eax
push 0x1004dfd8
lea ecx, [esp + 0x48]
push str._s_d
push ecx
call fcn.100012a3
add esp, 0x10
push 0x10070538
push 0x100
lea edx, [esp + 0x58]
push edx
push 0x1004d83e
lea eax, [esp + 0x50]
push eax
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x50], 0
je 0x10003ef4
test eax, eax
jne 0x10003f1a
mov ecx, ebx
mov edx, 0x100
shl edx, cl
push str.0_0_0_0_0_0_0_0_0_0_0_0
lea eax, [esp + 0x54]
push 0x100
or dword [0x1007007c], edx
push eax
call fcn.10013fad
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x80]
push str._d__d__d__d__d__d__d__d__d__d__d__d
push ecx
call fcn.100140ba
mov eax, dword [edi + 4]
movzx ecx, word [esp + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [0x10070088]
lea esi, [eax + edx*8]
mov word [esi + 0x30], cx
movzx edx, word [esp + 0x50]
mov word [esi + 0x32], dx
movzx eax, word [esp + 0x68]
mov word [esi + 0x34], ax
movzx ecx, word [esp + 0x58]
mov word [esi + 0x36], cx
movzx edx, word [esp + 0x74]
mov word [esi + 0x3a], dx
movzx eax, word [esp + 0x60]
mov word [esi + 0x38], ax
movzx ecx, word [esp + 0x48]
mov word [esi + 0x3c], cx
movzx edx, word [esp + 0x4c]
mov word [esi + 0x3e], dx
movzx eax, word [esp + 0x54]
mov word [esi + 0x40], ax
movzx ecx, word [esp + 0x5c]
mov word [esi + 0x42], cx
movzx edx, word [esp + 0x64]
mov word [esi + 0x46], dx
movzx eax, word [esp + 0x6c]
mov word [esi + 0x44], ax
movzx ecx, word [esi + 0x38]
movzx edx, word [esi + 0x3a]
movzx eax, word [esi + 0x36]
push ecx
movzx ecx, word [esi + 0x34]
push edx
movzx edx, word [esi + 0x32]
push eax
movzx eax, word [esi + 0x30]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
push ebx
push str.__________________Jack_d:_PID_d_TipCalc_d__d__d__d__d__d
push 9
call fcn.10001433
movzx edx, word [esi + 0x44]
movzx eax, word [esi + 0x46]
movzx ecx, word [esi + 0x42]
add esp, 0x60
push edx
push eax
push ecx
movzx edx, word [esi + 0x40]
movzx eax, word [esi + 0x3e]
movzx ecx, word [esi + 0x3c]
push edx
push eax
push ecx
push str._______________________________RingCalc_d__d__d__d__d__d
push 9
call fcn.10001433
mov eax, dword [0x10070088]
add ebx, 1
add esp, 0x20
add ebp, 0x64
cmp ebx, dword [eax + 0xc]
jb 0x10003ea4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.100140fa
add esp, 0x144
ret
Function at 0x10004100
Capabilities:
Read .ini file

Disassembly:
jmp 0x10004100
push 0xffffffffffffffff
push 0x10045f3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10061404]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor edi, edi
test byte [0x100700a8], 2
je 0x10004143
call fcn.1000120d
test eax, eax
mov dword [0x1006fdf4], 1
jne 0x10004149
mov dword [0x1006fdf4], edi
mov eax, dword [0x100700a8]
test al, 0x10
je 0x1000423c
test al, 4
je 0x1000423c
cmp dword [0x100700b0], 1
mov dword [esp + 0xc], 2
jne 0x1000418f
push 0x10070538
push 2
push str.JSense
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
mov dword [esp + 0xc], eax
jne 0x100041fb
push 0x18
call fcn.10014493
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x100041b5
push 0x10070220
mov ecx, eax
call fcn.1000123f
mov esi, eax
jmp 0x100041b7
xor esi, esi
lea eax, [esp + 0xc]
push eax
push str.JSense
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call fcn.100012ad
test eax, eax
jne 0x100041df
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x100041e3
mov eax, dword [esp + 0xc]
cmp esi, edi
je 0x100041fb
mov ecx, esi
call fcn.10001127
push esi
call fcn.10013fa8
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, 1
jne 0x10004219
or dword [0x100700a8], 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
cmp eax, edi
jne 0x10004291
and dword [0x100700a8], 0xfffffff9
mov dword [0x1006fdf4], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
and eax, 0xffffffef
push str.__________________hwcaps_presence_bit_cleared___not_supported_
push 9
mov dword [0x100700a8], eax
call fcn.10001433
and dword [0x100700a8], 0xfffffffd
push str.__________________hwcaps_measure_bit_cleared___not_supported_
push 9
call fcn.10001433
and dword [0x100700a8], 0xfffffffb
push str.__________________hwcaps_jsens_bit_cleared___not_supported_
push 9
call fcn.10001433
push str.__________________presence__measuring_flags_cleared___not_supported_
push 9
mov dword [0x1006fdf4], edi
mov dword [0x1006fdf0], edi
call fcn.10001433
add esp, 0x20
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10004310
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
jmp 0x10004310
sub esp, 0x138
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x134], eax
and dword [0x1007007c], 0xff000000
push ebx
xor ebx, ebx
test byte [0x100700a8], 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x100
je 0x100044ea
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x10070538
push 0x20
lea eax, [esp + 0x28]
push eax
push 0x1004d83e
push str.DoJS
push 0x100700d0
call esi
cmp byte [esp + 0x20], bl
je 0x1000439a
cmp eax, ebx
je 0x1000439a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push 0x1004d948
push edx
call fcn.100140ba
add esp, 0xc
and dword [esp + 0x10], 0xff
jmp 0x1000439e
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
or dword [0x1007007c], eax
lea ecx, [esp + 0x14]
push ecx
push str.SoftwareAnalog_DevicesSMWDMIFSettings
push 0x80000002
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100043cb
mov dword [esp + 0x14], ebx
jmp 0x10004423
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10004423
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.NoJS
push eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004423
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x44]
push 0x1004d948
push ecx
call fcn.100140ba
mov edx, dword [esp + 0x18]
push edx
push str.__________________Reading_NoJS_from_Registry:_0x_x
push 3
call fcn.10001433
add esp, 0x18
push 0x10070538
push 0x20
lea eax, [esp + 0x28]
push eax
push 0x1004d83e
push str.NoJS
push 0x100700d0
call esi
cmp byte [esp + 0x20], bl
jne 0x1000444a
cmp eax, ebx
je 0x10004472
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push 0x1004d948
push edx
call fcn.100140ba
mov eax, dword [esp + 0x18]
push eax
push str.__________________Reading_NoJS_from_Platform.cfg:_0x_x
push 3
call fcn.10001433
add esp, 0x18
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, eax
shl ecx, 0x18
or ecx, dword [0x1007007c]
not eax
and ecx, eax
mov dword [0x1007007c], ecx
xor esi, esi
push esi
push str.RawJ
lea edx, [esp + 0x28]
push str._s_d
push edx
call fcn.10001154
add esp, 0x10
push 0x10070538
push ebx
lea eax, [esp + 0x28]
push eax
push 0x100700d0
call edi
cmp eax, 1
jne 0x100044d1
mov edx, 0x100
mov ecx, esi
shl edx, cl
or dword [0x1007007c], edx
add esi, 1
cmp esi, 8
jb 0x10004493
mov eax, dword [esp + 0x14]
cmp eax, ebx
pop edi
pop esi
je 0x100044ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1007007c]
push eax
push str.__________________action_flags:_0x_04X
push 3
call fcn.10001433
mov ecx, dword [esp + 0x144]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.100140fa
add esp, 0x138
ret
Function at 0x100045a0
Capabilities:
Read .ini file

Disassembly:
jmp 0x100045a0
sub esp, 0x134
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
xor esi, esi
push str.LoadGroupCfgValues_Entering....
push 3
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.10001433
add esp, 8
cmp dword [0x100700b0], esi
je 0x100047bc
cmp dword [0x1006ff80], 1
jne 0x10004617
mov dword [0x100700a0], esi
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100140fa
add esp, 0x134
ret
push ebx
mov ebx, dword [0x10070088]
push ebp
mov ebp, dword [0x10070090]
push edi
xor edi, edi
mov dword [0x10070094], edi
mov edi, edi
mov edx, dword [ebx + 0xc]
xor eax, eax
test edx, edx
jbe 0x10004659
lea ecx, [ebp + 0x20]
lea esp, [esp]
cmp dword [ecx], esi
je 0x10004650
add eax, 1
add ecx, 0x64
cmp eax, edx
jb 0x10004640
jmp 0x10004659
add edi, 1
mov dword [0x10070094], edi
add esi, 1
cmp esi, 1
jbe 0x10004630
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.10014a1c
mov ebx, dword [0x10070094]
add esp, 4
xor ecx, ecx
test ebx, ebx
mov dword [0x100700a0], eax
jbe 0x100046b8
mov edx, dword [0x10070088]
mov esi, dword [edx + 0xc]
mov edi, dword [0x10070090]
test esi, esi
jbe 0x100046b1
lea eax, [edi + 0x20]
mov edx, esi
lea esp, [esp]
cmp dword [eax], ecx
jne 0x100046a9
add dword [esp + ecx*4 + 0x20], 1
add eax, 0x64
sub edx, 1
jne 0x100046a0
add ecx, 1
cmp ecx, ebx
jb 0x10004693
xor edi, edi
test ebx, ebx
jbe 0x100047aa
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x100046d0
push edi
push str.Group
lea eax, [esp + 0x38]
push str._s_d
push eax
call fcn.100012a3
add esp, 0x10
push 0x10070538
push 0x100
lea ecx, [esp + 0x48]
push ecx
push 0x1004d83e
lea edx, [esp + 0x40]
push edx
push 0x100700d0
call ebx
mov edx, dword [0x100700a0]
lea ecx, [edi + edi*2]
lea esi, [edx + ecx*8]
mov edx, dword [esp + edi*4 + 0x20]
xor ecx, ecx
test edi, edi
setne cl
test eax, eax
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [0x10070098]
mov dword [esi + 8], ecx
mov edx, dword [0x1007009c]
mov dword [esi + 0xc], edx
je 0x1000479b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push str._d___d___d___d
push ecx
call fcn.100140ba
add esp, 0x18
cmp dword [esp + 0x1c], 0
je 0x1000479b
mov edx, dword [esp + 0x18]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [0x10070098]
mov dword [esi + 8], edx
mov eax, dword [0x1007009c]
mov dword [esi + 0xc], eax
add edi, 1
cmp edi, dword [0x10070094]
jb 0x100046d0
push str.LoadGroupCfgValues_Exiting....
push 3
call fcn.10001433
add esp, 8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
call fcn.100140fa
add esp, 0x134
ret
Function at 0x10004860
Capabilities:
Set registry value

Disassembly:
jmp 0x10004860
sub esp, 0x110
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x11c]
push edi
push 1
lea eax, [esp + 0xc]
push 0x10070430
push eax
xor edi, edi
call fcn.10001479
add esp, 0xc
cmp eax, 1
jne 0x10004972
call fcn.100013d9
push eax
push 0x1004de1c
lea edi, [esi + 0x18]
push str._s_d
push edi
mov dword [esp + 0x1c], eax
call fcn.100012a3
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp dword [esi + 0x14], 1
sete cl
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
movzx eax, byte [esi]
push ecx
movzx ecx, byte [esp + 0x13c]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push str._d__d__d__d__d__d__d
push edx
call fcn.10001348
lea eax, [esp + 0x44]
add esp, 0x34
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10004900
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
push 1
push 0
push edi
push ecx
call esi
test eax, eax
je 0x1000493a
push str.__ERROR__unable_to_store_learned_entry_
push 3
call fcn.10001433
add esp, 8
xor edi, edi
jmp 0x10004972
mov eax, dword [esp + 8]
add dword [esp + 0xc], 1
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.LZCount
push eax
call esi
test eax, eax
je 0x1000496d
push str.__ERROR__unable_to_increment_entry_count_
push 3
call fcn.10001433
add esp, 8
xor edi, edi
jmp 0x10004972
mov edi, 1
mov ecx, dword [esp + 8]
push ecx
call fcn.1000113b
mov ecx, dword [esp + 0x118]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100140fa
add esp, 0x110
ret

Function at 0x10009140
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x10009140
sub esp, 0x218
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
push esi
mov esi, dword [esp + 0x224]
push edi
push 0x207
lea eax, [esp + 0x1d]
push 0
push eax
mov edi, 1
mov byte [esp + 0x24], 0
call fcn.10015170
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x24], 0x208
call fcn.100015c8
add esp, 0x14
cmp eax, edi
jne 0x100091e6
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100091be
xor edi, edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x100091ea
cmp dword [esp + 0x14], 1
jne 0x100091ea
lea ecx, [esp + 0x18]
push ecx
push 0x104
push ebx
call fcn.10013fad
jmp 0x100091f9
test eax, eax
jmp 0x100091cb
push esi
push str.GetModAppPathString:___ERROR__failed_reading__s_module_app_paths_
push 7
xor edi, edi
call fcn.10001433
mov ecx, dword [esp + 0x22c]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100140fa
add esp, 0x218
ret
Function at 0x1000a8c0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1000a8c0
sub esp, 0x210
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x20c], eax
mov edx, dword [esp + 0x214]
test edx, edx
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 0x220]
push esi
je 0x1000a90d
mov esi, dword [0x1006fda0]
test dword [esp + 0x21c], esi
je 0x1000aa02
cmp edx, dword [0x100700c4]
ja 0x1000aa02
push ecx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.100010af
add esp, 0xc
cmp dword [0x100700bc], 0
je 0x1000aa02
mov eax, dword [0x1007021c]
test eax, eax
je 0x1000aa02
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push 0x10070850
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000a9f5
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a980
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
test edi, edi
je 0x1000a9ed
cmp edi, 0x102
mov eax, str.timed_out
je 0x1000a9b8
mov eax, str.abandoned
push eax
lea eax, [esp + 0x14]
push str._s__ERROR__LOGMUTEX__s_before_being_signaled__r_n
push eax
call fcn.100014c4
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a9d2
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [0x1007021c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.100140fa
add esp, 0x210
ret
Function at 0x1000ab80
Capabilities:
Copy file

Disassembly:
jmp 0x1000ab80
sub esp, 0x10c
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x108], eax
cmp byte [0x10070748], 0
jne 0x1000abbc
mov dword [0x1006fda0], 0
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100140fa
add esp, 0x10c
ret
push esi
push str.SMax.log
push 0x10070748
push 0x100517bc
push 0x10070850
call fcn.10001348
push str..bak
push 0x10070850
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.10001348
add esp, 0x20
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x10070850
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1000ac25
call esi
push eax
push 0x10070850
push str.CreateLogging:__s_not_backed_up___d__
push 9
call fcn.10001433
add esp, 0x10
push 1
lea edx, [esp + 8]
push 0x10070220
push edx
call fcn.10001479
add esp, 0xc
cmp eax, 1
jne 0x1000ac6d
mov eax, dword [esp + 4]
push 0
push 0x100519f8
push eax
call fcn.10001221
mov ecx, dword [esp + 0x10]
push 0
push str.ModMask
push ecx
mov dword [0x100700c4], eax
call fcn.10001221
add esp, 0x18
mov dword [0x1006fda0], eax
mov edx, dword [esp + 4]
push edx
call fcn.1000113b
add esp, 4
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push 0x10070850
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x1000acd8
call esi
push eax
push str.__ERROR__unable_to_create_log_file___d__
push 3
call fcn.10001433
push 0x1004d83e
push 0x104
push 0x10070850
call fcn.10013fad
add esp, 0x18
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100140fa
add esp, 0x10c
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
mov dword [0x100700bc], 1
call fcn.100140fa
add esp, 0x10c
ret
Function at 0x100140fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10061404]
jne 0x10014104
repz ret
jmp fcn.10017ab8

Function at 0x1002a7d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001b9b9
xor ebx, ebx
cmp dword [0x100740dc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1002a8a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1002a810
xor eax, eax
jmp 0x1002a969
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1002a809
push eax
call fcn.1001b956
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100740dc], eax
call esi
push eax
call fcn.1001b956
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100740e0], eax
call esi
push eax
call fcn.1001b956
mov dword [0x100740e4], eax
lea eax, [ebp - 8]
push eax
call fcn.1001d5ce
test eax, eax
pop ecx
pop ecx
je 0x1002a873
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10015cc2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1002a8a5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001b956
cmp eax, ebx
pop ecx
mov dword [0x100740ec], eax
je 0x1002a8a5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001b956
pop ecx
mov dword [0x100740e8], eax
mov eax, dword [0x100740e8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1002a91e
cmp dword [0x100740ec], esi
je 0x1002a91e
push eax
call fcn.1001b9c2
pop ecx
call eax
cmp eax, ebx
je 0x1002a8eb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100740ec]
call fcn.1001b9c2
pop ecx
call eax
test eax, eax
je 0x1002a8eb
test byte [ebp - 0x18], 1
jne 0x1002a91e
lea eax, [ebp - 0xc]
push eax
call fcn.1001d67d
test eax, eax
pop ecx
je 0x1002a906
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10015cc2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1002a915
or dword [ebp + 0x10], 0x200000
jmp 0x1002a94f
or dword [ebp + 0x10], 0x40000
jmp 0x1002a94f
mov eax, dword [0x100740e0]
cmp eax, esi
je 0x1002a94f
push eax
call fcn.1001b9c2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1002a94f
mov eax, dword [0x100740e4]
cmp eax, esi
je 0x1002a94f
push dword [ebp - 4]
push eax
call fcn.1001b9c2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100740dc]
call fcn.1001b9c2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret