joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040380
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x100c077d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100e2f80]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0x10ea2658
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10ea2658
call fcn.10002748
push 0x103
add eax, 2
push 0x10ea2658
mov dword [0x10ea2650], eax
lea eax, [ebp]
push 0x119
push eax
call fcn.10005407
mov esi, dword [str.TextractorConfig.txt]
lea eax, [ebp]
push 0x5c
push eax
call fcn.10002748
push esi
add eax, 2
push 0x15
push eax
call fcn.100035e4
add esp, 0x2c
lea eax, [ebp]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10040504
cmp esi, 0xffffffff
je 0x10040504
push 0
push 0x100e4448
push 0x3e7
push 0x10ea2860
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 7
push str.Engine:
push 0x10ea2860
call fcn.10005fa1
add esp, 0xc
test eax, eax
jne 0x100404c6
push 0xa
push 0x10ea2860
call fcn.10001e06
add esp, 8
mov dword [0x100e2620], eax
test eax, eax
je 0x1004049f
mov byte [eax], 0
inc dword [0x100e2620]
push 0x10ea2867
push str.Textractor:_Engine___s
mov dword [0x100e28c0], 0x10ea2867
call fcn.10003a08
mov eax, dword [0x100e2620]
add esp, 8
test eax, eax
je 0x100404d5
jmp 0x100404d0
mov eax, 0x10ea2860
mov dword [0x100e2620], eax
cmp byte [eax], 0
je 0x100404fa
push str.https:__
push 0x10ea2860
call fcn.10003fee
add esp, 8
test eax, eax
jne 0x100404fa
push str.Textractor:_game_configuration_loaded
call fcn.10003a08
add esp, 4
jmp 0x10040504
mov dword [0x100e2620], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x1004051b
cmp esi, 0xffffffff
je 0x1004051b
push esi
call dword [0x100c4fb4]
push 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, eax
mov dword [0x10ea264c], ecx
mov dword [0x10ea2648], ecx
nop
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push ecx
call esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
add ecx, edx
cmp dword [ebp - 0x18], 1
mov dword [0x10ea264c], ecx
ja 0x10040540
mov eax, dword [0x10ea2648]
sub ecx, edx
push ecx
push eax
push str.Textractor:_hijacking_process_located_from_0x_p_to_0x_p
mov dword [0x10ea264c], ecx
mov dword [0x100e2078], eax
mov dword [0x100e207c], ecx
call fcn.10003a08
add esp, 0xc
call fcn.100047aa
mov eax, dword [0x10ea2648]
add eax, 0x40000
cmp eax, dword [0x10ea264c]
jbe 0x100405a8
push str.Textractor:_WARNING_injected_process_is_very_small__possibly_a_dummy_
call fcn.10003a08
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
call fcn.10002da1
lea esp, [ebp + 0x238]
pop ebp
ret
Function at 0x1004a340
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10ea4d20]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1004a382
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1004a3a8
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1004a3c9
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1004a3c9
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1004a3c3
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1004a3c9
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1004a4a0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, dword [esp + 0x2c]
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1004a58f
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1004a588
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x1004a56b
call ebp
cmp dword [esp + 0x1c], eax
jne 0x1004a56b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x1004a56b
mov eax, dword [esi]
test eax, eax
jne 0x1004a535
push 0x200
push eax
mov dword [esi + 4], 0x80
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x1004a586
lea edi, [esi + 8]
jmp 0x1004a560
mov ecx, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], ecx
jb 0x1004a560
shl ecx, 3
push ecx
push eax
push 0
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1004a586
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1004a4f0
pop edi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.10002da1
add esp, 0x20
ret
Function at 0x1004a6d0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1004a4a0
add esp, 4
cmp dword [esi], 0
je 0x1004a73f
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1004a73e
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1004a736
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
push dword [esp + 0x1c]
push ebx
call fcn.1004ae70
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1004a705
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x1004afb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
xor ebp, ebp
call fcn.1004a440
cmp dword [0x10ea33b4], ebp
je 0x1004b04e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1004b00d
xor esi, esi
cmp dword [0x10ea4d28], esi
jbe 0x1004b053
push ebx
mov bl, byte [esp + 0x14]
push edi
shl bl, 2
xor edi, edi
mov edx, dword [0x10ea4d20]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10ea4d28]
jb 0x1004afe2
pop edi
pop ebx
call fcn.1004a760
pop esi
mov eax, ebp
pop ebp
ret
push eax
call fcn.1004a5e0
add esp, 4
cmp eax, 0xffffffff
je 0x1004b03f
mov cl, byte [esp + 0x10]
imul edx, eax, 0x2c
mov eax, dword [0x10ea4d20]
shl cl, 2
xor cl, byte [edx + eax + 0x14]
and cl, 4
xor byte [edx + eax + 0x14], cl
call fcn.1004a760
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 4
call fcn.1004a760
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 2
call fcn.1004a760
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x1004b090
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x1004b0e8
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1004b0d7
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1004b0cf
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1004b0b0
pop ebp
pop ebx
push dword [edi]
push 0
push dword [0x10ea33b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret

Function at 0x1004b1b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ea4d10]
test eax, eax
je 0x1004b1cc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1004b21f
mov eax, dword [eax]
test eax, eax
jne 0x1004b1c0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1004b21d
push esi
push edi
xor edi, edi
mov dword [edx + 8], 0
lea ecx, [edx + 0x20]
lea esi, [edi + 0x20]
mov dword [ecx], edi
mov eax, ecx
mov dword [edx + 4], ecx
add esi, 0x20
add ecx, 0x20
mov edi, eax
cmp esi, 0xfe0
jbe 0x1004b1f7
mov eax, dword [0x10ea4d10]
pop edi
mov dword [edx], eax
pop esi
mov dword [0x10ea4d10], edx
mov eax, edx
ret
Function at 0x1004b6a0
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x1004b6b5
cmp cl, 0x90
je 0x1004b6b5
cmp cl, 0xcc
jne 0x1004b6d3
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1004b6cc
cmp byte [eax + edx], cl
jne 0x1004b6d3
inc eax
cmp eax, esi
jb 0x1004b6c2
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10092448
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10092487
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10092487
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10092487
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10092487
cmp dword [ecx + 0x74], 0xe
jbe 0x10092487
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100a1e04
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100e2f80]
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 0x100a1e4f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.100a2305
test al, al
jne 0x100a1e49
sub edx, 2
cmp edx, edi
jne 0x100a1e2f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x100a1e71
lea eax, [edi + 2]
cmp edx, eax
je 0x100a1e71
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.100a19fd
add esp, 0x10
jmp 0x100a1f6b
push esi
lea ecx, [ebp - 0x255]
call fcn.100a2305
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 0x100a1eb4
push dword [ebp - 0x25c]
jmp 0x100a1e61
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 0x100a1ef1
cmp word [ebp - 0x226], 0
je 0x100a1f12
cmp word [ebp - 0x226], ax
jne 0x100a1ef1
cmp word [ebp - 0x224], 0
je 0x100a1f12
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.100a19fd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x100a1f5e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x100a1ecb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x100a1f46
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x100a1f6b
push 0x100a12e3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10004fd9
add esp, 0x10
jmp 0x100a1f3b
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.10002da1
leave
ret

Function at 0x100a805c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10003f26
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a80cb
cmp esi, dword [ebp - 4]
je 0x100a80c6
cmp dword [ebp + 0xc], 0
je 0x100a80c6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100a80a3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100a7a84
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100a80cd
xor eax, eax
inc eax
jmp 0x100a80cd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100b29c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x10ea4178]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b2a04
cmp byte [ebx], 0xa
jne 0x100b2a04
or byte [edi + eax + 0x28], 4
jmp 0x100b2a09
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100b2b08
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b2aeb
inc eax
cmp dl, 0xd
je 0x100b2a35
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b2a5b
cmp eax, ecx
jae 0x100b2a69
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100b2a1d
jmp 0x100b2b08
push 0
lea eax, [ebp - 0x10]
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 0x100b2ae6
cmp dword [ebp - 0x10], 0
je 0x100b2ae6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10ea4178]
test byte [eax + edi + 0x28], 0x48
je 0x100b2ac0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b2aab
mov byte [esi], dl
jmp 0x100b2abc
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10ea4178]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b2b08
cmp byte [ebp - 1], 0xa
jne 0x100b2acf
cmp esi, ebx
jne 0x100b2acf
mov byte [esi], 0xa
jmp 0x100b2b07
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10001884
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b2b08
mov byte [esi], 0xd
jmp 0x100b2b07
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10ea4178]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b2b05
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b2b08
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b2b64
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10ea4178]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b2baa
cmp word [ebx], dx
jne 0x100b2baa
or byte [eax + edi + 0x28], 4
jmp 0x100b2baf
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100b2d12
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100b2cf2
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100b2bf0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b2c26
cmp eax, edx
jae 0x100b2c34
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100b2bcb
jmp 0x100b2d12
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b2ced
cmp dword [ebp - 0x18], 0
je 0x100b2ced
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10ea4178]
test byte [eax + edi + 0x28], 0x48
je 0x100b2cc3
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100b2c87
mov word [esi], cx
jmp 0x100b2cbe
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10ea4178]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10ea4178]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10ea4178]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100b2d12
pop eax
cmp word [ebp - 4], ax
jne 0x100b2cd3
cmp esi, ebx
jne 0x100b2cd3
mov word [esi], ax
jmp 0x100b2d0f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10001884
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100b2d12
push 0xd
pop eax
jmp 0x100b2cce
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10ea4178]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100b2d0c
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100b2d12
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40fda0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424498
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x42c9d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.004142e0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0040dc90
mov esi, dword [ebp + 8]
push 0
push 0
mov ecx, esi
call fcn.00410300
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push eax
call edi
test eax, eax
jbe 0x40fe2a
push 2
add eax, eax
push eax
lea ecx, [ebp - 0x18]
call fcn.00414440
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shr eax, 1
push eax
push ecx
mov ecx, esi
call fcn.00410300
push eax
call edi
test eax, eax
jbe 0x40fe2a
push ebx
lea ecx, [ebp - 0x18]
call fcn.00414350
mov ecx, ebx
call fcn.00410260
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040e250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c54a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x441cc1
jmp 0x42f155
push 0x441cfc
jmp 0x42f08b
xor edi, 0x55
jmp 0x42f63a
pop ebx
jmp 0x42b978
mov edi, 0x259a31ff
jmp 0x4302f6
mov dword [0x44165d], eax
jmp 0x42bbe0
push 0x43f7e6
jmp 0x42b004
pop edx
jmp 0x42d1df
mov ebx, 0xc0f00fea
jmp 0x42bdda
pop edi
jmp 0x42b0ca
test eax, eax
jmp 0x42d2f7
add ebx, dword [0x4405ef]
jmp 0x42f181
sub esp, 0x10
jmp 0x42ef77
je 0x4305c7
jmp 0x42b1f8
mov dword [0x441ccd], ebx
jmp 0x42da48
push ebp
mov ebp, esp
jmp 0x42c019
mov dword [ebp + 0x14], edi
jmp 0x42eaab
ret 0x14
call dword [sym.imp.shell32.dll_ExtractIconW]
jmp 0x42d5cd
push 0x43c19d
jmp 0x42b607
leave
jmp 0x42c9c2
je sym.gCSLeC.dll_LwBbAYXR
jmp 0x42fd84
mov dword [0x441ccd], eax
jmp 0x4305c7
mov dword [ebp - 0xc], eax
jmp 0x42dc7b
push ebx
jmp 0x42ed8a
push 0x1e
jmp 0x42ada3
mov dword [0x441ccd], eax
jmp 0x43044a
add ebx, dword [0x44165d]
jmp 0x42c34c
call dword [sym.imp.kernel32.dll_GetTickCount]
jmp 0x42d353
push edi
jmp 0x42ba3a
push edx
jmp 0x42d68b
call dword [sym.imp.shell32.dll_FindExecutableA]
jmp 0x42b222
push 1
jmp 0x42ce57
sub ebx, 0x19
jmp 0x42e20f
mov dword [ebp + 0xc], edx
jmp 0x42d047
sub edi, dword [ebp + 0x14]
jmp 0x42c80f
mov dword [ebp - 0x10], eax
jmp 0x42ba57
mov edx, dword [ebp + 0x10]
jmp 0x42f320
add edi, dword [0x44165d]
jmp 0x42b064
cmp dword [ebp + 0xc], 2
jmp 0x42c0d9
mov dword [0x44165d], eax
jmp 0x42ffa3

Function at 0x42c716
Capabilities:
Get common file path

Disassembly:
call dword [sym.imp.shell32.dll_SHGetSpecialFolderLocation]
jmp 0x42f09a
mov ebx, 0xb532161d
jmp 0x430775
sub esp, 0x24
jmp 0x430618
cmp edx, 0x1fa3
jmp 0x4307f2
push ebp
mov ebp, esp
jmp 0x42baf0
leave
jmp 0x42e926
pop ebx
jmp 0x42cc1b
push 0xffffffffffffffff
jmp 0x42ff1e
push 0
jmp 0x42d964
ret 0x24
add ebx, 0xffffffbf
jmp 0x430126
mov edx, dword [0x44179a]
jmp 0x42bd77
mov dword [0x4415f1], eax
jmp 0x42ce4c
mov dword [ebp + 0xc], ebx
jmp 0x42ed12
push 1
jmp 0x42af38
sub ebx, dword [ebp + 0x24]
jmp 0x42fee4
push ebx
jmp 0x42b8a0
xor ebx, dword [0x4415f1]
jmp 0x42ea1d
je sym.gCSLeC.dll_LwBbAYXR
jmp 0x42db2f

Function at 0x42e8e2
Capabilities:
Accept command line arguments
Check for time delay via gettickcount

Disassembly:
call fcn.0042b126
jmp sym.gCSLeC.dll_uxBwvBV
Function at 0x4305b9
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebx
jmp 0x42f4f8
leave
jmp 0x42b754
ret 0xc
push 0x434495
jmp 0x42d61e
mov dword [0x441ced], eax
jmp 0x42d30c
push 1
jmp 0x42d20e
mov dword [0x441ced], eax
jmp 0x42d0b3
mov dword [ebp + 8], eax
jmp 0x42c58b
push 0x43462a
jmp 0x42dee2
mov ebx, dword [ebp + 0x10]
jmp 0x42ec40
mov dword [ebp + 0x10], ebx
jmp 0x42e21f
mov dword [ebp - 4], ebx
jmp 0x4300c0
call dword [sym.imp.user32.dll_LoadBitmapW]
jmp 0x42c96d
mov eax, ebp
jmp 0x4304ce
push 0x64
jmp 0x42fd00
sub ebx, 0x67
jmp 0x42fc5b
pop ecx
jmp 0x42b382
push 0x4359cb
jmp 0x42c33b
jg sym.gCSLeC.dll_LwBbAYXR
jmp 0x42ba2d
mov ebx, dword [ebp + 8]
jmp 0x42d78b
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
jmp 0x42bc84
push ecx
jmp 0x42afd8
push 0x43c2e8
jmp 0x42cb3f
xor ebx, 0x78
jmp 0x42d149
mov ecx, 0x22
jmp 0x43072f
mov dword [ebp - 8], eax
jmp 0x4306fc
jne 0x42c58b
jmp 0x42dae9
mov dword [ebp + 8], eax
jmp 0x42dabf
sub esp, 8
jmp 0x42e1ff
add ebx, dword [ebp + 0xc]
jmp 0x42d1bd
call dword [sym.imp.user32.dll_OpenClipboard]
jmp 0x42f56b
call dword [sym.imp.shell32.dll_Shell_NotifyIconW]
jmp 0x42f726
mov esi, dword [0x4412b1]
jmp 0x4301ca
cmp esi, 0
jmp 0x42dace
push 1
jmp 0x42fcbc
pop ebx
jmp 0x42d820
push ebp
mov ebp, esp
jmp 0x42f82a
cmp dword [ebp + 0xc], 3
jmp 0x42f5b9
mov dword [ebp - 4], ecx
jmp 0x43043e

Function at 0x4307b1
Capabilities:
Accept command line arguments
Check for time delay via gettickcount

Disassembly:
jne sym.gCSLeC.dll_LwBbAYXR
mov dword [ebp - 0x20], eax
mov ecx, eax
mov dword [ebp - 8], ecx
mov edi, dword [0x441d11]
cmp edi, 0xa75
je sym.gCSLeC.dll_uxBwvBV
call dword [sym.imp.user32.dll_GetMessageTime]
jmp 0x42c1b0
mov dword [ebp - 0x14], ecx
mov edi, 0x37043ee9
sub edi, dword [0x441d1b]
add edi, edi
xor edi, 0xffffffca
jmp 0x42f5f0
mov dword [ebp - 0x20], eax
mov esi, 0x35
mov dword [ebp - 0x18], esi
mov edx, 0x33
jmp fcn.0042b3d0
push 0x43a2ee
push 1
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
cmp eax, 0
jmp 0x42b0f4
mov dword [ebp - 0x1c], edi
mov ebx, dword [0x441d11]
cmp ebx, 0x1a40
je sym.gCSLeC.dll_LwBbAYXR
push 0x5e
jmp 0x42e8a2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
mov ecx, 0x6b
jmp 0x42bd31
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0x5e
push 0x43a2ee
push 1
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
jmp 0x42f7b2