joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401150
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x405600
push 0x68
push esi
call edi
push 0x64
push 0x405668
push 0x70
push esi
call edi
xor eax, eax
push 0x7f00
push eax
mov dword [0x4031d0], esi
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6e
push esi
mov dword [ebp - 0x30], eax
call edi
mov edx, dword [ebp - 0x38]
push 0x6c
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0x6e
mov dword [ebp - 0x24], str.Clariot
call edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x44], 0x401460
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [ebp + 0x14]
push ecx
push esi
call fcn.004013d0
add esp, 8
test eax, eax
jne 0x40121d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401273
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
lea esp, [esp]

Function at 0x40128f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4012b8
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4012b0
cmp al, 0x22
jne 0x4012a4
cmp byte [esi], 0x22
jne 0x4012c2
inc esi
jmp 0x4012c2
cmp al, 0x20
jle 0x4012c2
inc esi
cmp byte [esi], 0x20
jg 0x4012bc
mov al, byte [esi]
test al, al
je 0x4012cc
cmp al, 0x20
jle 0x4012b5
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401d46
push 0x403004
push section..data
call fcn.00401d2c
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4012fc
movzx eax, word [ebp - 0x14]
jmp 0x4012ff
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401d5e
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4013d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x4031d0], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401417
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x3c33b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x3c33f0
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x3cdf2c]
test eax, eax
jne 0x3c3414
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdf2c], eax
call eax
mov ebx, eax
mov eax, dword [0x3cdaf8]
test eax, eax
jne 0x3c343c
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdaf8], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x3c34f2
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x3c34e2
cmp ebx, 8
jb 0x3c34c7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x3c3486
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x3c34c7
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x3c34a0
cmp edx, ebx
jae 0x3c34e2
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x3c34d0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x3c34f0
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3c3560
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x3c3589
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3cdf2c]
test eax, eax
jne 0x3c35ad
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdf2c], eax
call eax
mov edi, eax
mov eax, dword [0x3cdaf8]
test eax, eax
jne 0x3c35d5
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdaf8], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x3c3655
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x3c364a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x3c3610
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x3c3660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x3c368a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3cdf2c]
test eax, eax
jne 0x3c36ae
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdf2c], eax
call eax
mov edi, eax
mov eax, dword [0x3cdaf8]
test eax, eax
jne 0x3c36d6
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cdaf8], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x3c3742
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x3c373a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x3c3710
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x3c3c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0xd417
xor dword [esp + 4], 0xfe7518b6
add dword [esp + 4], 0xffff66fd
xor dword [esp + 4], 0xfe75339e
mov dword [esp], 0xc20a
or dword [esp], 0xac700
shr dword [esp], 2
or dword [esp], 0x597d730f
xor dword [esp], 0x360881cc
or dword [esp], 0x27d50529
add dword [esp], 0xfc7f
xor dword [esp], 0x6ff873ac
push ebx
mov dword [esp + 4], 0x7ffe
mov ebx, ecx
shl dword [esp + 4], 9
xor dword [esp + 4], 0xfffc10
cmp byte [ebx], 0
je 0x3c3d5e
push esi
push edi
jmp 0x3c3cd0
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0xc20a
or dword [esp + 0xc], 0xac700
shr dword [esp + 0xc], 2
or dword [esp + 0xc], 0x597d730f
xor dword [esp + 0xc], 0x360881cc
or dword [esp + 0xc], 0x27d50529
add dword [esp + 0xc], 0xfc7f
xor dword [esp + 0xc], 0x6ff873ac
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x7ffe
shl dword [esp + 0xc], 9
xor dword [esp + 0xc], 0xfffc10
shl esi, cl
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x3c3cd0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x3c3ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3c3efc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.003c3c50
xor eax, 0x1616ce02
cmp eax, dword [esp + 0x10]
je 0x3c3f06
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3c3ee0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3c3f34
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3c3f34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x3c40b0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3c40d6
cmp al, 0x2e
je 0x3c40d3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3c40c3
jmp 0x3c40d6
mov byte [edx], 0
mov eax, dword [0x3cde6c]
test eax, eax
jne 0x3c40fa
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xe12e7135
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cde6c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3c4141
mov eax, dword [0x3cddcc]
test eax, eax
jne 0x3c412b
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xc93d75ee
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3cddcc], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3c4141
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.003c3c50
xor eax, 0x1616ce02
mov ecx, edi
mov edx, eax
call fcn.003c3ea0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3c3f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx]
cmp ebx, ecx
je 0x3c409a
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x14], 0xd417
xor dword [esp + 0x14], 0xfe7518b6
add dword [esp + 0x14], 0xffff66fd
xor dword [esp + 0x14], 0xfe75339e
mov dword [esp + 0x10], 0xc20a
or dword [esp + 0x10], 0xac700
shr dword [esp + 0x10], 2
or dword [esp + 0x10], 0x597d730f
xor dword [esp + 0x10], 0x360881cc
or dword [esp + 0x10], 0x27d50529
add dword [esp + 0x10], 0xfc7f
xor dword [esp + 0x10], 0x6ff873ac
mov dword [esp + 0x10], 0x7ffe
shl dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xfffc10
cmp word [edx], 0
je 0x3c4081
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0xc20a
or dword [esp + 0x10], 0xac700
shr dword [esp + 0x10], 2
or dword [esp + 0x10], 0x597d730f
xor dword [esp + 0x10], 0x360881cc
or dword [esp + 0x10], 0x27d50529
add dword [esp + 0x10], 0xfc7f
xor dword [esp + 0x10], 0x6ff873ac
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x7ffe
shl dword [esp + 0x10], 9
xor dword [esp + 0x10], 0xfffc10
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x3c4060
cmp eax, 0x5a
ja 0x3c4060
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebp
cmp word [edx], 0
jne 0x3c3fe4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x36f387d6
cmp eax, dword [esp + 0x1c]
je 0x3c40a4
mov ebx, dword [ebx]
cmp ebx, ecx
jne 0x3c3f65
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x3c4370
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x3c450e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x3c450e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x3c450e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x3c450e
mov eax, dword [0x3ce0a8]
test eax, eax
jne 0x3c43db
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0x2fc76848
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3ce0a8], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3c4505
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x3ce2b4]
test eax, eax
jne 0x3c443b
mov ecx, 0xe4dda7c2
call fcn.003c3f40
mov edx, 0x2bab1175
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3ce2b4], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x3c44be
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x3ce2b4]
test eax, eax
jne 0x3c44a6
mov ecx, 0xe4dda7c2
call fcn.003c3f40
mov edx, 0x2bab1175
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3ce2b4], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3c4465
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.003c4640
mov edx, edi
mov ecx, ebx
call fcn.003c4550
pop esi
test eax, eax
jne 0x3c4505
mov eax, dword [0x3ce134]
test eax, eax
jne 0x3c44f9
mov ecx, 0xb98d61a4
call fcn.003c3f40
mov edx, 0xece41155
mov ecx, eax
call fcn.003c3ea0
mov dword [0x3ce134], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x419b60
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4032e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4024a0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.0040620c
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004061c0
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x419d15
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x419c36
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.004062e0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x419d15
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x405388
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.0040626c
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x419d15
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x419cb3
mov dword [ebp - 0x8c], 0
jmp 0x419cbf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x419cf6
mov dword [ebp - 0x90], 0
jmp 0x419d02
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x419c04
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405e60
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x419d3d
jmp 0x419d3c
ret
Function at 0x108f370
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 0x108f38e
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 0x10b8074
push ecx
mov edi, eax
call fcn.010a3198
mov esi, eax
add esp, 8
test esi, esi
jne 0x108f3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010a302e
push esi
call fcn.010a2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1092850
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 0x10928ae
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 0x10bd720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10928ba
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.010a31e1
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 0x10928ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x10bd720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x109292a
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.010a4082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1092957
mov word [eax], si
add eax, 2
push eax
call fcn.010a4030
add esp, 4
jmp 0x1092959
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 0x10928ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10928b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x1092ff0
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 0x1093080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x10930c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x10b8458
push ecx
call fcn.010a31e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.010a31e1
add esp, 0x10
jmp 0x10930d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.010a320b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.010a2dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.01093050
mov eax, dword [0x10bd728]
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 0x109313b
push esi
call fcn.01092fb0
add esp, 4
mov dword [0x10bd728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x109314c
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.01092ff0
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 0x1096440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10964b7
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 0x109648e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1096471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x109647e
add edx, ecx
cmp ebx, edx
jb 0x109648a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1096467
xor ecx, ecx
jmp 0x10964a2
test eax, eax
jne 0x1096492
xor ecx, ecx
jmp 0x10964a2
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.010963c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret