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

Disassembly:
push 0x224
mov eax, 0x1009f374
call fcn.1003da4b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov esi, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 0x208
test eax, eax
je 0x100990e3
push eax
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor ecx, ecx
lea eax, [ebp - 0x21c]
push eax
push 1
push ecx
push dword [ebp - 0x22c]
push edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov edi, 0xffff
test eax, eax
je 0x10099117
mov esi, eax
jle 0x1009910f
and esi, edi
or esi, 0x80070000
test esi, esi
js 0x100991cd
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10099150
mov esi, eax
jle 0x10099150
and esi, edi
or esi, 0x80070000
test esi, esi
js 0x100991cd
cmp dword [ebp - 0x224], 1
je 0x1009916d
cmp dword [ebp - 0x224], 7
je 0x1009916d
mov esi, 0x8000ffff
jmp 0x100991cd
mov eax, dword [ebp - 0x220]
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcr100.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
pop ecx
test edi, edi
jne 0x100991ab
push 0x100a3d54
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 0x228], 0x8007000e
call sub.msvcr100.dll__CxxThrowException
mov ecx, dword [ebp - 0x230]
push edi
call fcn.1007801a
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push edi
call sub.msvcr100.dll_memcpy
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x100991e9
and dword [ebp - 0x21c], 0
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
call fcn.1003dace
ret 0x10
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10007082
pop dword [ebp - 0x14]
mov eax, 0x4908937c
sub eax, 0x390822fa
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3d8dd
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x5a19
xor edx, edx
add edx, eax
mov ebx, 0x996eae23
sub ebx, 0x896d2823
add ebx, dword [ebp - 0x14]
mov esi, 0xc1cc02cd
xor dword [ebp - 0xc], eax
mov edi, dword [ebx]
sub dword [ebp - 0xc], 0xfa5692fa
sub edi, esi
xor dword [ebp - 4], esi
mov dword [edx], edi
xor dword [ebp - 0xc], 0x45d43e61
add edx, 4
add ebx, 4
loop 0x100070d2
add eax, 0x15b37
mov ebx, eax
add eax, 0xa7b4bc98
sub eax, 0xa7b4bc93
mov ecx, 0x74844575
add ecx, 0x9b7bba8b
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10003ece
pop dword [ebp - 0x30]
mov eax, 0x522dd034
sub eax, 0x422d9166
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xef74aae8
sub dword [ebp - 0x40], 0xa122659d
mov dword [ebp - 0x3c], 0xaff85161
add dword [ebp - 0x3c], 0x823afae4
mov dword [ebp - 0x38], 0x9eba651e
sub dword [ebp - 0x38], 0x526e20f0
mov dword [ebp - 0x34], 0xc26d0c8
add dword [ebp - 0x34], 0xf3d92f38
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x32fc1734
sub dword [ebp - 0x40], 0xbe89adde
mov dword [ebp - 0x3c], 0x9d630b5a
sub dword [ebp - 0x3c], 0x5bf6a9e5
mov dword [ebp - 0x38], 0x74fcf22d
add dword [ebp - 0x38], 0xee727a3f
mov dword [ebp - 0x34], 0xb2ab1988
add dword [ebp - 0x34], 0x4d54e678
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x3972fdcc
add eax, 0xd68d5274
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x38e2a
push 0
call eax
mov ecx, 0xb6b0be4d
sub ecx, 0xb6b06d4b
xor esi, esi
add esi, eax
mov edx, 0x1000b600
add edx, dword [ebp - 0x30]
mov ebx, 0xde728fee
add ebx, 0x75e0eb00
add dword [ebp - 0x1c], 0xc72a5ac7
mov edi, dword [edx]
xor dword [ebp - 0x2c], ecx
xor edi, ebx
add dword [ebp - 0x1c], esi
mov dword [esi], edi
add dword [ebp - 0x2c], 0x658c36d9
add esi, 0xab291cf6
sub esi, 0xab291cf2
add edx, 0xa56b2642
add edx, 0x5a94d9c2
loop 0x10003fe7
add eax, 0x136db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf28b4e5a
sub ecx, 0xe28b4e5a
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x710c6d
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
pop ecx
sub esp, 4
mov dword [esp], edi
pop edx
sub edx, 0x5e2adbc7
inc edx
call fcn.00710cac
add edi, 1
xor dword [esi], ecx
and edi, edi
inc edi
inc esi
dec edi
and edi, edx
and edx, edi
cmp esi, ebx
jne fcn.00710c6d
add edx, 0xa73b1465
sub edx, 1
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d20a
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d20a
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d20a
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d20a
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d20a
mov dword [0x41203c], eax
call fcn.0040d20a
test eax, eax
jge 0x402550
push 8
call fcn.0040d20a
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d20a
pop ecx
push 1
call fcn.0040d20a
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d20a
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d20a
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d20a
jmp 0x402495

Function at 0x40d20a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40d219
pop dword [ebp - 0x10]
mov eax, 0x241936e0
add eax, 0xdc279b39
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x37174
push 0
mov eax, 0xcbc5cc23
add eax, 0x347b14b5
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xcb672395
sub ecx, 0xcb66e497
xor edi, edi
add edi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x10]
mov esi, 0xd1561aa2
add esi, 0x366c4e38
mov ebx, dword [edx]
mov dword [ebp - 4], 0x9eb642e9
sub ebx, esi
xor dword [ebp - 0xc], eax
mov dword [edi], ebx
mov dword [ebp - 4], 0xdbc2abb6
add edi, 0x4d7787f3
add edi, 0xb2887811
add edx, 0x38fbaf03
add edx, 0xc7045101
loop 0x40d274
add eax, 0xeecb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call sym.icucnv69.dll_uloc_getVariant_69
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call sym.icucnv69.dll_uloc_getVariant_69
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call sym.icucnv69.dll_uloc_getVariant_69
pop ecx
jmp 0x10018771
push esi
call sym.icucnv69.dll_uloc_getVariant_69
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x1003e860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1003e86f
pop dword [ebp - 0x44]
mov eax, 0x63063d92
sub eax, 0x53025523
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x71d18
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xb50116bc
sub ecx, 0xb500ceee
mov esi, eax
mov edx, 0x68e66dfd
add edx, 0xa732a203
add edx, dword [ebp - 0x44]
mov ebx, 0x6da11fc
xor dword [ebp - 0x18], esi
mov edi, dword [edx]
add dword [ebp - 0x1c], 0xeb11f7c1
sub edi, ebx
xor dword [ebp - 8], eax
mov dword [esi], edi
add dword [ebp - 0x10], 0xe3177d4f
add esi, 0x24dbb82a
add esi, 0xdb2447da
add edx, 0x43026721
add edx, 0xbcfd98e3
loop 0x1003e8c3
add eax, 0xaeb28ea0
sub eax, 0xaeb17c95
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402340
Capabilities:
Access the windows event log

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4133cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x41d014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x30], ecx
push 0x417194
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0x28
push str.Description:_A_.NET_application_failed._n
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call main
push 0xd
push str.Application:
lea ecx, [ebp - 0x2c]
call main
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4023d4
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, eax
call main
push 1
push 0x417190
mov ecx, eax
call main
push 6
push str.Path:
lea ecx, [ebp - 0x2c]
call main
mov esi, eax
mov eax, dword [ebp - 0x30]
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x402413
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call main
push 1
push 0x417190
mov ecx, eax
call main
push 9
push str.Message:
lea ecx, [ebp - 0x2c]
call main
cmp dword [0x41d4d8], 8
mov ecx, 0x41d4c4
push dword [0x41d4d4]
cmovae ecx, dword [0x41d4c4]
push ecx
mov ecx, eax
call main
push 1
push 0x417190
mov ecx, eax
call main
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x2c]
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 1
push 0
push 0x3ff
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4024e7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4024dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4024dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call main
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00410032
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40a8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40a8bf
pop dword [ebp - 0x20]
mov eax, 0x40a8bf
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x98e17633
sub dword [ebp - 0x30], 0x4a8f30e8
mov dword [ebp - 0x2c], 0xc36fec2f
sub dword [ebp - 0x2c], 0x913c9fea
mov dword [ebp - 0x28], 0x8751ee94
sub dword [ebp - 0x28], 0x3b05aa66
mov dword [ebp - 0x24], 0xa9e15264
add dword [ebp - 0x24], 0x561ead9c
lea eax, [ebp - 0x30]
push eax
mov eax, 0xc5c324bd
add eax, 0x3a7e2bc3
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa9c39a75
sub dword [ebp - 0x30], 0x3551311f
mov dword [ebp - 0x2c], 0x5bce5aee
sub dword [ebp - 0x2c], 0x1a61f979
mov dword [ebp - 0x28], 0xaf6a57e5
add dword [ebp - 0x28], 0xb4051487
mov dword [ebp - 0x24], 0x5b7a634a
add dword [ebp - 0x24], 0xa4859cb6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3991c
push 0
call eax
mov ecx, 0xcf0e139c
sub ecx, 0xcf0dcf95
xor edx, edx
add edx, eax
mov ebx, 0xccff27f2
add ebx, 0x3342cc0e
add ebx, dword [ebp - 0x20]
mov edi, 0x52a31c52
sub edi, 0x66de0bee
xor dword [ebp - 4], 0x9692698b
mov esi, dword [ebx]
add dword [ebp - 0x18], edx
xor esi, edi
xor dword [ebp - 0x18], 0x7b38395
mov dword [edx], esi
sub dword [ebp - 0xc], 0x37b0d1fb
add edx, 4
add ebx, 0x4248ff4c
sub ebx, 0x4248ff48
loop 0x40a9d9
add eax, 0xe5fc0ad2
sub eax, 0xe5fb07e3
mov ebx, eax
add eax, 5
mov ecx, 0x7c4bc1f3
sub ecx, 0x7c0bc1f3
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x410a37
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x410a76
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410a76
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410a76
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x410a76
cmp dword [ecx + 0x74], 0xe
jbe 0x410a76
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x79e370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x79e38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x7c7074
push ecx
mov edi, eax
call fcn.007b2198
mov esi, eax
add esp, 8
test esi, esi
jne 0x79e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007b202e
push esi
call fcn.007b1fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x7a1850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7a18ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x7cc720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7a18ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007b21e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7a18ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x7cc720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7a192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.007b3082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x7a1957
mov word [eax], si
add eax, 2
push eax
call fcn.007b3030
add esp, 4
jmp 0x7a1959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7a18ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7a18b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x7a1ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7a2080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7a20c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x7c7458
push ecx
call fcn.007b21e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007b21e1
add esp, 0x10
jmp 0x7a20d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.007b220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.007b1dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.007a2050
mov eax, dword [0x7cc728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x7a213b
push esi
call fcn.007a1fb0
add esp, 4
mov dword [0x7cc728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x7a214c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.007a1ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x7a5440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7a54b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x7a548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7a5471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7a547e
add edx, ecx
cmp ebx, edx
jb 0x7a548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7a5467
xor ecx, ecx
jmp 0x7a54a2
test eax, eax
jne 0x7a5492
xor ecx, ecx
jmp 0x7a54a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007a53c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret