joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100011cf
pop dword [ebp - 0x20]
mov eax, 0x100011cf
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6b39621c
sub dword [ebp - 0x30], 0x1ce71cd1
mov dword [ebp - 0x2c], 0x1fbf3bf6
add dword [ebp - 0x2c], 0x1274104f
mov dword [ebp - 0x28], 0x16fb82f9
sub dword [ebp - 0x28], 0xcaaf3ecb
mov dword [ebp - 0x24], 0x837a961
sub dword [ebp - 0x24], 0x837a961
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xe9aa6cda
add dword [ebp - 0x30], 0x8ac7fc7c
mov dword [ebp - 0x2c], 0xc354bb00
add dword [ebp - 0x2c], 0x7e17a675
mov dword [ebp - 0x28], 0x34257241
sub dword [ebp - 0x28], 0xd0b605d5
mov dword [ebp - 0x24], 0xe85efd64
sub dword [ebp - 0x24], 0xe85efd64
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x9d86adf1
add eax, 0x7279d277
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa3a
push 0
call eax
mov ecx, 0xc8c516d8
sub ecx, 0xc8c4c18a
mov edi, eax
mov esi, 0x1000dc00
add esi, dword [ebp - 0x20]
mov ebx, 0xb8201436
sub dword [ebp - 0xc], edx
mov edx, dword [esi]
xor edx, ebx
sub dword [ebp - 0x1c], 0x586b1968
mov dword [edi], edx
add edi, 4
add esi, 0xe72fae55
sub esi, 0xe72fae51
loop 0x100012db
add eax, 0x1480b
mov ebx, eax
add eax, 5
mov ecx, 0xf8735647
add ecx, 0x178ca9b9
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10005e4e
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x10007a20
call fcn.100078a2
cmp byte [0x1000b945], 0
je 0x10005e6d
mov eax, dword [0x1000b948]
jmp 0x10005f43
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
mov dword [ebp - 4], esi
push 0x80000001
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005ebd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b948
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005ebd
cmp dword [ebp - 0x14], 4
je 0x10005f16
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x10005ece
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005f1e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b948
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005f1e
cmp dword [ebp - 0x14], 4
jne 0x10005f1e
mov esi, dword [0x1000b948]
jmp 0x10005f24
mov dword [0x1000b948], esi
mov byte [0x1000b945], 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], 0
je 0x10005f41
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.10007880
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 0x6d4f1bdd
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push ebp
push edi
mov edi, dword [esp + 0x2c]
xor ebp, ebp
cmp edi, ebp
jne 0x6d4f1bf6
mov eax, 0x80004003
jmp 0x6d4f1cad
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x102c]
cmp eax, ebp
jne 0x6d4f1ca1
mov dword [edi], ebp
call fcn.6d4f7908
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp dword [esi + 0xc], ebp
je 0x6d4f1ca7
cmp eax, ebp
jne 0x6d4f1c7c
cmp dword [esi + 0x1040], 3
jge 0x6d4f1c7c
push ebx
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
jmp 0x6d4f1c6d
push ebp
push dword [esi + 0x103c]
call ebx
test eax, eax
je 0x6d4f1c7b
push 1
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x6d4f1c6d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push dword [esi + 0x1038]
call ebx
test eax, eax
jne 0x6d4f1c36
pop ebx
cmp dword [esi + 0x1040], 5
jl 0x6d4f1c8f
mov dword [esi + 0x102c], ebp
mov dword [edi], ebp
jmp 0x6d4f1ca3
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
je 0x6d4f1ca7
call fcn.6d4f727b
mov dword [esi + 0x102c], eax
mov dword [edi], eax
xor eax, eax
jmp 0x6d4f1cac
mov eax, 0x80004005
pop esi
pop edi
pop ebp
add esp, 0x1c
ret 8

Function at 0x6d4f5090
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x6d5069cc]
push esi
xor esi, esi
cmp eax, esi
jne 0x6d4f50d0
push 0x6d5069cc
push esi
push esi
push 0x6d4f5025
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateThread]
cmp dword [0x6d5069cc], esi
je 0x6d4f50cb
push esi
push esi
push esi
push dword [0x6d5069cc]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
je 0x6d4f50b8
mov eax, dword [0x6d5069cc]
pop esi
ret
Function at 0x6d4f520e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov byte [eax], bl
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov byte [edi], bl
mov byte [eax], bl
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x6d4f52be
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push 0x6d500144
push str.UniversalBrowserRead
push esi
call dword [eax + 0xc]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x18]
push dword [ebp + 0x10]
mov byte [edi], al
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push 0x6d500160
push str.UniversalJavaPermission
push esi
call dword [eax + 0xc]
mov al, byte [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [ecx], al
cmp byte [edi], bl
je 0x6d4f52a0
push str.Origin_is
call esi
push dword [ebp + 0x10]
call esi
push 0x6d500188
call esi
cmp byte [edi], bl
je 0x6d4f52a0
push str.UniversalBrowserRead_is_TRUE_n
jmp 0x6d4f52a5
push str.UniversalBrowserRead_is_FALSE_n
call esi
mov eax, dword [ebp + 0x1c]
cmp byte [eax], bl
je 0x6d4f52b5
push str.UniversalJavaPermission_is_TRUE_n
jmp 0x6d4f52ba
push str.UniversalJavaPermission_is_FALSE_n
call esi
jmp 0x6d4f52c4
call dword [sym.imp.kernel32.dll_DebugBreak]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x18
Function at 0x6d4fa28b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d4fa2d9
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4fa2ea
push 0xd
pop eax
jmp 0x6d4fa314
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d4fa2ed
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d4fa7b2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d506878]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d4fe202
mov ebx, eax
cmp ebx, esi
je 0x6d4fa825
lea ecx, [ebp - 0x74]
call fcn.6d4f1774
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d4fd7d5
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d4fa83d
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d4fa7b2
cmp eax, esi
jne 0x6d4fa86f
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d4fa82d
lea ecx, [ebp - 0x74]
call fcn.6d4f1774
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d4f9c12
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4f1774
mov eax, esi
jmp 0x6d4fa80b
Function at 0x6d4fd7d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d506878]
jne 0x6d4fd7df
repz ret
jmp fcn.6d4fde74

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 0x10005dfe
Capabilities:
Accept command line arguments

Disassembly:
push 0xd8
mov eax, 0x1013bfce
call fcn.100fb169
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x74]
call fcn.1005d1ee
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
call fcn.1005d1ee
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.SoftwareMicrosoftOfficeClickToRunDelayLaunchApps
lea ecx, [ebp - 0x5c]
call fcn.1005d1ee
mov byte [ebp - 4], 3
push ecx
push ecx
push 1
push ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 0x101d8470
call fcn.1005d1ee
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
test esi, esi
je 0x10005ea8
call dword [sym.imp.kernel32.dll_GetTickCount64]
push edx
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000b781
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000c1e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
push str._waittolaunch
lea ecx, [ebp - 0x44]
call fcn.1005d1ee
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 7
push dword [0x101ce048]
lea ecx, [ebp - 0x5c]
call fcn.1005d1ee
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.1000b6a4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [eax]
call fcn.1005d1ee
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.10003e67
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.10004aa2
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x10005f53
call fcn.1000b67c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10004aa2
lea ecx, [ebp - 0x2c]
call fcn.1005d1ee
test al, al
je 0x10005f9f
lea ecx, [ebp - 0xa4]
call fcn.100e6c34
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100e6eb4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.100e6cb1
jmp 0x10005fa8
lea eax, [ebp - 0x2c]
push eax
call fcn.1005d1ee
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10004aa2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10004aa2
mov byte [ebp - 4], bl
jmp 0x10006010
lea ecx, [ebp - 0xd0]
call fcn.1005d1ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10004aa2
call fcn.100fb0ba
ret
Function at 0x1000c1e3
Capabilities:
Set registry value

Disassembly:
push 0x3cc
mov eax, 0x1013d214
call fcn.100fb0fb
mov dword [ebp - 0x3d0], ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 8]
mov edx, esi
and dword [ebp - 0x3d4], 0
call fcn.1005d1ee
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x3d4], ebx
call fcn.1005d1ee
mov dword [ebp - 4], 4
mov eax, ebx
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x40]
and eax, 0xfffffffe
mov dword [ebp - 0x3d4], eax
call fcn.10004aa2
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.1000b94c
mov ecx, dword [ebp - 0x3d0]
mov bl, al
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x3d8], eax
test eax, eax
je 0x1000c335
cmp dword [edi + 0x10], 0x3fff
jbe 0x1000c2a3
test bl, bl
mov edx, 0x1015e490
mov eax, str.EXPAND_SZ
cmovne eax, edx
mov dword [ebp - 0x3d0], eax
lea eax, [ecx + 8]
push eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.1005d1ee
jmp 0x1000c35e
mov eax, dword [esi + 0x10]
lea edx, [eax*2 + 2]
test eax, eax
jne 0x1000c2b8
mov eax, 0x1015e478
jmp 0x1000c2c2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000c2c2
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1000c2cc
mov ecx, dword [edi]
push edx
push eax
movzx eax, bl
xor eax, 1
inc eax
push eax
push 0
push ecx
push dword [ebp - 0x3d8]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x1000c321
test bl, bl
mov edx, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, edx
mov dword [ebp - 0x3d8], ecx
mov ecx, dword [ebp - 0x3d0]
add ecx, 8
push ecx
push esi
push edi
lea ecx, [ebp - 0x3d8]
push ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.1005d1ee
jmp 0x1000c35e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004aa2
call fcn.100fb0ad
ret 0xc
test bl, bl
mov eax, 0x1015e490
mov ecx, str.EXPAND_SZ
cmovne ecx, eax
lea eax, [ebp - 0x3d0]
push eax
push ecx
mov dword [ebp - 0x3d0], ecx
push ecx
lea ecx, [ebp - 0x3cc]
call fcn.1005d1ee
push 0x101c8f84
lea eax, [ebp - 0x3cc]
push eax
call fcn.1005d1ee
int3
Function at 0x1003b52a
Capabilities:
Get geographical location

Disassembly:
push 0x74
mov eax, 0x10142ba1
call fcn.100fb0fb
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x78], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x80], edi
and dword [ebp - 0x7c], 0
push str.CountryCode
call fcn.1005d1ee
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.1005d1ee
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
jne 0x1003b59f
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea eax, [ebp - 0x5c]
push 0x19
jmp 0x1003b5ae
push 0x1015d1bc
lea ecx, [ebp - 0x74]
call fcn.1005d1ee
push 0xa
pop ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1005d1ee
mov dword [ebp - 4], 5
test bl, 2
je 0x1003b5cf
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.1005d1ee
mov byte [ebp - 4], 6
test bl, 1
je 0x1003b5e3
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffe
call fcn.1005d1ee
mov ecx, edi
call fcn.100049bb
or ebx, 4
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x7c], ebx
je 0x1003b601
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1005d1ee
lea ecx, [ebp - 0x2c]
call fcn.1005d1ee
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1003b622
mov dword [ebp - 4], 7
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov eax, edi
call fcn.100fb0ad
ret
Function at 0x10045cb8
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143963
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x101cd15c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x10045e08
push str.Microsoft.Office.Experimentation.Configs.EcsPersistentStore
lea ecx, [ebp - 0xb8]
call fcn.1005d1ee
and dword [ebp - 4], 0
mov ecx, dword [0x101d4fc4]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.10048ef0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.1005d1ee
push 0x1015d1bc
lea ecx, [ebp - 0x34]
call fcn.1005d1ee
push str.CountryCode
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.1005d1ee
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.1005d1ee
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x88]
call fcn.1005d1ee
lea eax, [ebp - 0xc0]
mov byte [ebp - 0x70], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.1005d1ee
lea ecx, [ebp - 0x4c]
call fcn.1005d1ee
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.1005d1ee
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10030b54
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1000b94c
test al, al
jne 0x10045ddf
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.10026749
lea ecx, [ebp - 0x64]
call fcn.1005d1ee
lea ecx, [ebp - 0xa0]
call fcn.1005d1ee
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x10045e08
call fcn.1000b67c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100fa279
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10051a45
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10051b9c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10051b9c
cmp eax, 0x29
jne 0x10051a82
cmp dword [esi + 0x10], 0
jne 0x10051b9c
cmp eax, eax
jne 0x10051a82
test dword [esi + 0x50], edx
je 0x10051ba2
cmp eax, 0x2e
jne 0x10051a9d
push 5
lea ecx, [esi + 0x24]
call fcn.1005d1ee
mov ecx, esi
call fcn.10051a1c
jmp 0x10051b86
cmp eax, 0x5c
jne 0x10051af2
mov ecx, esi
call fcn.10051a1c
test byte [esi + 0x50], 0x80
je 0x10051ae6
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10051ace
push 4
lea ecx, [esi + 0x24]
call fcn.1005d1ee
mov ecx, esi
call fcn.10051a1c
jmp 0x10051b8d
cmp eax, 0x42
jne 0x10051ae6
push 4
lea ecx, [esi + 0x24]
call fcn.1005d1ee
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10051ac2
mov ecx, esi
call fcn.1005d1ee
jmp 0x10051b86
cmp eax, 0x5b
jne 0x10051b12
mov ecx, esi
call fcn.10051a1c
mov ecx, esi
call fcn.100525d0
cmp dword [esi + 0x4c], 0x5d
je 0x10051a91
push 4
jmp 0x10051ba4
cmp eax, 0x28
jne 0x10051b2f
mov ecx, esi
call fcn.10051a1c
mov ecx, esi
call fcn.10052709
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10051ba2
jmp 0x10051b7b
cmp eax, 0x5e
jne 0x10051b38
push 2
jmp 0x10051aba
cmp eax, 0x24
jne 0x10051b44
push 3
jmp 0x10051aba
cmp eax, 0x2a
je 0x10051b98
cmp eax, 0x2b
je 0x10051b98
cmp eax, 0x3f
je 0x10051b98
cmp eax, 0x7b
je 0x10051b98
cmp eax, 0x7d
jne 0x10051b62
test dword [esi + 0x50], edx
je 0x10051b94
cmp eax, 0x5d
jne 0x10051b6c
test dword [esi + 0x50], edx
je 0x10051b0b
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1005d1ee
mov bl, 1
mov ecx, esi
call fcn.10051a1c
test bl, bl
je 0x10051b8d
mov ecx, esi
call fcn.1005d1ee
mov cl, 1
jmp 0x10051a4c
push 6
jmp 0x10051ba4
push 0xa
jmp 0x10051ba4
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1005d1ee
int3

Function at 0x1005d1ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1005d1fd
pop dword [ebp - 0x3c]
mov eax, 0x2dca5bd8
add eax, 0xe23b7625
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x995f5
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x51a5
mov ebx, eax
mov esi, 0x101f1400
add esi, dword [ebp - 0x3c]
mov edi, 0xe4ad684e
mov edx, dword [esi]
xor edx, edi
add dword [ebp - 0x38], 0x5e93228b
mov dword [ebx], edx
xor dword [ebp - 0x14], 0x703a1fd8
add ebx, 0xc83fe867
add ebx, 0x37c0179d
add esi, 0xc2d0855c
add esi, 0x3d2f7aa8
loop 0x1005d245
add eax, 0x13967
mov ebx, eax
add eax, 0xa613abb8
add eax, 0x59ec544d
mov ecx, 0x49565c9f
sub ecx, 0x39565c9f
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x1005eb7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005ebbd
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x1005ebbd
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1005ebbd
cmp word [eax + 2], 0
je 0x1005ebbd
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x1005ebbd
add eax, 0x30
jmp 0x1005ebc2
mov eax, 0x1016e450
pop edi
pop esi
ret
Function at 0x100cc523
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x101d6e80], 0x20
push esi
push edi
mov esi, ecx
je 0x100cc558
push dword [ebx + 0xc]
mov edx, 0x1017e6e8
push dword [ebx + 8]
call fcn.1005d1ee
mov eax, dword [0x101cfc78]
mov ecx, 0x101cfc78
push 0x1c135e
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x100cc5a8
cmp ecx, edi
je 0x100cc5d8
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x100cc5a8
cmp ecx, dword [ebp - 0x10]
jne 0x100cc5a8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc