joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4844b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
lea eax, [edi + 0x70d18]
push dword [eax]
mov dword [eax], 0xfb5da728
push eax
push edi
jmp 0x4844da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4844e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4844d0
mov eax, 1
add ebx, ebx
jne 0x4844f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484504
jne 0x484523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484523
dec eax
add ebx, ebx
jne 0x484510
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4844e8
add ebx, ebx
jne 0x48451f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484575
xor ecx, ecx
sub eax, 3
jb 0x48453b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4845aa
sar eax, 1
mov ebp, eax
jmp 0x484546
add ebx, ebx
jne 0x484546
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484514
inc ecx
add ebx, ebx
jne 0x484554
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484514
add ebx, ebx
jne 0x484561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x484556
jne 0x484572
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x484556
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484594
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484586
jmp 0x4844d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484594
add edi, ecx
jmp 0x4844d6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x321f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4845b6
cmp byte [edi], 0x16
jne 0x4845b6
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4845bb
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x484633
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x88620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8873c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4845e8
mov ecx, edi
jns 0x484617
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x88744]
or eax, eax
je 0x48462d
mov dword [ebx], eax
add ebx, 4
jmp 0x484605
call dword [esi + 0x88740]
mov ebp, dword [esi + 0x88748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x484667
sub esp, 0xffffff80
jmp 0x4349ef
Function at 0x4070f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d468
cmp edx, dword [eax]
je 0x407117
add eax, 8
inc ecx
cmp eax, 0x40d4f8
jl 0x407108
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d468]
jne 0x407245
mov eax, dword [0x40e498]
cmp eax, 1
je 0x40721f
test eax, eax
jne 0x407148
cmp dword [0x40d39c], 1
je 0x40721f
cmp edx, 0xfc
je 0x407245
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40717f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404350
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004041a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4071c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004041a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5ec
push edi
call fcn.00408c80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404350
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404360
lea eax, [ebp - 0xa0]
push 0x40b5cc
push eax
call fcn.00404360
push dword [esi + 0x40d46c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404360
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408bf2
add esp, 0x2c
pop edi
jmp 0x407245
lea eax, [ebp + 8]
lea esi, [esi + 0x40d46c]
push 0
push eax
push dword [esi]
call fcn.004041a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x7001387
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x7001396
pop dword [ebp - 8]
mov eax, 0x5fe81fc2
sub eax, 0x58e80c2c
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x16d27db0
add dword [ebp - 0x18], 0x377fc79b
mov dword [ebp - 0x14], 0x39a783df
sub dword [ebp - 0x14], 0x774379a
mov dword [ebp - 0x10], 0x1dc706a1
sub dword [ebp - 0x10], 0xd17ac273
mov dword [ebp - 0xc], 0x1cfbbeb7
add dword [ebp - 0xc], 0xe3044149
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1527cce
sub dword [ebp - 0x18], 0x8ce01378
mov dword [ebp - 0x14], 0xb3f0b11d
sub dword [ebp - 0x14], 0x72844fa8
mov dword [ebp - 0x10], 0x43137124
add dword [ebp - 0x10], 0x205bfb48
mov dword [ebp - 0xc], 0xc3a1bcea
sub dword [ebp - 0xc], 0xc3a1bcea
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xddc7ad46
sub eax, 0xd6c68d12
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x393e4
push 0
call eax
mov ecx, 0x42a0
mov esi, eax
mov edi, 0x26ebc62
add edi, 0x493239e
add edi, dword [ebp - 8]
mov edx, 0x8169054f
add edx, 0xe08351ac
add dword [ebp - 4], ecx
mov ebx, dword [edi]
xor dword [ebp - 4], esi
add ebx, edx
xor dword [ebp - 4], 0x5e02771e
mov dword [esi], ebx
add dword [ebp - 4], esi
add esi, 0x2fd8147a
sub esi, 0x2fd81476
add edi, 0x97040cc4
add edi, 0x68fbf340
loop 0x70014ad
add eax, 0xfd53
xor ebx, ebx
add ebx, eax
add eax, 0xbd944345
add eax, 0x426bbcc0
mov ecx, 0x66de1ef1
add ecx, 0xa021e10f
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07001387
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.07001387
int3
Function at 0x407e17
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x407e86
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x407e62
push ebx
push edi
push eax
call fcn.0040ba60
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x407e7d
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret

Function at 0x4151ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4151fc
pop dword [ebp - 0x1c]
mov eax, 0xd6e4f3a
sub eax, 0xd2cfd3e
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3cc1d
push 0
mov eax, 0x79496856
add eax, 0x86f879d6
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x24e51229
sub ecx, 0x24e4ce3f
mov edx, eax
mov edi, 0xd5f33a33
sub edi, 0xd5af8833
add edi, dword [ebp - 0x1c]
mov esi, 0xe30d582a
sub dword [ebp - 0x18], 0x65f8b167
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0xc1336548
xor ebx, esi
mov dword [ebp - 4], 0x6228f6c8
mov dword [edx], ebx
add dword [ebp - 0x14], edi
add edx, 4
add edi, 0x7b2147e0
sub edi, 0x7b2147dc
loop 0x415255
add eax, 0x1027b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x996409f1
add ecx, 0x66dbf60f
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10023c3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1076018]
add eax, dword [0x1076024]
push ebx
push esi
push edi
cmp eax, 0x1da
jne 0x10023fa
mov eax, dword [section..data]
sub eax, dword [0x10760d8]
add eax, 5
mov dword [0x10760d8], eax
add eax, 0x4e
mov dword [section..data], eax
jmp 0x100240e
mov eax, dword [0x107602c]
add eax, 0xffffffb5
add dword [section..data], 0x2d
mov dword [0x10760d8], eax
movzx eax, byte [0x10760d4]
mov ecx, 0xca9a
mov edi, dword [ebp + 0xc]
imul ax, ax, 0x28
sub cx, ax
lea eax, [edi - 2]
movzx ebx, cx
mov ecx, dword [ebp + 8]
add eax, ebx
movzx esi, ax
lea eax, [ebp - 8]
push eax
push 0x40
push 0x4152
push ecx
push 0xffffffffffffffff
mov dword [0x107762c], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [0x1076058], 9
mov ecx, dword [0x10760d0]
je 0x100246c
mov eax, dword [0x10760d8]
mov edx, dword [section..data]
sub eax, ecx
add edx, eax
jmp 0x100247a
mov edx, dword [0x10760d8]
sub edx, ecx
sub edx, 0x9249
mov al, byte [0x10760d4]
movzx eax, al
imul ax, ax, 0x28
mov dword [ebp + 8], eax
add eax, ecx
sub ebx, eax
cmp dword [0x1076054], edi
ja 0x10024a9
movzx eax, bx
mov dword [0x1076040], eax
mov eax, edi
sub eax, ebx
add eax, 0x6db7
movzx esi, ax
movzx eax, byte [0x10760d4]
mov dword [ebp + 0xc], eax
add eax, 0xfffffffe
add eax, ecx
mov ecx, str.c
mov dword [ebp - 4], eax
add eax, dword [ebp + 8]
sub ebx, eax
movzx eax, bx
cmp eax, dword [0x1076030]
je 0x10024ec
mov ax, word [ecx]
imul ax, si
movzx esi, ax
mov eax, esi
sub eax, edi
add eax, 5
movzx ebx, ax
cmp edi, dword [str.c]
je 0x10024f7
add ecx, 4
cmp ecx, 0x10760b8
jl 0x10024c5
mov eax, dword [0x1076018]
add eax, dword [0x1076024]
cmp eax, 0x1da
jne 0x1002520
mov ecx, dword [ebp + 0xc]
sub edx, esi
add edx, 5
add ecx, 0xfffffffe
movzx eax, dx
add eax, ecx
mov dword [section..data], eax
jmp 0x1002529
add edx, 0x2d
mov dword [section..data], edx
mov ecx, dword [ebp - 4]
sub edi, ebx
sub cl, byte [0x10760d4]
add cl, 0x7c
mov byte [0x10760d4], cl
lea eax, [edi + 0x6db7]
movzx esi, ax
movzx eax, cl
add eax, 0x2d
mov dword [0x10760d0], eax
call dword [0x107762c]
mov al, byte [0x10760d0]
add al, 6
add al, bl
mov byte [0x10760d4], al
mov eax, dword [0x1076018]
add eax, dword [0x1076024]
cmp eax, 0x1da
jne 0x100257e
add esi, 3
add esi, edi
jmp 0x1002581
add esi, 0x2d
salc
fsubr qword [ebp + ebp*2 - 0x2bc249f1]
pushal
pop es
add dword [eax - 0x9249], edi
mov edx, dword [0x10760d0]
sub eax, edi
add edx, eax
movzx eax, si
mov dword [0x10760d0], edx
cmp dword [section..data], eax
jb 0x10025bd
lea ecx, [edi - 2]
add ecx, eax
sub dword [0x1076024], edi
mov dword [section..data], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1042852
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x10760d0]
push ebx
push ebp
push esi
push edi
push 0x1078cd8
add eax, 0xfffffdeb
push 0x577
mov dword [0x10760d8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
movzx ebx, byte [0x10760d4]
mov edi, eax
push ebx
mov dword [0x10760d0], edi
call fcn.010423b4
pop ecx
mov esi, eax
mov ecx, 0x1076058
xor ebp, ebp
cmp esi, dword [0x1076090]
jne 0x10428a4
cmp ebp, dword [0x1076094]
je 0x10428c1
imul edi, dword [ecx]
mov eax, ebx
cdq
mov esi, edi
sub esi, ebx
add esi, 5
cmp eax, dword [0x1076058]
jne 0x10428c1
cmp edx, dword [0x107605c]
je 0x10428cc
add ecx, 8
cmp ecx, 0x10761a0
jl 0x1042894
mov dword [0x10760d0], edi
mov edi, 0x21a
push edi
call fcn.010423b4
pop ecx
push ebp
push 6
push 9
push ebp
mov dword [section..data], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, dword [0x10760d8]
cmp dword [0x1076054], ecx
ja 0x1042917
mov eax, dword [0x10760d0]
mov ecx, 0xffff6def
mov dword [0x1076040], eax
imul eax, eax, 0x2a
sub ecx, eax
mov dword [0x10760d8], ecx
movzx esi, byte [0x10760d4]
sub esi, ecx
push edi
add esi, 0x38
call fcn.01001546
cmp dword [0x10760e0], 9
pop ecx
jne 0x1042943
cmp dword [0x10760e4], ebp
jne 0x1042943
lea ecx, [esi - 0x9463]
jmp 0x1042951
mov ecx, dword [section..data]
add ecx, 0xfffffde6
add ecx, esi
mov eax, dword [0x1076060]
add eax, dword [0x1076078]
mov edx, dword [0x1076064]
adc edx, dword [0x107607c]
cmp eax, 0x1da
jne 0x1042980
cmp edx, ebp
jne 0x1042980
sub ecx, esi
lea edx, [ecx + 5]
lea ecx, [edx + 0x218]
jmp 0x104298f
mov edx, dword [0x1076088]
add edx, 0xfffffdeb
add ecx, 0x2d
mov eax, dword [0x10760d8]
mov esi, str.c
mov dword [section..data], ecx
cmp eax, dword [0x1076030]
je 0x10429be
imul edx, dword [esi]
mov eax, edx
sub eax, ecx
add eax, 5
mov dword [0x10760d8], eax
cmp ecx, dword [str.c]
je 0x10429c9
add esi, 4
cmp esi, 0x10760b8
jl 0x104299f
pop edi
sub ecx, eax
xor eax, eax
pop esi
sub ecx, 0x9249
inc eax
pop ebp
mov dword [0x10760d0], ecx
pop ebx
ret 0xc
Function at 0x104c65e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10763d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0104a49c
mov dword [ebp - 0x14], eax
cmp dword [0x117c98c], esi
jne 0x104c751
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x104c6de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x104c831
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x104c831
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x104c831
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x117c98c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x117c990], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x117c994], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x117c99c], eax
test eax, eax
je 0x104c74e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x117c998], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x104c776
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x104c769
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x104c78b
push 4
pop eax
jmp 0x104c833
cmp dword [ebp - 0x14], esi
je 0x104c78b
push dword [0x117c98c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x104c770
mov eax, dword [0x117c998]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x104c7e9
cmp dword [0x117c99c], edi
je 0x104c7e9
push eax
call ebx
push dword [0x117c99c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x104c7e9
test eax, eax
je 0x104c7e9
call ecx
test eax, eax
je 0x104c7de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x104c7de
test byte [ebp - 8], 1
jne 0x104c7e9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x104c819
mov eax, dword [0x117c990]
cmp eax, edi
je 0x104c816
push eax
call ebx
test eax, eax
je 0x104c816
call eax
mov esi, eax
test esi, esi
je 0x104c816
mov eax, dword [0x117c994]
cmp eax, edi
je 0x104c816
push eax
call ebx
test eax, eax
je 0x104c816
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x117c98c]
call ebx
test eax, eax
je 0x104c831
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x104c833
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0104454e
mov esp, ebp
pop ebp
ret
Function at 0x1000cd31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002cd97
call fcn.10017073
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000cdae
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000cdae
call fcn.10005a99
mov esi, eax
jmp 0x1000ce85
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000cdd1
call fcn.10005a99
jmp 0x1000ce78
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000cdc7
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000ce01
mov esi, 0x8007000e
jmp 0x1000ce7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10011349
jmp 0x1000ce27
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cdfa
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000cdc7
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10011349
mov esi, eax
test edi, edi
je 0x1000ce85
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ce9e
lea ecx, [ebp - 0x418]
call fcn.1000c4af
mov eax, esi
call fcn.10016fc0
ret 0x10
Function at 0x10011349
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10011358
pop dword [ebp - 0x10]
mov eax, 0x10011358
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3fb42
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x8019dcf2
add ecx, 0x7fe668b7
xor esi, esi
add esi, eax
mov edi, 0x40df3735
sub edi, 0x30da8b35
add edi, dword [ebp - 0x10]
mov edx, 0x53b7f201
add edx, 0x46985979
xor dword [ebp - 4], 0xc6d2be39
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0xa9c2b68d
add ebx, edx
add dword [ebp - 4], ebx
mov dword [esi], ebx
add esi, 0xec59b601
add esi, 0x13a64a03
add edi, 0x37af098b
add edi, 0xc850f679
loop 0x100113af
add eax, 0x5548c5c7
add eax, 0xaab843b0
xor ebx, ebx
add ebx, eax
add eax, 0x8d2c32f0
add eax, 0x72d3cd15
mov ecx, 0xcf352b15
add ecx, 0x40cad4eb
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x100123e7
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002d2cf
call fcn.10016fd1
mov ebx, ecx
mov eax, dword [ebx]
xor edi, edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.10011349
and dword [ebp - 4], edi
lea esi, [ebx + 0x44]
cmp dword [esi], edi
je 0x10012492
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10011349
mov ecx, dword [esi]
test al, al
je 0x10012474
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push ecx
push eax
movsd dword es:[edi], dword [esi]
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10011349
add esp, 0x28
mov byte [ebp - 4], 0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea esi, [ebx + 0x44]
jmp 0x1001248b
push 0
push str.Close
push ecx
push 0
push 1
push ebx
call fcn.10011349
add esp, 0x18
mov edi, eax
mov ecx, esi
call fcn.10009bb3
cmp dword [ebx + 0x24], 0
je 0x100124b2
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10011349
test al, al
je 0x100124b2
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, edi
call fcn.10016f9a
ret
Function at 0x100133d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x214
mov eax, 0x1002d3b0
call fcn.10017005
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 8], 0
je 0x100133fb
mov eax, reloc.oleaut32.dll_VariantCopyInd
jmp 0x10013586
mov eax, dword [ebx - 0xc]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1002f4d0]
lea ecx, [ebx - 0xc]
call esi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x1001341f
mov eax, 0x80004005
jmp 0x10013586
mov edx, dword [ebp + 0x10]
mov esi, reloc.oleaut32.dll_SysReAllocString
mov eax, edx
and eax, esi
cmp eax, esi
push dword [ebp - 0x21c]
sete al
mov byte [ecx + 0x31], al
lea ecx, [esi + 2]
mov eax, edx
and eax, ecx
cmp eax, ecx
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x32], cl
lea eax, [esi + 6]
and edx, eax
cmp edx, eax
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x33], cl
mov ecx, dword [ebx + 0x14]
add ecx, 0x28
call fcn.10011349
mov edi, dword [ebx + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, edi
call esi
push eax
lea ecx, [ebp - 0x220]
call fcn.10011349
xor esi, esi
lea ecx, [ebp - 0x220]
push str.Excel.Application
mov dword [ebp - 4], esi
call fcn.10011349
test al, al
je 0x1001355e
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100194b0
mov edi, dword [ebp - 0x21c]
push 0x5c
push edi
call fcn.10011349
add esp, 0x14
test eax, eax
jne 0x100134d8
push 0x2f
push edi
call fcn.10011349
pop ecx
pop ecx
test eax, eax
je 0x100134f8
add eax, 2
push 0x2e
push eax
call fcn.10011349
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10011349
add esp, 0x14
cmp word [ebp - 0x218], si
je 0x10013557
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10011349
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
add ecx, 0x24
test eax, eax
jne 0x10013549
lea eax, [ebp - 0x218]
push eax
call fcn.10011349
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x1001354f
push edi
call fcn.10011349
mov eax, dword [ebx + 0x14]
add eax, 0x24
jmp 0x1001356f
mov esi, 0x80004005
jmp 0x10013578
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x21c]
add ecx, 0x24
call fcn.10011349
push eax
lea ecx, [ebx + 0x10]
call fcn.10011349
push dword [ebp - 0x220]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, esi
call fcn.10016faf
ret 0xc