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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00409d70
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42448b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42448b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42443e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x424449
or bh, 8
and edi, 0x8000000
je 0x424464
mov eax, dword [0x45f27c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42448b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42488b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4248af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4248ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42a3d8
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 0x42a41a
call fcn.0042e7bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42a41a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42a411
xor eax, eax
jmp 0x42a422
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042a428
pop edi
pop esi
pop ebx
ret 4

Function at 0x42eeb3
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 0x42eee1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42eeff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042ee19
jmp 0x42eeff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42eeff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042ee19
test edi, edi
mov eax, edi
jne 0x42eee9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4cefb5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004c137b
xor ebx, ebx
cmp dword [0x515238], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4cf08b
push 0x4e9404
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4cf16b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e93f8
push edi
call esi
cmp eax, ebx
je 0x4cf16b
push eax
call fcn.004c130d
mov dword [esp], 0x4e93e8
push edi
mov dword [0x515238], eax
call esi
push eax
call fcn.004c130d
mov dword [esp], 0x4e93d4
push edi
mov dword [0x51523c], eax
call esi
push eax
call fcn.004c130d
mov dword [0x515240], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004b9e49
test eax, eax
pop ecx
pop ecx
je 0x4cf059
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b99a9
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4cf08b
push 0x4e93b8
push edi
call esi
push eax
call fcn.004c130d
cmp eax, ebx
pop ecx
mov dword [0x515248], eax
je 0x4cf08b
push 0x4e93a0
push edi
call esi
push eax
call fcn.004c130d
pop ecx
mov dword [0x515244], eax
mov eax, dword [0x515244]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4cf110
cmp dword [0x515248], ecx
je 0x4cf110
push eax
call fcn.004c1384
push dword [0x515248]
mov esi, eax
call fcn.004c1384
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4cf110
cmp edi, ebx
je 0x4cf110
call esi
cmp eax, ebx
je 0x4cf0dd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cf0dd
test byte [ebp - 0x18], 1
jne 0x4cf110
lea eax, [ebp - 0x10]
push eax
call fcn.004b9e80
test eax, eax
pop ecx
je 0x4cf0f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b99a9
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4cf107
or dword [ebp + 0x10], 0x200000
jmp 0x4cf14b
or dword [ebp + 0x10], 0x40000
jmp 0x4cf14b
mov eax, dword [0x51523c]
cmp eax, dword [ebp - 8]
je 0x4cf14b
push eax
call fcn.004c1384
cmp eax, ebx
pop ecx
je 0x4cf14b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4cf14b
mov eax, dword [0x515240]
cmp eax, dword [ebp - 8]
je 0x4cf14b
push eax
call fcn.004c1384
cmp eax, ebx
pop ecx
je 0x4cf14b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x515238]
call fcn.004c1384
cmp eax, ebx
pop ecx
je 0x4cf16b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cf16d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50d468
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x569600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050274b
and dword [ebp - 0x14], 0
cmp dword [0x570fec], 0
mov dword [ebp - 0x18], eax
jne 0x50d51b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50d5c3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x549dd8
push ebx
call edi
test eax, eax
je 0x50d5c3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x549dc8
push ebx
mov dword [0x570fec], eax
call edi
push eax
call esi
push 0x549db4
push ebx
mov dword [0x570ff0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x570ff4], eax
call edi
push eax
call esi
mov dword [0x570ffc], eax
test eax, eax
je 0x50d51b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x570ff8], eax
mov eax, dword [0x570ff8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50d574
cmp dword [0x570ffc], ecx
je 0x50d574
push eax
call esi
push dword [0x570ffc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50d574
test ebx, ebx
je 0x50d574
call edi
test eax, eax
je 0x50d56b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50d56b
test byte [ebp - 8], 1
jne 0x50d574
or dword [ebp + 0x10], 0x200000
jmp 0x50d5a7
mov eax, dword [0x570ff0]
cmp eax, dword [ebp - 0x18]
je 0x50d5a7
push eax
call esi
test eax, eax
je 0x50d5a7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50d5a7
mov eax, dword [0x570ff4]
cmp eax, dword [ebp - 0x18]
je 0x50d5a7
push eax
call esi
test eax, eax
je 0x50d5a7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x570fec]
call esi
test eax, eax
je 0x50d5c3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50d5c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fbd04
leave
ret
Function at 0x7c1554
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7c155e
add al, 0
add byte [eax], al
add byte [eax], al
pushal
call 0x7c1564
pop ebp
sub ebp, 0x10
sub ebp, 0x3c1554
jmp 0x7c157a
in eax, dx
push esp
adc eax, 0x4e9003c
add byte [eax], al
add dh, ah
into
inc edi
lodsd eax, dword [esi]
mov eax, 0x3c1554
add eax, ebp
add eax, 0x4c
mov ecx, 0x60f
mov edx, 0x1982d094
xor byte [eax], dl
inc eax
dec ecx
jne 0x7c1591
jmp 0x7c15a4
pop ds
pop ecx
pop ds
sbb eax, 0x949494a8
adc eax, 0x94946c55
xchg esp, eax
xchg edi, eax
pop ecx
sub al, 0x91
xchg esp, eax
xchg esp, eax
xchg esp, eax
mov esp, 0x63949494
jbe 0x7c1558
pop esp
pop ds
adc eax, 0x94949498
xchg edi, eax
push ecx
sbb eax, esi
mov al, 0x68
sbb eax, 0xfcc4b090
or bh, ch
lcall 0x94b9, 0xd2cfc94
xchg ebp, eax
mov eax, 0x7927fcb0
mov dword [esi + 0x7c], eax
xchg ecx, eax
cld
daa
jns 0x7c156c
inc esi
jl 0x7c1577
xchg esp, eax
xchg esp, eax
xchg esp, eax
jge 0x7c15a5
xchg esp, eax
xchg esp, eax
xchg esp, eax
sbb eax, esi
mov al, 0x68
sbb eax, 0xc9c0b0b8
pop ds
adc dword [esp + edx*4 + 0x11f9494], ebx
cwde
xchg esp, eax
xchg esp, eax
xchg esp, eax
pop ds
sbb dword [esp + edx*4 + 0x7d559494], eax
xchg esi, eax
test byte [esp + edx*4 - 0x6982aa6c], dl
movsd dword es:[edi], dword [esi]
xchg esi, eax
pop ss
push esi
nop
fstp qword [ebx + 0x6b6b6011]
imul ecx, ecx, 0x56
cwde
xchg esp, eax
pop ds
sbb byte [eax - 0x6b6b6b70], dh
cld
or bh, ch
lcall 0x94b9, 0xd2cfc94
xchg ebp, eax
mov eax, 0xb0f019b0
push 0x7cb0981d
mov al, 0x7c
xchg ecx, eax
xchg esp, eax
xchg esp, eax
xchg esp, eax
jge 0x7c161d
xchg esi, eax
xchg esp, eax
xchg esp, eax
rcr dword [edi], 0x78
imul esp, ecx, 0xffffff98
pop ds
js 0x7c16b0
loope 0x7c15df
imul esp, ecx, 0xffffff9c
jl 0x7c1636
xchg esp, eax
xchg esp, eax
xchg esp, eax
pop ds
sub dword [esp + edx*4 + 0x65159494], ebx
inc ebp
movsb byte es:[edi], byte [esi]
mov ebp, 0x456515ba
movsb byte es:[edi], byte [esi]
pushfd
xchg esp, eax
xchg esp, eax
xchg esp, eax
adc eax, 0xbda44565
mov edx, 0xa4456515
mov ebp, 0x155da7ba
adc cx, word [ebp + ebx + 0x136615b0]
mov word [0x1746a7b0], ds
jl 0x7c1605
fcomp qword [ebx - 0x6b6b25f0]
xchg esp, eax
wait
sbb al, 0xdc
xchg esp, eax
xchg esp, eax
xchg esp, eax
pop ds
mov byte [ebp - 0x648390ec], ch
adc byte [esi + 0x14949494], cl
outsd dx, dword [esi]
jge 0x7c162d
adc byte [ebp - 0xd6b6b6c], al
adc eax, 0x9bb16b6f
adc byte [ecx - 0x2a6b6b6c], al
jge 0x7c16fd
imul ebp, dword [ebx + 0x6b], 0xffffffbd
fsubr dword [ebp - 0x6eaae86b]
pop ss
jl 0x7c1642
jge 0x7c16dd
imul ebp, dword [ebx + 0x6b], 0xffffffbd
shr byte [ebp - 0x6daae86a], 0x17
jle 0x7c1651
pop ss
jl 0x7c1655
jge 0x7c1705
imul ebp, dword [ebx + 0x6b], 0xffffffc9
push esi
cwde
xchg esp, eax
rcr dword [edi], 0x78
ret 0xc1c3
xchg edx, eax
adc eax, 0x94949552
xchg esp, eax
sbb al, 0x93
adc eax, 0x94949553
xchg esp, eax
das
xchg esi, eax
xchg esp, eax
xchg esp, eax
xchg esp, eax
xchg esi, eax
inc esi
wait
adc dword [ecx + 0x1e949494], edx
adc dl, 0x86
inc esi
wait
pop ss
dec esp
imul ebp, dword [ebx + 0x6b], 0xffffff96
inc esi
wait
adc dword [ecx + 0x1e949494], edx
adc dl, 0x86
inc esi
wait
pop ss
invalid
Function at 0x14d5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014d51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x14d507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d506a
add dl, dl
jne 0x14d5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d50dc
xor eax, eax
add dl, dl
jne 0x14d5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14d517d
add dl, dl
jne 0x14d50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14d50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14d5075
mov eax, 1
add dl, dl
jne 0x14d50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14d50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d50e1
sub eax, ebx
mov ebx, 1
jne 0x14d5128
mov ecx, 1
add dl, dl
jne 0x14d510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14d5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14d513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14d514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14d5136
cmp eax, 0x7d00
jae 0x14d516d
cmp eax, 0x500
jb 0x14d5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d5075
cmp eax, 0x7f
ja 0x14d5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14d5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14d519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x14d5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000ca4a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000caa5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000ca86
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1000caa3
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10008e46
mov dword [eax], 0xc5eb2006
jmp 0x1000ca7b
jmp 0x1000cad3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1000cad3
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x1000d014
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000d052
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000d050
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000d09d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000d080
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1000d09d
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10008e46
mov dword [eax], 0x7a7c2039
jmp 0x1000d075
mov esp, ebp
pop ebp
ret
Function at 0x1000daa8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000dacb
push 0x129d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x1000dc34
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1000db40
mov dword [ebp - 0x18], 1
jmp 0x1000db44
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov esi, dword [eax]
sub esi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10008e46
cmp esi, dword [eax]
jg 0x1000db66
mov dword [ebp - 0x54], 1
jmp 0x1000db6a
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10008e46
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10008e46
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1000dbc9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10008e46
cmp dword [eax], 0
je 0x1000dbc9
mov dword [ebp - 0x20], 1
jmp 0x1000dbcd
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xffffffff
jne 0x1000dbdc
mov dword [ebp - 0x24], 1
jmp 0x1000dbe0
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jne 0x1000dbf3
mov dword [ebp - 0x14], 1
jmp 0x1000dbf7
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0xfde7504e
ja 0x1000dc11
mov dword [ebp - 0x28], 1
jmp 0x1000dc15
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jg 0x1000dc28
mov dword [ebp - 0x2c], 1
jmp 0x1000dc2c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002bbf2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002bc14
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002bc12
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1002bc2c
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x1002d192
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002d1a8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1002d1f3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d1d6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002d1f3
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10008e46
mov dword [eax], 0xec0a
jmp 0x1002d1cb
mov esp, ebp
pop ebp
ret

Function at 0x1002d350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002d3ab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d38c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1002d3a9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10008e46
mov dword [eax], 0xceafd94
jmp 0x1002d381
jmp 0x1002d3c3
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x1003a5e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003a613
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10008e46
mov dword [eax], 1
jmp 0x1003a62b
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x1003b934
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003b98f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003b970
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1003b98d
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10008e46
mov dword [eax], 0xfffffffd
jmp 0x1003b965
jmp 0x1003b99c
push 0x1bc7
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esp, ebp
pop ebp
ret

Function at 0x1003c649
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003c66e
push 0
push 0x1d21
push 0
push 0
push 0x19f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003c674
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
pop ebp
ret