joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48daf4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48db2c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048bb99
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048bb71
jmp 0x48db38
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48f2eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48f32d
call fcn.004958f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48f32d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48f324
xor eax, eax
jmp 0x48f335
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048f33b
pop edi
pop esi
pop ebx
ret 4

Function at 0x495e29
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x495e57
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x495e75
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00495d8f
jmp 0x495e75
mov eax, dword [esi + 0x14]
test eax, eax
je 0x495e75
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00495d8f
test edi, edi
mov eax, edi
jne 0x495e5f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4019e2
Capabilities:
Accept command line arguments

Disassembly:
inc eax
mov esi, 0x3f92bc
mov edi, dword [0x43edf4]
add esi, 0x8c25
lea ebx, [edi + 0x457]
mov edx, 0x14b
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x19
jne 0x401a13
movzx ecx, byte [esi]
mov al, 0
rep stosb byte es:[edi], al
inc esi
dec edx
je 0x401a17
jmp 0x401a14
stosb byte es:[edi], al
dec edx
jne 0x401a01
xchg ebx, edi
push edi
mov ecx, 0x2581
lodsb al, byte [esi]
stosb byte es:[edi], al
loop 0x401a1f
mov dword [0x43e3c2], edi
add edi, 0xf
mov ecx, 0x1819
lodsb al, byte [esi]
stosb byte es:[edi], al
loop 0x401a31
pop edi
push edi
mov ecx, 0x3da9
shr ecx, 1
neg byte [edi]
rol byte [edi], 1
neg byte [edi]
inc edi
neg byte [edi]
rol byte [edi], 6
neg byte [edi]
inc edi
loop 0x401a3e
pop edi
sub edi, 0x53
mov ecx, 0x57
mov dword [edi - 4], 0x30ac0dbf
mov eax, 0
rep stosb byte es:[edi], al
push esi
push ebx
mov ebx, edi
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
push edi
call sub.kernel32.dll_lstrlenA
mov ecx, eax
mov eax, 0x2f
repne scasb al, byte es:[edi]
test ecx, ecx
je 0x401ab4
cmp dword [edi], 0x69627573
jne 0x401ab0
add edi, 6
mov esi, edi
mov eax, 0x20
repne scasb al, byte es:[edi]
cmp byte [edi - 1], 0x20
jne 0x401aa2
mov byte [edi - 1], 0
push esi
call fcn.0043c3b0
mov dword [0x43e2f5], edi
jmp 0x401ab2
jmp 0x401a7e
jmp 0x401abc
inc esi
jmp 0x401ab4
mov edi, ebx
stosd dword es:[edi], eax
push esi
push edi
call sub.kernel32.dll_lstrcpyA
mov eax, dword [0x43e2f5]
mov byte [eax - 1], 0x20
add edi, 0x32
mov ebx, edi
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
push edi
call sub.kernel32.dll_lstrlenA
mov ecx, eax
mov eax, 0x2f
repne scasb al, byte es:[edi]
test ecx, ecx
je 0x401b0f
cmp dword [edi], 0x69627570
jne 0x401b0b
cmp word [edi + 4], 0x3d64
jne 0x401b0b
movzx eax, byte [edi + 6]
cmp eax, 0x20
jne 0x401b0d
xor eax, eax
jmp 0x401b0d
jmp 0x401ae8
jmp 0x401b14
mov eax, 0
mov edi, ebx
stosb byte es:[edi], al
pop ebx
pop esi
mov eax, dword [0x445216]
stosd dword es:[edi], eax
mov eax, dword [0x44521a]
stosd dword es:[edi], eax
mov eax, dword [0x44521e]
stosd dword es:[edi], eax
movzx eax, byte [0x43e3c1]
stosb byte es:[edi], al
call fcn.00401b9a
mov eax, 0x444e7d
mov ecx, 2
call fcn.00401972
test eax, eax
jle 0x401e22
push eax
push edx
push ecx
mov byte [esp + 2], 0x52
sub byte [esp + 2], 5
mov byte [esp + 3], 0x5a
mov dword [esp + 4], 0x30090
push 0x41fb
push dword [0x43edf4]
sub dword [esp], 0xeac38f
add dword [esp], 0xeac391
add dword [esp], 3
push eax
push 5
lea ecx, [esp]
add ecx, 0x12
push ecx
push eax
push 0x401bbe
inc dword [esp]
ret
call sub.kernel32.dll_ExitProcess
Function at 0x411fc950
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x411fcb1d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp 0x411fc97a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411fc981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411fc970
mov eax, 1
add ebx, ebx
jne 0x411fc993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411fc988
jne 0x411fc9a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411fc988
xor ecx, ecx
sub eax, 3
jb 0x411fc9b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411fca2a
mov ebp, eax
add ebx, ebx
jne 0x411fc9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411fc9d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411fc9f4
inc ecx
add ebx, ebx
jne 0x411fc9e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411fc9d5
jne 0x411fc9f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411fc9d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411fca14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411fca05
jmp 0x411fc976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411fca14
add edi, ecx
jmp 0x411fc976
pop esi
mov edi, esi
mov ecx, 0xe7f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411fca32
cmp byte [edi], 6
jne 0x411fca32
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 0x411fca37
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x411fcaaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c434]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c510]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411fca64
mov ecx, edi
jns 0x411fca93
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 + 0x2c514]
or eax, eax
je 0x411fcaa9
mov dword [ebx], eax
add ebx, 4
jmp 0x411fca81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x411fcae0
cmp al, 0xef
ja 0x411fcad3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x411fcab5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x411fcac2
mov ebp, dword [esi + 0x2c518]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x411fcb14
sub esp, 0xffffff80
jmp 0x411d3849
Function at 0x10009e68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c3d
mov esp, ebp
pop ebp
ret
Function at 0x102fa298
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104cc09e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x105e0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x102fa224
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x10512a78
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0x10512a80
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call dword [sym.imp.mSvCp140.DLl_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
call fcn.1001e500
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.mSvCp140.DLl_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
sub ecx, 0x68
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx - 4], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x18], ecx
push 3
mov ecx, dword [ebp - 0x18]
call fcn.102fa170
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x103299e8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104cccf1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x105e0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [0x105f36ac]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x105f0660]
cmp eax, dword [edx + 8]
jle 0x103298de
push 0x105f0660
call fcn.104b541b
add esp, 4
cmp dword [0x105f0660], 0xffffffff
jne 0x103298de
mov dword [ebp - 4], 0
xor ecx, ecx
je 0x103298ac
call fcn.1036bdf0
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.103024b0
mov dword [ebp - 0x14], eax
jmp 0x103298c1
call fcn.10364fe0
mov dword [ebp - 0x24], eax
push 0
mov ecx, dword [ebp - 0x24]
call fcn.103024b0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [0x105f065c], edx
mov dword [ebp - 4], 0xffffffff
push 0x105f0660
call fcn.104b53ca
add esp, 4
mov eax, dword [0x105f36ac]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x105f0664]
cmp eax, dword [edx + 8]
jle 0x10329981
push 0x105f0664
call fcn.104b541b
add esp, 4
cmp dword [0x105f0664], 0xffffffff
jne 0x10329981
mov ecx, 1
test ecx, ecx
je 0x10329933
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x38]
mov dword [ebp - 0x18], edx
jmp 0x10329947
mov dword [ebp - 0x40], 0x10512168
mov dword [ebp - 0x3c], 0x102eb9f0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [0x105b7100], eax
mov dword [0x105b7104], ecx
mov dword [0x105b7108], 0
mov dword [0x105b710c], 0
push 0x105f0664
call fcn.104b53ca
add esp, 4
mov edx, dword [0x105f065c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.1046a770
add esp, 8
test eax, eax
je 0x103299df
mov edx, dword [0x105f065c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.1046b530
add esp, 8
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call fcn.1046bd50
add esp, 0xc
push 0x10512334
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.1046b990
add esp, 0xc
mov dword [ebp - 0x1c], 1
jmp 0x103299e6
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 1
jne 0x10329a13
mov ecx, 0x105b7070
call fcn.102f8310
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.1035d7c0
add esp, 0xc
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.1046ba40
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10333668
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104b7570
mov eax, dword fs:[0]
push eax
mov eax, dword [0x105e0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10347640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10345be8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.10336610
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.10336610
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1002e2d0
add esp, 0x10
mov esp, ebp
pop ebp
ret 4

Function at 0x10396ea8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10396e80
mov esp, ebp
pop ebp
ret

Function at 0x10397038
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.1035b3a0
movzx eax, al
test eax, eax
je 0x1039701d
mov eax, dword [ebp - 4]
jmp 0x1039703e
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.102fd8d0
push 0x105ac86c
lea edx, [ebp - 0x10]
push edx
call sub.VCRuNTIme140.dLl__CxxThrowException
mov esp, ebp
pop ebp
ret
Function at 0x103a57c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x105e0c00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x50], ecx
cmp dword [0x105f3568], 0
je 0x103a5716
cmp dword [0x105f3560], 0
je 0x103a5716
mov ecx, dword [ebp - 0x50]
call fcn.103a59e0
movzx eax, al
test eax, eax
jne 0x103a5728
mov ecx, dword [0x105f3610]
call fcn.10399070
mov eax, dword [eax]
jmp 0x103a57e8
mov dword [ebp - 0x4c], 0xffffffff
mov ecx, dword [0x105f3560]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
jmp 0x103a5746
mov eax, dword [ebp - 0x48]
sub eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [0x105f3560]
mov edx, dword [ecx + 4]
sub edx, 0x95
cmp dword [ebp - 0x48], edx
jle 0x103a57a7
mov eax, dword [ebp - 0x48]
cdq
mov ecx, 0x96
idiv ecx
shl edx, 5
add edx, dword [ebp - 0x50]
mov ecx, 8
mov esi, edx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movzx edx, byte [ebp - 8]
test edx, edx
je 0x103a5787
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x48]
je 0x103a5789
jmp 0x103a573d
cmp dword [ebp - 0xc], 0
je 0x103a579b
cmp dword [ebp - 0x10], 0
jne 0x103a579b
cmp dword [ebp - 0x14], 0
jne 0x103a579d
jmp 0x103a573d
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
jmp 0x103a57a7
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x103a57bc
mov ecx, dword [0x105f3610]
call fcn.10399070
mov eax, dword [eax]
jmp 0x103a57e8
mov eax, dword [ebp - 0x4c]
cdq
mov ecx, 0x96
idiv ecx
shl edx, 5
add edx, dword [ebp - 0x50]
mov ecx, 8
mov esi, edx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x105f3560]
mov eax, dword [edx + 4]
sub eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x34]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.104b547f
mov esp, ebp
pop ebp
ret
Function at 0x103d8398
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.103355c0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0xd]
test edx, edx
jne 0x103d8407
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
call fcn.10302860
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
call fcn.1001e500
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001a4c0
movzx edx, al
test edx, edx
je 0x103d83ea
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 4], edx
jmp 0x103d8405
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x103d838e
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x103dbdf8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
movzx eax, word [ebp + 8]
test eax, eax
jne 0x103dbd6f
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 0x376c]
test edx, edx
je 0x103dbd7d
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x3769]
test ecx, ecx
jne 0x103dbd82
jmp 0x103dbe18
movzx edx, word [ebp + 8]
and edx, 0xfc00
cmp edx, 0xd800
jne 0x103dbdbf
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x376c]
test ecx, ecx
je 0x103dbdaf
push 0xfffd
mov ecx, dword [ebp - 8]
call fcn.103dbcd0
mov edx, dword [ebp - 8]
mov ax, word [ebp + 8]
mov word [edx + 0x376c], ax
jmp 0x103dbe18
mov cx, word [ebp + 8]
mov word [ebp - 4], cx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x376c]
test eax, eax
je 0x103dbe0b
movzx ecx, word [ebp + 8]
and ecx, 0xfc00
cmp ecx, 0xdc00
je 0x103dbdf6
push 0xfffd
mov ecx, dword [ebp - 8]
call fcn.103dbcd0
jmp 0x103dbdff
mov edx, 0xfffd
mov word [ebp - 4], dx
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ecx + 0x376c], ax
movzx edx, word [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.103dbcd0
mov esp, ebp
pop ebp
ret 4

Function at 0x103e65c8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 1
jmp 0x103e65f2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 2
jge 0x103e660a
imul eax, dword [ebp - 0xc], 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + eax]
mov dword [ebp - 0x18], edx
jmp 0x103e65e9
mov eax, 0xc
imul ecx, eax, 0
add ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.103fd1f0
mov dword [ebp - 0x10], 1
jmp 0x103e6636
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x103e66ba
imul ecx, dword [ebp - 0x10], 0xc
add ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1035c000
movzx edx, al
test edx, edx
je 0x103e6657
jmp 0x103e662d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
shl ecx, 2
mov dword [ebp - 0x24], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.103db560
mov dword [ebp - 0x28], eax
mov edx, 0xc
imul eax, edx, 0
add eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.103db560
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.VCRuNTIme140.dLl_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.103fd1f0
jmp 0x103e662d
mov esp, ebp
pop ebp
ret
Function at 0x103e82d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x105f27f0]
mov ecx, dword [eax + 0x3e40]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
mov eax, dword [ebp - 4]
add eax, 0x228
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.103db7b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x103e82f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x2000000
je 0x103e830b
mov dword [ebp - 4], 1
jmp 0x103e8312
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1043fc08
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104b7aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x105e0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push fcn.102fd4c0
push 3
push 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.10008190
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
call fcn.102fd4c0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax], edx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002de10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1043f630
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.1043f660
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10440188
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [ebp + 8]
test eax, eax
jl 0x10440185
mov dword [ebp - 4], 1
jmp 0x1044018c
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10440ef8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x104b7030
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x105e0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1043f510
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10