joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fde
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00403d42
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00403cf7
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x404020
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00403d32
rol dword [ecx + 0x458df49b], 1
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x4058c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00403d42
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00403ca3
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x405caa
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00403d32
sub dl, byte [edi - 0x4a0003f5]
pushal
cld
invalid
Function at 0x4065e9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x20]
push 0xfffffffffffffff4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [eax]
mov esi, dword [eax + 0x30]
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ebx
call edi
test esi, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
je 0x40664b
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0xffffff37
push eax
push 0
push 0x4e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0
jne 0x406782
mov eax, dword [ebp - 4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [esi], eax
jne 0x40670a
push esi
push 0x4074ee
push ebx
mov dword [ebp - 0x14], eax
push dword [esi + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x13d
mov dword [ebp - 8], 0xc1
push dword [esi + 8]
call fcn.00406196
add esp, 0x14
mov dword [ebp + 0xc], eax
test eax, eax
je 0x406785
push 0xfffffffffffffff0
push eax
call edi
and eax, 0x7b30ff7f
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffec
push dword [ebp + 0xc]
call edi
and ax, 0xfefe
push eax
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 4]
and eax, 2
test al, al
jne 0x4066e4
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x10], 0x2c
mov dword [ebp - 8], 0x8f
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_MapDialogRect]
push 0x214
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0xffffff38
push eax
push 0
push 0x4e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0xffffffff
je 0x406782
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x40673d
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004067ad
pop ecx
pop ecx
jmp 0x406785
mov eax, dword [ebp + 8]
push 1
push edi
push ebx
mov dword [eax + 0x30], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push edi
push edi
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetNextDlgTabItem]
call edi
test eax, eax
jne 0x406777
push eax
push eax
push ebx
call edi
test eax, eax
je 0x40677a
push eax
jmp 0x40677c
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406802
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 8]
push 0xe
mov dword [ebp - 0x90], ebx
stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x8c]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x53]
mov byte [ebp - 0x54], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
push 0x31
push dword [ebp + 8]
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x90]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x90]
mov byte [ebp - 0x75], 0x20
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push 0x32
push eax
push 0x3ee
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004076f0
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push dword [ebp - 0x20]
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x1c]
push eax
push 0x3ed
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
push 0xfffffffffffffffe
mov eax, ecx
add ecx, 2
cdq
sub eax, edx
pop edx
sar eax, 1
sub edx, eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x18], edx
push ebx
add eax, 5
push ecx
push eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x18]
push ebx
push 0x3ee
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c501
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4186f8
cmp edx, dword [eax]
je 0x40c523
add eax, 8
inc ecx
cmp eax, 0x418788
jl 0x40c514
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4186f8]
jne 0x40c651
mov eax, dword [0x41934c]
cmp eax, 1
je 0x40c62b
test eax, eax
jne 0x40c554
cmp dword [0x4162e4], 1
je 0x40c62b
cmp edx, 0xfc
je 0x40c651
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c58b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407fa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004076f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40c5ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.004076f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x414780
push edi
call fcn.0040d860
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407fa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407fb0
lea eax, [ebp - 0xa0]
push 0x4161cc
push eax
call fcn.00407fb0
push dword [esi + 0x4186fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407fb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d7cd
add esp, 0x2c
pop edi
jmp 0x40c651
lea eax, [ebp + 8]
lea esi, [esi + 0x4186fc]
push 0
push eax
push dword [esi]
call fcn.004076f0
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 0x40fd06
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x40fd41
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x40fd1e
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x40fd5d
dec esi
je 0x40fd56
dec esi
jne 0x40fd62
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x40b9b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40a015
lea edi, [esi - 0x9015]
push edi
or ebp, 0xffffffff
jmp 0x40b9d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b9d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b9c8
mov eax, 1
add ebx, ebx
jne 0x40b9eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b9e0
jne 0x40b9fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b9e0
xor ecx, ecx
sub eax, 3
jb 0x40ba10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ba82
mov ebp, eax
add ebx, ebx
jne 0x40ba1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ba28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ba4c
inc ecx
add ebx, ebx
jne 0x40ba38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ba2d
jne 0x40ba49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ba2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ba6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ba5d
jmp 0x40b9ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ba6c
add edi, ecx
jmp 0x40b9ce
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ba8a
cmp byte [edi], 0
jne 0x40ba8a
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 0x40ba8f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40bafe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd350]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40babc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd358]
or eax, eax
je 0x40baf8
mov dword [ebx], eax
add ebx, 4
jmp 0x40bad9
call dword [esi + 0xd354]
mov ebp, dword [esi + 0xd35c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40bb32
sub esp, 0xffffff80
jmp 0x4014c8
Function at 0x41f1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41f1c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f1b8
mov eax, 1
add ebx, ebx
jne 0x41f1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f1d0
jne 0x41f1ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1d0
xor ecx, ecx
sub eax, 3
jb 0x41f200
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f272
mov ebp, eax
add ebx, ebx
jne 0x41f20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f23c
inc ecx
add ebx, ebx
jne 0x41f228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f21d
jne 0x41f239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f21d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f25c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f24d
jmp 0x41f1be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f25c
add edi, ecx
jmp 0x41f1be
pop esi
mov edi, esi
mov ecx, 0x202
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f27a
cmp byte [edi], 6
jne 0x41f27a
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 eax, ebx
loop 0x41f27f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ffc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20000]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f2ac
mov ecx, edi
jns 0x41f2db
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 + 0x20004]
or eax, eax
je 0x41f2f1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f2c9
call dword [esi + 0x20008]
popal
jmp 0x40290c
Function at 0x402000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x403010], 0x400000
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadIconA]
sub esp, 8
mov dword [0x403014], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
mov dword [0x403018], eax
mov eax, section..data_1
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassA]
sub esp, 4
test eax, eax
je 0x402111
mov dword [esp], 0
mov dword [esp + 4], 0x403059
mov dword [esp + 8], 0x40305e
mov dword [esp + 0xc], 0x10080000
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], 0xc0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0x403010]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
je 0x402111
mov dword [esp], 0x403028
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.user32.dll_GetMessageA]
sub esp, 0x10
cmp eax, 1
jb 0x402111
jne 0x4020c0
mov dword [esp], 0x403028
call dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], 0x403028
call dword [sym.imp.user32.dll_DispatchMessageA]
sub esp, 4
jmp 0x4020c0
leave
mov eax, dword [0x403030]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x40215d
Capabilities:
Query environment variable
Set environment variable
Terminate process

Disassembly:
mov byte [0x403063], al
push 0x403063
push 0x40305e
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
call fcn.004026a2
push 0
push 2
push 0x403080
push 0x403044
call dword [0x40568e]
cmp eax, 0x122
jne 0x4021b8
call fcn.00402120
pop eax
xor ebx, ebx
push edx
push 2
push 0x403065
push 0x40305e
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov bl, byte [0x403065]
pop edx
add edx, ebx
call edx
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x402685
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x401010
Capabilities:
Extract resource via kernel32 functions

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 0x40c175
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov edi, ecx
push str.FILES
push dword [ebx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00403b30
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0xb4]
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
push 0
push 0
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x48]
push eax
push edi
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x94]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.kernel32
call esi
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ad3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ad3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ad3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ad3
cmp dword [ecx + 0x74], 0xe
jbe 0x401ad3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406758
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x20070
mov dword [ebp - 4], edi
call dword [sym.imp.MFPlat.DLL_MFStartup]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
js 0x406846
push ebx
push edi
push edi
push 1
push edi
mov byte [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4067b8
call ebx
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov dword [ebp - 4], edx
test edx, edx
js 0x406845
lea eax, [esi + 0x3c]
push eax
push edi
push esi
push 0x407215
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x4067e9
call ebx
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov dword [ebp - 4], edx
test edx, edx
js 0x406845
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x40]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push edi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406824
call ebx
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov dword [ebp - 4], edx
test edx, edx
js 0x406845
jmp 0x406827
mov edx, dword [ebp - 4]
test edi, edi
jne 0x406845
lea eax, [ebp - 4]
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [ebp - 4]
test eax, eax
mov ecx, 0x9e969008
cmove edx, ecx
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret