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

Disassembly:
push 0x14
mov eax, 0x1002ddaf
call fcn.1002b0d2
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002275c
cmp dword [ebp - 0x18], 1
jne 0x1002275c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100280ba
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x1002275c
push dword [ebp - 0x14]
push ebx
push esi
call fcn.100280ba
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022751
cmp dword [ebp - 0x18], 1
jne 0x10022751
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100280ba
mov dword [edi], eax
pop ecx
test eax, eax
je 0x10022751
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.100280ba
lea eax, [ebp - 0x20]
push eax
push 0x100333c8
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x10022735
push ebx
call fcn.100280ba
pop ecx
test al, al
je 0x10022735
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x10022751
push dword [edi]
call fcn.1002b601
and dword [edi], 0
pop ecx
jmp 0x10022751
test esi, esi
je 0x1002275c
push esi
call fcn.1002b601
pop ecx
call fcn.1002b030
ret

Function at 0x10022f02
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x10033124
xor esi, esi
call fcn.100280ba
pop ecx
test eax, eax
jne 0x10022f23
push 0x1003313c
call fcn.100280ba
pop ecx
test eax, eax
je 0x10022f26
xor esi, esi
inc esi
cmp byte [0x1003cdfb], 0
jne 0x10022f38
cmp byte [0x1003cdfa], 0
je 0x10022f6e
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x1003d640
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10022f5d
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10022f6d
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x100252bb
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x10025339
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x1003cdfb], 0
jne 0x100252fd
cmp byte [0x1003cdfa], 0
je 0x10025334
movzx eax, bl
mov esi, 0x1003e1a8
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10025324
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10025334
push esi
call fcn.10005eb0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x1003cdfb], 0
jne 0x1002534b
cmp byte [0x1003cdfa], 0
je 0x1002537d
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x1003e1a8
push esi
call fcn.100280ba
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1002536d
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1002537d
push esi
call fcn.10005eb0
pop ecx
mov al, 1
pop esi
ret
Function at 0x10028be1
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x10028bfe
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x1003cdfb], 0
jne 0x10028c14
cmp byte [0x1003cdfa], 0
je 0x10028d53
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x1003e5f8
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c3a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c53
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c5c
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push 4
push str.sizeof_Uns32____d
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028c7c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028c95
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028c9e
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028cbe
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028cd7
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028ce0
cmp byte [0x1003cdfa], 0
je 0x10028d00
push 4
push str.sizeof_Handle32____d
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d00
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d19
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10028d22
cmp byte [0x1003cdfa], 0
je 0x10028d42
push 4
push str.sizeof_void____d
push edi
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028d42
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028d52
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x10028dec
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x1002e03a
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, 0x1003e5f8
mov edi, dword [ebp + 8]
jne 0x10028e17
mov al, byte [0x1003cdfa]
test al, al
jne 0x10028e17
lea esi, [edi + 4]
jmp 0x10028e2e
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.100280ba
mov al, byte [0x1003cdfa]
add esp, 0xc
test al, al
je 0x10028e39
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028e49
push ebx
call fcn.10005eb0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100280ba
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10028e7c
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.100031be
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.1002b045
ret
Function at 0x10028e92
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x1002e067
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x10028ebf
cmp byte [0x1003cdfa], 0
je 0x10028f0e
call fcn.100280ba
test al, al
mov edx, 0x1002fb8c
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x1003e5f8
call fcn.100280ba
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10028efa
push 0x1003e5f8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10028f0e
push 0x1003e5f8
call fcn.10005eb0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100280ba
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028d9
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100031be
test ebx, ebx
jne 0x10028f8c
cmp byte [0x1003cdfb], bl
jne 0x10028f58
cmp byte [0x1003cdfa], bl
je 0x10029000
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x1003e5f8
push ebx
call fcn.100280ba
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x10028f7a
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10029000
push ebx
call fcn.10005eb0
pop ecx
jmp 0x10029000
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x10028fbb
cmp byte [0x1003cdfb], al
jne 0x10028fb4
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x10028f5d
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x10028ff0
cmp byte [0x1003cdfb], al
jne 0x10028fe6
cmp byte [0x1003cdfa], al
je 0x10029000
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x10028f5d
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.1002b045
ret
Function at 0x100472e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100472f4
pop dword [ebp - 0x10]
mov eax, 0x100472f4
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xfcb1bad7
sub dword [ebp - 0x20], 0xae5f758c
mov dword [ebp - 0x1c], 0x524439a6
sub dword [ebp - 0x1c], 0x2010ed61
mov dword [ebp - 0x18], 0x31727e8b
add dword [ebp - 0x18], 0x1ad9c5a3
mov dword [ebp - 0x14], 0x298ee763
sub dword [ebp - 0x14], 0x298ee763
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x1a1cdd77
sub dword [ebp - 0x20], 0xa5aa7421
mov dword [ebp - 0x1c], 0xe3ea0f20
sub dword [ebp - 0x1c], 0xa27dadab
mov dword [ebp - 0x18], 0x24de2c19
add dword [ebp - 0x18], 0x3e914053
mov dword [ebp - 0x14], 0xdaec5cd1
add dword [ebp - 0x14], 0x2513a32f
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x4f641
push 0
call eax
mov ecx, 0x2e3d
mov ebx, eax
mov edx, 0x1008bc00
add edx, dword [ebp - 0x10]
mov edi, 0x7d08ef7b
sub edi, 0x40f0936d
sub dword [ebp - 8], 0x4081d352
mov esi, dword [edx]
xor dword [ebp - 0xc], esi
sub esi, edi
mov dword [ebp - 8], 0xc382f8a3
mov dword [ebx], esi
sub dword [ebp - 4], 0xc2f5621a
add ebx, 0x630d0580
sub ebx, 0x630d057c
add edx, 0x5ecd8566
sub edx, 0x5ecd8562
loop 0x100473fb
add eax, 0xabc7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10008ed0
Capabilities:
Parse credit card information

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 8]
mov eax, dword [eax]
shl ecx, 4
movzx edx, word [eax + ecx + 0xa]
add eax, ecx
cmp edx, 5
push ebx
push esi
mov esi, dword [eax + 0x1c]
push edi
mov dword [esp + 0xc], ecx
jle 0x10008f60
mov edi, dword [esi]
mov ecx, str.www.
cmp edi, dword [ecx]
je 0x10008f3a
cmp edx, 0xa
jle 0x10008f60
mov edi, dword [edx + esi - 4]
mov ecx, str..edu
cmp edi, dword [ecx]
je 0x10008f3a
mov ecx, str..com
cmp edi, dword [ecx]
je 0x10008f3a
mov ecx, str..org
cmp edi, dword [ecx]
je 0x10008f3a
lea esi, [edx + esi - 3]
mov ecx, 3
mov edi, 0x100a6598
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10008f60
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10008f48
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10008f56
mov dword [eax], 1
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov ebx, dword [eax + 0x24]
mov ecx, 5
mov edi, str.http:
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
push ebp
je 0x10008f8c
mov ecx, 5
mov edi, str.https:
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000906d
mov al, byte [ebx]
xor ebp, ebp
cmp al, 0x3a
je 0x10008f9d
mov al, byte [ebx + ebp + 1]
inc ebp
cmp al, 0x3a
jne 0x10008f94
inc ebp
je 0x1000906d
mov al, byte [ebx + ebp]
test al, al
lea esi, [ebx + ebp]
mov edi, ebp
je 0x10008ff9
cmp edi, 0xe0
jge 0x10008ff9
movzx eax, byte [esi]
push eax
call fcn.1009d650
add esp, 4
test eax, eax
jne 0x10008fee
mov al, byte [esi]
cmp al, 0x2d
je 0x10008fee
cmp al, 0x2e
je 0x10008fee
cmp al, 0x5f
je 0x10008fee
cmp al, 0x3f
je 0x10008fee
cmp al, 0x26
je 0x10008fee
cmp al, 0x3d
je 0x10008fee
cmp al, 0x25
je 0x10008fee
cmp al, 0x2f
je 0x10008fee
cmp al, 0x5c
jne 0x10008ff9
inc edi
mov al, byte [edi + ebx]
test al, al
lea esi, [edi + ebx]
jne 0x10008fb0
cmp byte [edi + ebx - 1], 0x2e
jne 0x10009001
dec edi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp ebp, 2
sete cl
push 0
lea edx, [edi + ecx*2]
push edx
push esi
push eax
call fcn.10002660
add esp, 0x10
test eax, eax
jle 0x1000906d
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10009033
mov dword [ecx], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1000903d
mov dword [ecx], eax
lea ecx, [eax - 1]
mov eax, dword [esi]
add eax, dword [esp + 0x10]
test ecx, ecx
je 0x10009059
mov edx, 0xfffffffd
nop
and dword [eax + 0x2c], edx
add eax, 0x30
dec ecx
jne 0x10009050
mov ecx, dword [eax + 0x2c]
pop ebp
pop edi
or ecx, 2
pop esi
mov dword [eax + 0x2c], ecx
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1003c8d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x44
mov eax, dword [0x100b4368]
push esi
push 0x20
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
push 0xe
push 0x400
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
fld dword [esp + 0x54]
fmul dword [0x100a994c]
mov esi, dword [esp + 0x4c]
push 0xffffffffffffffff
push esi
call fcn.1003ee90
push eax
call fcn.10083930
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c915
sub eax, edx
cmp eax, 2
jge 0x1003c959
push 0x100a9948
lea ecx, [esp + 8]
push 0xffffffffffffffff
push ecx
call fcn.100839e0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push 0xffffffffffffffff
push eax
call fcn.10083990
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push esi
call fcn.10084540
add esp, 0x28
jmp 0x1003c96b
lea edx, [esp + 0x24]
push edx
push 0
dec eax
push eax
push esi
call fcn.10084540
add esp, 0x10
mov eax, esi
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c971
mov ecx, dword [esp + 0x40]
sub eax, edx
call fcn.1009d15f
add esp, 0x44
ret

Function at 0x1003ee90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1003ee9f
pop dword [ebp - 0x40]
mov eax, 0x1003ee9f
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3c2cd
push 0
mov eax, 0x550f8974
add eax, 0xbafad7a8
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x1bbb6fba
add ecx, 0xe444dfee
xor esi, esi
add esi, eax
mov edi, 0xaab91220
add edi, 0x65551de0
add edi, dword [ebp - 0x40]
mov ebx, 0x390ab81c
xor dword [ebp - 0x1c], 0xc24431d1
mov edx, dword [edi]
xor dword [ebp - 0x3c], esi
sub edx, ebx
mov dword [ebp - 0x14], 0x7227af2c
mov dword [esi], edx
xor dword [ebp - 0x3c], 0xdd552265
add esi, 0x84ef1c46
add esi, 0x7b10e3be
add edi, 0x77450c63
sub edi, 0x77450c5f
loop 0x1003eef5
add eax, 0x8161347a
add eax, 0x7e9ffcf9
mov ebx, eax
add eax, 0x8feae92f
add eax, 0x701516d6
mov ecx, 0xd969b971
add ecx, 0x3696468f
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x10040780
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100407c9
xor ecx, ecx
test esi, esi
mov byte [esp + 7], 0x11
jle 0x100407c9
mov edx, dword [esp + 0xc]
lea esp, [esp]
mov al, byte [ecx + edx]
mov byte [esp + 0x10], al
mov ah, byte [esp + 7]
mov al, byte [esp + 0x10]
xor al, ah
push ax
pop ax
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
mov byte [esp + 7], al
jl 0x100407a0
pop esi
pop ecx
ret
Function at 0x10083cd0
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x100b4368]
push esi
mov esi, dword [esp + 0x110]
test esi, esi
mov dword [esp + 0x108], eax
je 0x10083d7f
cmp byte [esi], 0
je 0x10083d7f
mov al, byte [esi + 1]
cmp al, 0x3a
je 0x10083d50
cmp al, 0x5c
je 0x10083d50
push 0x103
push 0x100ba620
lea eax, [esp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.10083a50
push 0x103
push esi
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call fcn.10083a20
add esp, 0x20
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
mov ecx, dword [esp + 0x104]
call fcn.1009d15f
add esp, 0x108
ret
push esi
lea edx, [esp + 8]
push 0xffffffffffffffff
push edx
call fcn.100839e0
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
mov ecx, dword [esp + 0x104]
call fcn.1009d15f
add esp, 0x108
ret
mov ecx, dword [esp + 0x108]
xor eax, eax
pop esi
call fcn.1009d15f
add esp, 0x108
ret

Function at 0x10083dc0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
mov ecx, dword [esp]
neg eax
sbb eax, eax
and eax, ecx
pop ecx
ret

Function at 0x10083df0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret

Function at 0x10084040
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x10084062
cmp byte [edi], 0
je 0x10084062
push edi
call fcn.10083a80
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x10084085
push edi
jmp 0x1008407b
push str.c:_trace.txt
call fcn.10083a80
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x10084085
push str.c:_trace.txt
call fcn.10083c00
add esp, 4
mov esi, eax
push 2
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
jle 0x100840b0
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push edx
push esi
call edi
push 0
lea eax, [esp + 0x10]
push eax
push 2
push 0x100a71c4
push esi
call edi
mov ecx, dword [0x100b89e4]
dec ecx
push esi
mov dword [0x100b89e4], ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
ret
Function at 0x10084c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
movzx ecx, word [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push edi
push eax
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10084d08
push esi
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
push edi
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edx, dword [0x100ba728]
mov ecx, dword [0x100b89e8]
mov ebx, eax
lea eax, [ebx + 1]
add edx, eax
push eax
inc ecx
push 8
mov dword [0x100ba728], edx
mov dword [0x100b89e8], ecx
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
pop esi
je 0x10084d18
pop edi
mov dword [ecx], ebx
pop ebx
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10084d16
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop ebx
ret
Function at 0x100a00e2
Capabilities:
Terminate process

Disassembly:
push 8
push 0x100ab450
call fcn.1009e76c
push 8
call fcn.1003ee90
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x100b9844], esi
jne 0x100a0116
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x100b9840], esi
mov al, byte [ebp + 0x10]
mov byte [0x100b983c], al
cmp dword [ebp + 0xc], edi
jne 0x100a0160
cmp dword [0x100bc288], edi
je 0x100a0150
mov eax, dword [0x100bc284]
sub eax, 4
mov dword [0x100bc284], eax
cmp eax, dword [0x100bc288]
jb 0x100a0150
mov eax, dword [eax]
cmp eax, edi
je 0x100a0131
call eax
jmp 0x100a0131
push 0x100ad028
mov eax, 0x100ad020
call fcn.100a0060
pop ecx
push 0x100ad030
mov eax, 0x100ad02c
call fcn.100a0060
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x100a0191
cmp dword [ebp + 0x10], edi
jne 0x100a019f
mov dword [0x100b9844], esi
push dword [ebp + 8]
call fcn.100a001e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x100a019e
push 8
call fcn.1003ee90
pop ecx
ret
call fcn.1009e7a7
ret

Function at 0x100a0bb2
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100b4368]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100b49f0]
je 0x100a0be7
inc eax
cmp eax, 0x13
jb 0x100a0bd8
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100b49f0]
jne 0x100a0d0d
mov eax, dword [0x100b9784]
cmp eax, 1
je 0x100a0ce5
cmp eax, edx
jne 0x100a0c17
cmp dword [0x100b9788], 1
je 0x100a0ce5
cmp ecx, 0xfc
je 0x100a0d0d
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100a0c4d
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.100a0e60
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.100a1090
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100a0c81
mov eax, edi
push eax
call fcn.100a1090
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x100a73f8
push edi
call fcn.100a0f60
add esp, 0x10
push edi
call fcn.100a1090
push dword [esi + 0x100b49f4]
mov ebx, eax
call fcn.100a1090
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.1009daf0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.100a0e60
push edi
push ebx
call fcn.100a0e70
push 0x100aafc0
push ebx
call fcn.100a0e70
push dword [esi + 0x100b49f4]
push ebx
call fcn.100a0e70
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1003ee90
add esp, 0x2c
jmp 0x100a0d0d
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x100b49f4]
push dword [esi]
call fcn.100a1090
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.1009d15f
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret