joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44756f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e161
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e14a
test esi, esi
jbe 0x41e161
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e13c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e161
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e119
jmp 0x41e161
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e161
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447576
ret
Function at 0x41e9a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x447f53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e9df
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e9f8
lea eax, [ebp - 0x10]
mov edx, dword [0x460248]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ea0b
lea eax, [ebp - 0x10]
mov edx, dword [0x460248]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ea17
adc edx, 0
mov edx, dword [edx*4 + 0x45f0d8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb25
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41eb18
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41eb18
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d9c
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41eb18
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41eb18
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41eb18
cmp dx, 0x150
ja 0x41eb18
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41eb18
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41eb18
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41eb3d
inc ebx
cmp ebx, 0x19
jne 0x41e9d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447f5a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x11006a49
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0x20
mov eax, 0x11059baa
call fcn.11056857
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
push 0x1105f090
mov dword [ebp - 0x2c], esi
call fcn.110064d5
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x11006ac3
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11006ac3
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x11006abd
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x11006abb
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.11007e21
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov dword [esi + 0x14], ebx
call fcn.11007d5f
lea ecx, [ebp - 0x28]
call fcn.11007dbe
mov eax, esi
call fcn.11056801
ret

Function at 0x110072c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1107f428]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x11007331
cmp dword [esi + 0x14], 0
je 0x11007331
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.11056930
mov ebx, esp
test ebx, ebx
je 0x11007331
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1bc
call fcn.11038c4a
mov ecx, dword [esi + 0x14]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.11023e50
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110567db
leave
ret 0x10

Function at 0x11007cee
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.1101e958
mov ecx, dword [esi + 0x6c4]
test ecx, ecx
je 0x11007d14
push 0
call fcn.11019bec
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test al, al
jne 0x11007d35
cmp dword [esi + 0x6c4], 0
je 0x11007d35
mov ecx, dword [esi + 0x40]
push 0
call fcn.1102407e
pop esi
pop ebp
ret 4
Function at 0x11010050
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x8c
mov eax, 0x1105a1f4
call fcn.11056857
mov esi, ecx
lea eax, [ebp - 0x94]
push eax
call fcn.11010d5d
mov eax, dword [esi]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.11021be1
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11010113
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x110100d4
lea ecx, [ebp - 0x94]
call fcn.11039351
lea eax, [eax*2 + 2]
push eax
push 2
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x110100d4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
jne 0x110100dc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x11010113
push dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
call fcn.11039341
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x110100d4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov bl, 1
lea ecx, [ebp - 0x94]
call fcn.11038b1f
mov al, bl
call fcn.11056801
ret

Function at 0x11010a78
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0x20
mov eax, 0x1105a28f
call fcn.11056857
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
push 0x1105f090
mov dword [ebp - 0x2c], esi
call fcn.110064d5
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x11010af2
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11010af2
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x11010aec
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x11010aea
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.11007e21
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov dword [esi + 0x14], ebx
call fcn.11007d5f
lea ecx, [ebp - 0x28]
call fcn.11007dbe
mov eax, esi
call fcn.11056801
ret
Function at 0x11011109
Capabilities:
Get common file path

Disassembly:
push 0x2a4
mov eax, 0x1105a38d
call fcn.11056857
mov esi, ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
push 0x20a
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x21c]
push edi
push eax
mov dword [ebp - 0x2a4], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2a0]
call fcn.11038956
push edi
lea eax, [esi + 0x54]
mov dword [ebp - 4], edi
push eax
push ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.110112c2
add esp, 0xc
test eax, eax
js 0x110112ad
lea eax, [esi + 0xc8]
push eax
push ebx
call fcn.110113cd
pop ecx
pop ecx
test eax, eax
js 0x110112ad
mov ecx, dword [ebp - 0x2a4]
push 4
pop ebx
mov dword [esi + 0x10], ebx
call fcn.11011441
movzx ecx, al
mov eax, dword [esi + 0x14]
shl ecx, 3
and eax, 0xfffffff7
or ecx, eax
mov dword [ebp - 0x2b0], ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x2a4]
call fcn.11010beb
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2b0]
mov dword [esi + 0x2c], eax
mov eax, edx
push 2
test ecx, ecx
je 0x110111e5
mov ebx, dword [ecx + 0x20]
mov dword [esi + 0x10], ebx
pop ecx
test ebx, 0x100080
jne 0x110111e6
or eax, ecx
jmp 0x110111e6
pop ecx
test bl, 1
je 0x110111f0
push 3
pop ecx
jmp 0x110111f5
test bl, 2
je 0x110111fc
mov word [esi + 0xe0], cx
or eax, 0x20
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.11038c4a
push str.msftedit.dll
lea ecx, [ebp - 0x2a0]
call fcn.11038f4f
lea ecx, [ebp - 0x2a0]
call fcn.11039341
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x110112ad
push str.CreateTextServices
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x11011267
lea ecx, [ebp - 0x2a8]
push ecx
push esi
push edi
call eax
mov eax, dword [ebp - 0x2a8]
lea ebx, [esi + 0xc]
push ebx
push 0x11063b68
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [ebp - 0x2a8]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x110112ad
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x110112aa
mov edx, dword [eax + 0x24]
test edx, edx
je 0x110112aa
mov ecx, dword [ebx]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
js 0x110112ad
xor edi, edi
inc edi
lea ecx, [ebp - 0x2a0]
call fcn.11038b1f
mov eax, edi
call fcn.11056801
ret 8
Function at 0x1101375d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0x600]
test eax, eax
je 0x11013832
cmp dword [ebp + 8], 0x100
movzx ecx, bx
jne 0x110137d2
cmp ecx, 0xd
jne 0x110137d2
cmp byte [esi + 0x606], 0
je 0x110137bf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x110137a5
cmp byte [esi + 0x607], 0
je 0x110137bf
mov ecx, dword [esi + 0x600]
push dword [ebp + 0x14]
mov ecx, dword [ecx + 0xc]
push dword [ebp + 0x10]
push ebx
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0xc]
jmp 0x11013835
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x1101382e
xor eax, eax
push eax
push eax
push eax
push str.return
jmp 0x11013828
cmp dword [ebp + 8], 0x100
mov edx, ecx
jne 0x110137fe
cmp edx, 0x28
jne 0x110137fe
test byte [esi + 0x61c], 4
jne 0x110137fe
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x1101382e
xor eax, eax
push eax
push eax
push eax
push str.vkdown
jmp 0x11013828
cmp dword [ebp + 8], 0x100
mov ecx, eax
jne 0x110137ab
cmp edx, 0x26
jne 0x110137ab
test byte [esi + 0x61c], 4
jne 0x110137ab
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x1101382e
xor eax, eax
push eax
push eax
push eax
push str.vkup
push esi
call fcn.11023e50
xor eax, eax
jmp 0x11013835
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x1101a148
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1101a17a
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x1101c465
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1107f428]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor ecx, ecx
mov edx, dword [esi + 0x5f4]
test edx, edx
je 0x1101c4d1
mov eax, dword [esi + 0x5f8]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x110640f0]
addsd xmm1, qword [eax*8 + 0x110640f0]
divsd xmm1, xmm0
movd xmm0, dword [esi + 0x5f0]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si ecx, xmm1
movzx eax, word [ebp + 8]
sub eax, 0
je 0x1101c500
sub eax, 1
jne 0x1101c51f
cmp dword [esi + 0x5f0], 0
mov eax, dword [esi + 0x5e8]
jle 0x1101c4f6
imul eax, eax, 3
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + 0x5f0], ecx
jmp 0x1101c51f
cmp dword [esi + 0x5f0], 0
mov eax, dword [esi + 0x5e8]
jge 0x1101c517
imul eax, eax, 3
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esi + 0x5f0], eax
mov ecx, dword [esi + 0x5e8]
mov edx, dword [esi + 0x5f0]
imul eax, ecx, 0xa
cmp edx, eax
jle 0x1101c53a
mov dword [esi + 0x5f0], eax
jmp 0x1101c54b
imul ecx, ecx, 0xfffffff6
mov eax, edx
cmp edx, ecx
jge 0x1101c54b
mov dword [esi + 0x5f0], ecx
mov eax, ecx
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_labs
movd xmm0, dword [esi + 0x5e8]
cvtdq2pd xmm0, xmm0
push ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x11065c10]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
pop ecx
fstp qword [ebp - 0x40c]
movsd xmm0, qword [ebp - 0x40c]
pop ecx
call fcn.110570f1
push dword [esi + 0x5ec]
mov ecx, dword [esi + 0x40]
imul eax, eax, 3
push esi
mov dword [esi + 0x5f4], eax
mov dword [esi + 0x5f8], eax
call fcn.11021e86
mov ecx, dword [esi + 0x40]
push 0x1e
push dword [esi + 0x5ec]
push esi
call fcn.11024634
test al, al
jne 0x1101c616
push dword [esi + 0x5ec]
lea eax, [ebp - 0x404]
push str.m_pManager__KillTimer_p__m_TimerID_false_add_m_TimerID_try_againm_TimerID___d_r_n
push 0x400
push eax
call fcn.1101c65a
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc dword [esi + 0x5ec]
push dword [esi + 0x5ec]
mov ecx, dword [esi + 0x40]
push esi
call fcn.11021e86
mov ecx, dword [esi + 0x40]
push 0x32
push dword [esi + 0x5ec]
push esi
call fcn.11024634
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.110567db
leave
ret 4
Function at 0x11021f51
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x11021f74
or esi, 2
push 1
call edi
test ax, ax
jns 0x11021f80
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x11021f8c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x11021f98
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x11023468
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x188]
call fcn.1103935b
mov edi, dword [ebp + 8]
test eax, eax
jle 0x110234be
push ebx
lea ecx, [esi + 0x188]
mov byte [ebp + 0xb], 0
call fcn.11038cc7
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x1102351d
lea ecx, [esi + 0x188]
inc ebx
call fcn.1103935b
cmp ebx, eax
jl 0x11023487
sub edi, 0x100
je 0x1102358a
sub edi, 4
je 0x11023521
dec edi
sub edi, 1
jne 0x11023581
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
pop ecx
mov ecx, dword [esi + 0x108]
lea edx, [ebp + 8]
push VariantTimeToDosDateTime
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x11024d47
call dword [eax + 0x10c]
mov esi, eax
test esi, esi
je 0x11023581
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x11023583
cmp dword [esi + 0x10c], 0
je 0x11023581
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x120]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.11021f51
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x11023581
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x110235e3
mov eax, dword [ecx]
call dword [eax + 0xd0]
test al, al
je 0x110235e3
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x110235e3
mov ecx, dword [esi + 0x10c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call sub.VCRUNTIME140.dll_wcsstr
pop ecx
pop ecx
test eax, eax
je 0x110235e3
mov ecx, dword [esi + 0x10c]
call fcn.11011460
test al, al
jne 0x11023581
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.110243cc
jmp 0x1102351d
Function at 0x1102407e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi]
je 0x110240a5
cmp esi, dword [edi + 0x10c]
je 0x110240a5
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x10c]
cmp esi, eax
je 0x1102418b
test eax, eax
je 0x1102410c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x15
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x10c]
call fcn.11023e50
and dword [edi + 0x10c], 0
test esi, esi
je 0x1102418b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x1102418b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test al, al
je 0x1102418b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x1102418b
xorps xmm0, xmm0
mov dword [edi + 0x10c], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x16
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x10c]
call fcn.11023e50
pop edi
pop esi
leave
ret 4
Function at 0x11032e73
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x11032ea1
cmp eax, edi
jge 0x11032e95
push esi
call fcn.11031099
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x11032ec7
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x11032eaa
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x11032ee1
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x11032ed2
xor dl, dl
jmp 0x11032ed7
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x11032ec9
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x11032f16
push str.zlib_corrupt
call fcn.11030f53
add esp, 4
jmp 0x11032f53
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x11032f26
push str.read_past_buffer
jmp 0x11032f0c
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x11032f3d
push edi
push esi
call fcn.11030f62
pop ecx
pop ecx
test eax, eax
je 0x11032f53
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x1103a7a2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1107f428]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1103a85f
movzx eax, word [esi]
test ax, ax
je 0x1103a85f
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x1103a7e4
cmp dx, 0x5c
jne 0x1103a7e6
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1103a7d8
cmp edi, esi
je 0x1103a830
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x1103a86d
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.1103a7a2
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
lea eax, [ebp - 0x414]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.110567db
leave
ret
call fcn.110576fe
int3
Function at 0x1103b141
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x1103b1be
cmp dword [edi + 4], 0xffffffff
jne 0x1103b1be
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x11069554
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x1103b190
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x1103b190
mov eax, 0x2000000
jmp 0x1103b1c3
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1103d688
add esp, 0x10
test eax, eax
jne 0x1103b1ae
mov eax, dword [ebp - 4]
jmp 0x1103b1c3
push eax
call fcn.1103deb3
mov dword [edi], eax
mov eax, dword [0x11080a44]
pop ecx
jmp 0x1103b1c3
mov eax, 0x1000000
pop edi
leave
ret 0xc