joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404127
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1044
call fcn.004044e0
mov eax, dword [0x40d014]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1058]
lea eax, [esp + 0x84c]
push edi
mov edi, dword [esp + 0x1058]
mov ebp, 0x800
push ebp
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x86c]
push 0x400
push eax
call fcn.0040431e
add esp, 0x24
test eax, eax
jns 0x40418f
xor eax, eax
mov word [esp + 0x104e], ax
push 0x40
lea eax, [esp + 0x14]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004040a4
push 0x40aa10
lea eax, [esp + 0x28]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push ebp
lea eax, [esp + 0x74]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
add esp, 0x2c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4041ce
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x40421e
lea eax, [edi - 0xc]
mov edx, 0x40aa14
lea eax, [eax + ecx*2]
mov si, word [eax]
xor ecx, ecx
inc ecx
cmp si, word [edx]
jne 0x404216
test si, si
je 0x404212
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x404216
add eax, 4
add edx, 4
test si, si
jne 0x4041ed
mov eax, ebx
jmp 0x40421a
sbb eax, eax
or eax, ecx
test eax, eax
je 0x404220
mov ecx, ebx
lea esi, [esp + 0x10]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x404227
sub esi, edx
lea eax, [esp + 0x850]
push eax
sar esi, 1
mov edx, 0x40aa34
test ecx, ecx
mov eax, str.Error:
cmove eax, edx
push eax
lea edi, [esi + esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x6c]
add eax, edi
push eax
call fcn.004042ff
add esp, 0x20
test eax, eax
jns 0x404297
mov dword [esp + 0x846], 0x2e002e
mov dword [esp + 0x84a], 0x2e
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea edi, [esp + 0x5c]
add esp, 0xc
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x4042b1
mov eax, dword [0x40aa68]
mov dword [edi], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404449
add esp, 0x1044
ret

Function at 0x40509f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4050de
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4050de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4050de
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4050de
cmp dword [ecx + 0x74], 0xe
jbe 0x4050de
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402019
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x42e040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x47d0c8]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x402080
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00402631
lea ecx, [esp + 0x1c]
call fcn.00401e49
cmp eax, dword [esp + 0x14]
je 0x402098
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.004026be
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x402050
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406d02
add esp, 0x2c
ret
mov edx, str.QwruxAA
call fcn.00402a1e
push eax
call fcn.00402c97
mov eax, dword [ebp + 0x24]
pop ecx
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.004026be
jmp 0x402082
Function at 0x416e62
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416b04

Function at 0x416e6d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416c93

Function at 0x417267
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407c60
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415596
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4172a9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417405
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004221f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47cd88]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418437
mov ecx, dword [esi*4 + 0x47cd88]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4173fe
cmp eax, dword [edi + ecx + 0x24]
jne 0x4173fe
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4173fe
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418437
add esp, 0x14
test edx, edx
jl 0x4173fe
jg 0x417374
test eax, eax
jb 0x4173fe
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4173fe
jl 0x41738e
cmp dword [ebp - 0x1008], eax
ja 0x4173fe
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4173ac
test ebx, ebx
je 0x4173e5
cmp ecx, edi
jae 0x4173e5
mov al, byte [ecx]
cmp al, 0xd
jne 0x4173c6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4173d2
cmp byte [ecx + 1], 0xa
jne 0x4173d2
inc ecx
jmp 0x4173d2
movzx eax, al
movsx eax, byte [eax + 0x42e308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4173ac
cmp edx, ebx
jne 0x4173ac
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417403
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406d02
leave
ret
Function at 0x4178d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47cd88]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417915
cmp byte [ebx], 0xa
jne 0x417915
or byte [eax + edi + 0x28], 4
jmp 0x41791a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x417a18
mov al, byte [edx]
cmp al, 0x1a
je 0x4179fa
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x417949
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41796e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x417978
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41792b
jmp 0x417a18
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4179f5
cmp dword [ebp - 0xc], 0
je 0x4179f5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47cd88]
test byte [eax + edi + 0x28], 0x48
je 0x4179cf
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4179ba
mov byte [esi], dl
jmp 0x4179cb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47cd88]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417a18
cmp byte [ebp - 1], 0xa
jne 0x4179de
cmp esi, ebx
jne 0x4179de
mov byte [esi], 0xa
jmp 0x417a17
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418455
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417a18
mov byte [esi], 0xd
jmp 0x417a17
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47cd88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417a14
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417a18
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417a21
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47cd88]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417a64
cmp word [esi], dx
jne 0x417a64
or byte [edi + eax + 0x28], 4
jmp 0x417a69
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x417bbc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x417b9c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x417aab
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417ae1
cmp eax, edx
jae 0x417aed
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x417a83
jmp 0x417bbc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417b98
cmp dword [ebp - 0x14], 0
je 0x417b98
mov eax, dword [ebx*4 + 0x47cd88]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x417b70
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x417b39
mov word [esi], cx
jmp 0x417b6c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47cd88]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47cd88]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47cd88]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x417bbc
pop ebx
cmp word [ebp - 4], bx
jne 0x417b81
cmp esi, dword [ebp + 0xc]
jne 0x417b81
mov word [esi], bx
jmp 0x417bb9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418455
add esp, 0x10
cmp word [ebp - 4], bx
je 0x417bbc
push 0xd
jmp 0x417bb5
mov ecx, dword [ebx*4 + 0x47cd88]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417bb3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417bbc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a74e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41a799
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041a8ed
test al, al
jne 0x41a793
sub edx, 2
cmp edx, edi
jne 0x41a779
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41a7bb
lea eax, [edi + 2]
cmp edx, eax
je 0x41a7bb
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041a69a
add esp, 0x10
jmp 0x41a8b5
push esi
lea ecx, [ebp - 0x255]
call fcn.0041a8ed
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a7fe
push dword [ebp - 0x25c]
jmp 0x41a7ab
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41a83b
cmp word [ebp - 0x226], 0
je 0x41a85c
cmp word [ebp - 0x226], ax
jne 0x41a83b
cmp word [ebp - 0x224], 0
je 0x41a85c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041a69a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41a8a8
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41a815
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41a890
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a8b5
push 0x41a4ca
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004200d0
add esp, 0x10
jmp 0x41a885
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406d02
leave
ret

Function at 0x421ff0
Capabilities:
Parse pe header

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

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x1420cc4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
push edx
push edi
push edi
pop edi
pop edi
rdtsc
jmp 0x1420ce5
pop edx
pop eax
push eax
push edx
push eax
push edx
ja 0x1420cf1
rdtsc
push esi
pop esi
pop edx
pop eax
pop edx
mov eax, dword [esp + 4]
jns 0x1420d0d
jmp 0x1420d0d
mov eax, dword [eax]
pushal
js 0x1420d18
pushal
popal
jae 0x1420d24
push eax
push edx
rdtsc
pop edx
pop eax
popal
mov dword [esp + 4], eax
je 0x1420d42
push eax
push edx
pushal
popal
rdtsc
jmp 0x1420d40
pop edx
pop eax
pop eax
push 0
push edx
call 0x1420d4e
and byte [edx - 0x3d], bl
pop edx
mov dword [esp + 4], edx
add dword [esp + 4], 0x15
inc edx
push edx
ret
Function at 0x4019c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4db345
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x14], esi
mov dword [esi], ebp
mov dword [esp + 0x24], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 8]
mov dword [esp + 0x18], edi
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
lea ebx, [edi + 0xc]
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov dword [ebx + 4], ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
lea eax, [edi + 0x28]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x51f7a4
lea ecx, [edi + 4]
mov byte [esp + 0x28], 5
mov dword [edi], ebp
call fcn.00401b90
push 0x51f7a4
lea ecx, [edi + 8]
call fcn.00401b90
push 0xffffffffffffffff
push ebp
mov ecx, ebx
call fcn.0040bab0
mov ecx, dword [esp + 0x10]
push 0x51f7a4
mov dword [edi + 0x20], 0x51f7a0
mov dword [edi + 0x24], ebp
call fcn.00401c70
mov eax, dword [esi]
mov bl, 6
cmp eax, ebp
mov byte [esp + 0x24], bl
je 0x401a74
mov dword [esi], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x401a83
call fcn.00401260
mov dword [esi + 4], ebp
push 0xc
call fcn.004c4c60
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov byte [esp + 0x24], 7
je 0x401acc
push 0x51f7a4
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [edi], eax
jne 0x401ace
mov edx, 0x51f7a4
test edx, edx
je 0x401ace
push 0x8007000e
call fcn.004647c0
jmp 0x401ace
xor edi, edi
mov dword [esi + 4], edi
mov eax, dword [esi]
cmp eax, ebp
mov byte [esp + 0x24], bl
je 0x401ae1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
push 0x50d960
push 7
push ebp
push 0x50d950
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401b25
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_OleRun]
test eax, eax
jl 0x401b1b
mov eax, dword [esp + 0x10]
push esi
push 0x50d940
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], 0x1e
push 0x51f7a4
lea ecx, [esi + 0xc]
mov dword [esi + 8], ebp
call fcn.00401b90
push 0x51f7a4
lea ecx, [esi + 0x10]
call fcn.00401b90
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0x14]
call fcn.0040bab0
push 0x51f7a4
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 0x51f7a0
mov dword [esi + 0x2c], ebp
call fcn.00401c70
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4021e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4db46f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402223
mov eax, dword [esi]
jmp 0x402225
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x3c]
test eax, eax
jge 0x402241
push 0x50d9d0
push edi
push eax
call fcn.004647ce
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x4022ae
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4022ae
mov eax, dword [esi]
test eax, eax
je 0x402295
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4022a5
push eax
call fcn.004c4c89
add esp, 4
push esi
call fcn.004c4c89
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x411620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dcdf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push esi
mov dword [esp + 0x14], 0
call fcn.00422fbf
add esp, 4
shl eax, 1
push eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00445730
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.00444650
mov ebp, dword [esp + 0x4c]
push 0xffffffffffffffff
mov dword [esp + 0x40], 1
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [esp + 0x58]
call fcn.00444830
lea ecx, [esp + 0x50]
call fcn.00444f60
mov esi, dword [esp + 0x48]
push eax
push ebp
push esi
lea edx, [esp + 0x20]
push 0x10
push edx
push 1
call fcn.00445830
lea ecx, [esp + 0x50]
call fcn.00444f60
mov ecx, ebp
mov edi, eax
mov eax, ecx
add edi, 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
call fcn.00444820
add eax, 0x30
lea ecx, [esp + 0x10]
push eax
call fcn.00444660
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
push ecx
call fcn.00411500
mov esi, eax
lea edx, [esp + 0x50]
mov byte [esp + 0x40], 3
push edx
call fcn.00411500
add esp, 8
mov edi, eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 4
call fcn.00444f60
push eax
lea ecx, [esp + 0x54]
call fcn.00444820
push eax
lea ecx, [esp + 0x58]
call fcn.00444f40
push eax
mov ecx, esi
call fcn.00444820
push eax
mov ecx, edi
call fcn.00444f40
push eax
push 3
call fcn.00445260
lea ecx, [esp + 0x4c]
mov esi, eax
mov byte [esp + 0x3c], 3
call fcn.00444780
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
call fcn.00444780
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x14]
call fcn.00444830
mov esi, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00444740
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call fcn.00444780
lea ecx, [esp + 0x50]
mov byte [esp + 0x3c], 0
call fcn.00444780
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret