joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c93e3
Capabilities:
Check mutex on windows
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa004]
mov eax, 0xa004
call fcn.10102790
push 0xffffffffffffffff
push 0x10148526
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0xa000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xa00c]
call fcn.1005d105
test eax, eax
pop ecx
je 0x100c95ac
xor ebx, ebx
push 0x9ffe
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.101027c0
push dword [ebp + 0xa00c]
mov esi, 0x5000
push 0x10164290
push 0xffffffffffffffff
lea eax, [ebp]
push esi
push eax
call fcn.10101c5e
add esp, 0x20
cmp eax, ebx
jl 0x100c95ac
cmp eax, 0x4fff
ja 0x100c95ac
lea ecx, [ebp + 0xa014]
push ecx
push dword [ebp + 0xa010]
sub esi, eax
push 0xffffffffffffffff
lea eax, [ebp + eax*2]
push esi
push eax
call fcn.10101028
add esp, 0x14
cmp eax, ebx
jl 0x100c95ac
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
push ebx
mov ecx, 0x1019ee80
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp edi, ebx
je 0x100c95ac
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x100c94dc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c95ac
lea eax, [ebp - 0x18]
push eax
call fcn.100de6a3
mov dword [esp], str.TRACE.log
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.100058db
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x10]
call fcn.10103ee5
test eax, eax
pop ecx
pop ecx
jne 0x100c9525
cmp dword [ebp - 0x28], 0xfa000
jle 0x100c9525
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10164274
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100c9596
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x100c958d
lea esi, [eax + eax]
mov eax, esi
call fcn.10102de0
mov eax, esp
push ebx
push esi
lea ecx, [ebp]
push ecx
push eax
call fcn.1000c619
mov esi, eax
cmp esi, ebx
je 0x100c958d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x100c9575
push dword [ebp - 0x14]
sub ecx, edx
push ecx
push 1
push esi
call fcn.10103ca7
add esp, 0x10
push dword [ebp - 0x14]
call fcn.10103005
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa000]
xor ecx, ebp
call fcn.101018a3
add ebp, 0xa004
leave
ret
Function at 0x100ce9dd
Capabilities:
Hide graphical window

Disassembly:
push 0x208
mov eax, 0x10149096
call fcn.1010191b
mov eax, dword [ebp + 0x10]
test eax, eax
mov esi, ecx
je 0x100cea90
push eax
lea ecx, [ebp - 0x214]
call fcn.1000587e
push dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
and dword [ebp - 4], 0
call edi
test eax, eax
je 0x100cea85
push dword [esi + 0x50]
call edi
test eax, eax
je 0x100cea85
push dword [ebp - 0x214]
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.1002e3cd
and word [ebp - 0x210], 0
push 0x1fe
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.101027c0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0x80
push dword [0x1019fa94]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.100cd6dd
push 5
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x214]
call fcn.100015d9
xor eax, eax
call fcn.1010199e
ret 0x10

Function at 0x100ceaf9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101490f1
call fcn.101018b2
mov esi, ecx
mov eax, dword [ebp + 0x14]
and dword [eax], 0
cmp word [ebp + 0xc], 0xd
je 0x100ceb1f
cmp word [ebp + 0xc], 0xa
jne 0x100cebe1
cmp word [ebp + 0xc], 0xa
mov edi, dword [sym.imp.USER32.dll_IsWindow]
jne 0x100cebc4
push dword [esi + 0xbc]
call edi
test eax, eax
je 0x100cebe1
mov eax, dword [0x1019a028]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
push 0x401
lea ecx, [ebp + 0xc]
call fcn.10001a82
push 0x400
push eax
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.10001c5b
lea eax, [ebp + 0xc]
push eax
push str.www.
lea eax, [ebp - 0x10]
push eax
call fcn.1000c27f
push 0x101555e0
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.100058db
push dword [eax]
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
call fcn.100015d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.100015d9
mov ecx, esi
call fcn.100ce37c
push dword [esi + 0xc]
call edi
test eax, eax
je 0x100cebe1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0xc], 0
xor eax, eax
call fcn.1010198a
ret 0x10
Function at 0x100cfae7
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, 0x1019e718
call fcn.1003a74a
test eax, eax
lea esi, [edi + 4]
push 0x3f8
push dword [esi]
je 0x100cfb1b
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x24]
call fcn.1002f082
mov dword [edi + 0x78], 4
jmp 0x100cfb2a
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.1000bbaa
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x100d3f88
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x100d3fc8
cmp dword [esp + 8], 0
je 0x100d3fc8
push 4
pop edx
xor eax, eax
push esi
inc eax
push edi
movzx edi, byte [ecx]
dec dword [esp + 0x10]
mov esi, eax
and esi, 0x3f
add esi, edx
imul esi, edi
mov edi, eax
shl edi, 8
add esi, edi
xor eax, esi
inc ecx
add edx, 3
cmp dword [esp + 0x10], 0
jne 0x100d3f9f
pop edi
pop esi
jmp 0x100d3fca
xor eax, eax
ret 8

Function at 0x100d4059
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
lea ebx, [edi + 4]
mov eax, dword [ebx]
inc ebp
test eax, eax
mov esi, ecx
push 0
je 0x100d40a5
add eax, 8
push eax
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d40a1
push dword [esi + 0x14c]
add edi, 8
push ebp
push 4
push edi
call fcn.10103ca7
add esp, 0x10
cmp eax, ebp
je 0x100d40d7
xor eax, eax
jmp 0x100d410d
push 0x28
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d40a1
push dword [esi + 0x14c]
add edi, 8
push ebp
push 4
push edi
call fcn.10103ca7
add esp, 0x10
cmp eax, ebp
jne 0x100d40a1
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov edi, dword [edi]
test edi, edi
je 0x100d410b
push 0
add edi, 4
push edi
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d40a1
push dword [esi + 0x14c]
push ebp
push 4
push ebx
call fcn.10103ca7
add esp, 0x10
cmp eax, ebp
jne 0x100d40a1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x100d4115
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea eax, [esi + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [eax]
cmp eax, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
je 0x100d4175
push ebx
add eax, 0x10
push eax
push dword [edi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d4283
push dword [edi + 0x14c]
inc ebx
push ebx
lea eax, [esi + 0x10]
push 4
push eax
call fcn.10103ca7
add esp, 0x10
cmp eax, ebx
jne 0x100d4283
mov dword [esp + 0x10], ebx
jmp 0x100d4246
movzx eax, word [esi + 0x2c]
inc eax
push eax
call fcn.10100af4
mov ebp, eax
cmp ebp, ebx
pop ecx
je 0x100d4283
push ebx
push dword [esi + 0x28]
push dword [edi + 0x14c]
call fcn.10105fcb
xor ebx, ebx
add esp, 0xc
inc ebx
test eax, eax
jne 0x100d4238
push dword [edi + 0x14c]
movzx eax, word [esi + 0x2c]
push ebx
push eax
push ebp
call fcn.101034cc
add esp, 0x10
cmp eax, ebx
jne 0x100d4238
movzx eax, word [esi + 0x2c]
push 0xa0
push 0x1019f494
push eax
push ebp
call fcn.100565f8
movzx eax, word [esi + 0x2c]
mov byte [eax + ebp], 0
movzx eax, word [esi + 0x2c]
add esp, 0x10
push eax
push ebp
call dword [sym.imp.USER32.dll_CharLowerBuffA]
movzx eax, word [esi + 0x2c]
push eax
push ebp
mov ecx, edi
call fcn.100d3f88
xor edx, edx
div dword [edi + 0x3c]
push 0
lea eax, [edx*4 + 0x140]
push eax
push dword [edi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d4238
push dword [edi + 0x14c]
lea eax, [esi + 0x10]
push ebx
push 4
push eax
call fcn.10103ca7
add esp, 0x10
cmp eax, ebx
jne 0x100d4238
mov dword [esp + 0x10], ebx
push ebp
call fcn.10101095
cmp dword [esp + 0x14], 0
pop ecx
je 0x100d4283
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100d4283
push 0
add esi, 0xc
push esi
push dword [edi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d427e
push dword [edi + 0x14c]
push ebx
push 4
push dword [esp + 0x24]
call fcn.10103ca7
add esp, 0x10
cmp eax, ebx
je 0x100d4283
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x100d428f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
mov esi, ecx
call fcn.100d4059
mov ebx, eax
test ebx, ebx
je 0x100d4358
push edi
mov ecx, esi
call fcn.100d4115
mov ebx, eax
test ebx, ebx
je 0x100d4358
mov eax, dword [esi + 0x30]
push 0
push 0x2c
push dword [esi + 0x14c]
dec eax
mov dword [ebp - 4], eax
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d4356
push dword [esi + 0x14c]
lea eax, [ebp - 4]
push 1
push 4
push eax
call fcn.10103ca7
add esp, 0x10
cmp eax, 1
jne 0x100d4356
mov eax, dword [ebp - 4]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x28]
jne 0x100d4358
mov eax, dword [edi + 8]
and dword [ebp + 0xc], 0
test eax, eax
je 0x100d4313
mov dword [ebp + 0xc], eax
jmp 0x100d431d
mov edi, dword [edi + 4]
test edi, edi
je 0x100d431d
mov dword [ebp + 0xc], edi
push 0
push 0x24
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d4356
push dword [esi + 0x14c]
lea eax, [ebp + 0xc]
push 1
push 4
push eax
call fcn.10103ca7
add esp, 0x10
cmp eax, 1
jne 0x100d4356
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
jmp 0x100d4358
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x100d4361
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
mov esi, ecx
je 0x100d43da
push 0
push eax
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d43da
push ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14c]
push 1
push 0x50
push ebx
call fcn.101034cc
xor ecx, ecx
inc ecx
add esp, 0x10
cmp eax, ecx
jne 0x100d43d9
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx]
je 0x100d43d0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100d43d5
push 0
push eax
mov dword [edi], eax
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
je 0x100d438f
jmp 0x100d43d9
mov dword [ebp - 4], ecx
jmp 0x100d43d9
and dword [ebp - 4], 0
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc
Function at 0x100d6029
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x10149ccb
call fcn.101018b2
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x148], edi
mov dword [ebp - 4], edi
jne 0x100d6094
push 0x2d
push 0x5c
lea ecx, [ebp + 8]
call fcn.100b82b5
push dword [ebp + 8]
mov ecx, 0x1019ee80
push edi
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [esi + 0x148], eax
je 0x100d6094
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100d6082
inc edi
jmp 0x100d6094
push dword [esi + 0x148]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x148], edi
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, edi
call fcn.1010198a
ret 4

Function at 0x100d644b
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x10149d41
call fcn.101018b2
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
lea eax, [ebp + 8]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.1000584b
mov ecx, esi
call fcn.100d6029
cmp eax, ebx
je 0x100d6533
mov edi, 0x140
push edi
lea eax, [esi + 4]
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.101027c0
push 0x10155e2c
push dword [ebp + 8]
lea ebx, [esi + 0x14c]
and dword [ebx], 0
push ebx
call fcn.101035c0
add esp, 0x18
test eax, eax
jne 0x100d651c
mov eax, dword [ebx]
test eax, eax
je 0x100d651c
push eax
push 1
push edi
push dword [ebp - 0x14]
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x100d651c
mov esi, dword [ebp - 0x14]
push 6
mov edi, str.urlog
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100d64e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100d6519
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
cmp eax, 2
ja 0x100d6519
xor esi, esi
inc esi
cmp eax, esi
jbe 0x100d6519
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3c], 0
jbe 0x100d6519
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
add ecx, 0x144
call fcn.10005459
mov dword [ebp - 0x18], esi
jmp 0x100d6533
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x100d652c
push eax
call fcn.10103005
and dword [ebx], 0
pop ecx
mov ecx, esi
call fcn.100d4033
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, dword [ebp - 0x18]
call fcn.1010198a
ret 4
Function at 0x100d6823
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x828
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x828], eax
push 8
mov eax, 0x10149dcd
call fcn.101018b2
mov ebx, dword [ebp + 0x834]
mov edi, dword [ebp + 0x838]
mov esi, ecx
and dword [ebp - 4], 0
or dword [ebp - 0x14], 0xffffffff
cmp dword [ebx], 0
je 0x100d696c
push 0x824
lea eax, [ebp + 1]
push 0
push eax
mov byte [ebp], 0
call fcn.101027c0
push 0
push dword [ebx]
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0x18
jmp 0x100d6950
push dword [esi + 0x14c]
push 1
push 0x50
push edi
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x100d696c
push 0
push dword [edi + 0x28]
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100d696c
push dword [esi + 0x14c]
movzx eax, word [edi + 0x2c]
push 1
push eax
lea eax, [ebp]
push eax
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x100d696c
movzx eax, word [edi + 0x2c]
push 0xa0
push 0x1019f494
push eax
lea eax, [ebp]
push eax
call fcn.100565f8
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
add esp, 0x10
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100274f6
push dword [ebp - 0x10]
push dword [ebp + 0x83c]
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
je 0x100d695a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100d6963
mov dword [ebx], eax
call fcn.100015d9
push 0
push dword [ebx]
push dword [esi + 0x14c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
je 0x100d6891
jmp 0x100d696c
mov dword [ebp - 0x14], 1
jmp 0x100d6967
and dword [ebp - 0x14], 0
call fcn.100015d9
lea ecx, [ebp + 0x83c]
call fcn.100015d9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x828]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x82c
leave
ret 0xc
Function at 0x100d8557
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x1014a128
call fcn.101018e5
mov dword [ebp - 0x1c], ecx
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
mov dword [ebp - 4], esi
je 0x100d85ee
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x100d85ee
push eax
mov byte [ebp - 4], 1
call fcn.10100af4
pop ecx
mov ebx, eax
jmp 0x100d85b6
cmp ebx, esi
je 0x100d85ee
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp + 8], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100d85ee
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.100d82a3
cmp edi, esi
mov ebx, eax
je 0x100d85ea
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x100d85fb
cmp edi, esi
je 0x100d85f9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.1010198a
ret 4
Function at 0x100d8969
Capabilities:
Initialize iwebbrowser2
Log keystrokes

Disassembly:
push 0x18
mov eax, 0x1014a1a1
call fcn.101018b2
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov ecx, 0x1019e6e0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
call fcn.100ad594
cmp dword [ebp - 0x14], esi
je 0x100d899e
push esi
push dword [ebp - 0x14]
mov ecx, 0x1019e9fc
call fcn.10076af3
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x1016f3c8
push 0x15
push esi
push 0x1016f388
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
mov eax, dword [ebp - 0x10]
jl 0x100d8a7b
cmp eax, esi
je 0x100d8a7b
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov ebx, dword [ebp - 0x18]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100d8a5a
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
call edi
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call ebx
push dword [ebp - 0x20]
call edi
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.10061870
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x100d8a76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
jmp 0x100d8a90
mov edi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
mov dword [edi], esi
je 0x100d8a8e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.1010198a
ret
Function at 0x100da707
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.10102790
or dword [ebp - 4], 0xffffffff
push edi
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [ebp - 0xc], eax
jbe 0x100da7f1
push ebx
push esi
mov eax, 0x4000
cmp dword [ebp - 0xc], eax
ja 0x100da75c
mov eax, dword [ebp - 0xc]
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100da7ef
mov esi, dword [ebp - 0x14]
cmp esi, edi
jbe 0x100da7ef
mov eax, esi
xor ecx, ecx
shr eax, 2
je 0x100da7a9
movzx ebx, byte [ebp - 4]
movzx edx, byte [ebp + ecx*4 - 0x4014]
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 8
xor ebx, dword [edx*4 + 0x10165338]
inc ecx
cmp ecx, eax
mov dword [ebp - 4], ebx
jb 0x100da786
mov edx, esi
and edx, 3
je 0x100da7e0
movzx eax, byte [ebp + eax*4 - 0x4014]
push 4
pop ecx
sub ecx, edx
shl ecx, 3
or edx, 0xffffffff
shr edx, cl
movzx ecx, dl
and ecx, eax
movzx eax, byte [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [ecx*4 + 0x10165338]
mov dword [ebp - 4], eax
add dword [ebp - 8], esi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x100da74f
pop esi
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
pop edi
jb 0x100da806
not dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x100daab3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x1014a822
call fcn.101018b2
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push dword [0x1019fa94]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x100daae5
xor eax, eax
jmp 0x100dac15
push edi
push dword [0x1019fa94]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x1019fa94]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x100daade
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp - 0x20]
push eax
call fcn.10102a40
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.100da8f3
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
je 0x100dabeb
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c]
push eax
call fcn.1000d1b8
add esp, 0x10
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.1005b7c4
pop ecx
pop ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.1005be95
push dword [ebp - 0x24]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.1000d2de
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
je 0x100dabeb
push dword [ebp - 0x14]
call fcn.1005bd43
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100025db
mov eax, dword [ebp - 0x24]
call fcn.1010198a
ret