joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42060c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x45e79c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4206c4
cmp byte [0x44f062], 0
je 0x42067e
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0041f118
add esp, 8
mov ebx, eax
test eax, eax
jne 0x420667
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0041f118
add esp, 8
mov ebx, eax
test eax, eax
jne 0x420667
lea ebx, [ebp - 0x54]
jmp 0x420668
inc ebx
call fcn.004205c4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x4206e5
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45e7a0
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00412468
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45e7a3
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x4206e5
cmp dword [0x45e79c], 0xffffffff
je 0x4206e5
mov eax, dword [0x45e79c]
test eax, eax
je 0x4206e5
cmp byte [eax], 0
je 0x4206e5
push esi
push eax
call fcn.00420774
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420cec
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4d0acc], 0
jne 0x420d6d
cmp dword [0x4d0ae8], 0
jne 0x420d1c
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x4d0ae8], eax
test eax, eax
jne 0x420d1c
push 0x45e8c0
call fcn.004206fc
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4d0ae8]
jmp 0x420d30
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00412468
pop ecx
mov edi, eax
test eax, eax
jne 0x420d28
lea edi, [ebp + 1]
push edi
call fcn.0041fbec
pop ecx
mov ebx, eax
mov dword [0x4d0ad0], ebx
test ebx, ebx
jne 0x420d5a
xor eax, eax
jmp 0x420e30
push edi
mov edx, dword [0x4d0ae8]
push edx
push ebx
call fcn.00412248
add esp, 0xc
jmp 0x420d8d
xor esi, esi
mov ebx, dword [0x4d0acc]
jmp 0x420d87
push eax
call fcn.00412468
pop ecx
test eax, eax
jne 0x420d83
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x420d77
lea ebx, [esi + 4]
push 4
mov dword [0x4d0ad4], ebx
inc ebx
push ebx
call fcn.0041f18c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x420db0
xor eax, eax
jmp 0x420e30
cmp dword [0x4d0acc], 0
jne 0x420de1
xor esi, esi
mov ebx, dword [0x4d0ad0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x420dd2
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00412468
pop ecx
mov edi, eax
test eax, eax
jne 0x420dc8
jmp 0x420e12
xor esi, esi
mov ebx, dword [0x4d0acc]
mov eax, dword [esp]
mov edi, eax
jmp 0x420e0c
push eax
call fcn.00412468
pop ecx
test eax, eax
je 0x420e01
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x420e05
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x420df0
mov eax, dword [0x4d0acc]
test eax, eax
je 0x420e22
push eax
call fcn.0041fae4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4d0acc], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43e1e5
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov cx, ax
and cx, 7
rol dl, cl
pop ecx
push dx
sub cx, ax
inc cx
xchg bx, ax
mul word [0x464dbe]
add ax, bx
adc dx, 0
movzx edi, ax
call fcn.0043ae4f
mov es, word [0x464db6]
mov al, byte [0x464dd5]
mov ah, byte [0x464dd6]
pop dx
cmp dl, 0xff
jne 0x43e2d5
mov si, word [0x464dcc]
or si, si
jne 0x43e252
movzx ecx, cx
movzx edx, di
add dx, cx
jae 0x43e24f
sub cx, dx
rep stosb byte es:[edi], al
mov cx, dx
call fcn.0043aef7
rep stosb byte es:[edi], al
ret
dec si
je 0x43e2ac
dec si
je 0x43e283
movzx ecx, cx
movzx edx, di
add dx, cx
jae 0x43e279
sub cx, dx
xor byte es:[edi], al
inc di
dec cx
jne 0x43e268
mov cx, dx
call fcn.0043aef7
xor byte es:[edi], al
inc di
dec cx
jne 0x43e279
ret
movzx ecx, cx
movzx edx, di
add dx, cx
jae 0x43e2a2
sub cx, dx
or byte es:[edi], al
inc di
dec cx
jne 0x43e291
mov cx, dx
call fcn.0043aef7
or byte es:[edi], al
inc di
dec cx
jne 0x43e2a2
ret
movzx ecx, cx
movzx edx, di
add dx, cx
jae 0x43e2cb
sub cx, dx
and byte es:[edi], al
inc di
dec cx
jne 0x43e2ba
mov cx, dx
call fcn.0043aef7
and byte es:[edi], al
inc di
dec cx
jne 0x43e2cb
ret
mov bl, dl
mov si, word [0x464dcc]
or si, si
je 0x43e33d
nop
nop
nop
nop
dec si
je 0x43e323
dec si
je 0x43e309
rol bl, 1
jae 0x43e2f8
xor byte es:[edi], al
jmp 0x43e2fb
xor byte es:[edi], ah
inc di
jne 0x43e304
call fcn.0043aef7
dec cx
jne 0x43e2ef
ret
rol bl, 1
jae 0x43e312
or byte es:[edi], al
jmp 0x43e349
or byte es:[edi], ah
inc di
jne 0x43e31e
call fcn.0043aef7
dec cx
jne 0x43e309
ret
rol bl, 1
jae 0x43e32c
and byte es:[edi], al
jmp 0x43e349
and byte es:[edi], ah
inc di
jne 0x43e352
call fcn.0043aef7
dec cx
jne 0x43e323
ret
rol bl, 1
jae 0x43e346
mov byte es:[edi], al
jmp 0x43e349
mov byte es:[edi], ah
inc di
jne 0x43e352
call fcn.0043aef7
dec cx
jne 0x43e33d
ret

Function at 0x440fc4
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, eax
and ecx, 7
rol dl, cl
pop ecx
push edx
sub ecx, eax
inc ecx
xchg ebx, eax
imul eax, dword [0x4653ee]
add eax, ebx
mov edi, eax
add edi, dword [0x4653e0]
mov al, byte [0x4653ff]
mov ah, byte [0x465400]
pop edx
cmp dl, 0xff
jne 0x44101f
mov esi, dword [0x4653f2]
or esi, esi
jne 0x441001
rep stosb byte es:[edi], al
ret
dec esi
je 0x441017
dec esi
je 0x44100f
xor byte [edi], al
inc edi
dec cx
jne 0x441007
ret
or byte [edi], al
inc edi
dec cx
jne 0x44100f
ret
and byte [edi], al
inc edi
dec cx
jne 0x441017
ret
mov bl, dl
mov esi, dword [0x4653f2]
or esi, esi
je 0x441061
dec esi
je 0x441051
dec esi
je 0x441041
rol bl, 1
jae 0x441039
xor byte [edi], al
jmp 0x44103b
xor byte [edi], ah
inc edi
dec cx
jne 0x441031
ret
rol bl, 1
jae 0x441049
or byte [edi], al
jmp 0x44106b
or byte [edi], ah
inc edi
dec cx
jne 0x441041
ret
rol bl, 1
jae 0x441059
and byte [edi], al
jmp 0x44106b
and byte [edi], ah
inc edi
dec cx
jne 0x441051
ret
rol bl, 1
jae 0x441069
mov byte [edi], al
jmp 0x44106b
mov byte [edi], ah
inc edi
dec cx
jne 0x441061
ret
Function at 0x442fea
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov al, byte [0x45b444]
dec eax
movsx edx, al
add edx, 0x61
push edx
push 0x45b344
lea ecx, [ebp - 0x114]
push ecx
call fcn.00417830
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x114]
push edx
call sub.KERNEL32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x44304e
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0xc]
mov dword [0x45b340], ecx
xor eax, eax
mov dword [0x45b448], eax
jmp 0x443058
mov dword [0x45b448], 0xffffffe1
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401440
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43601c
push 0x80000002
call dword [0x43882c]
test eax, eax
jne 0x40146c
mov eax, 0xd903
jmp 0x401516
mov dword [0x438824], 0x24e1
mov ecx, dword [0x438824]
sub ecx, 0x24e1
mov dword [0x438824], ecx
mov edx, 1
test edx, edx
je 0x401516
mov eax, dword [0x438824]
cmp eax, dword [ebp + 0xc]
jb 0x4014a1
jmp 0x401516
jmp 0x45cad8
mov esp, ebp
pop ebp
ret

Function at 0x401a60
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x438810]
push dword [0x438810]
push 0x401a7b
jmp loc.0045bd6c
Function at 0x41aea4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x41aeb3
pop dword [ebp - 0x28]
mov eax, 0xf01dcea2
add eax, 0x1023e011
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xfd4ee7
sub dword [ebp - 0x38], 0xb2ab099c
mov dword [ebp - 0x34], 0x2e59af28
add dword [ebp - 0x34], 0x3d99d1d
mov dword [ebp - 0x30], 0xeaf6f460
add dword [ebp - 0x30], 0x61554fce
mov dword [ebp - 0x2c], 0xadc08a06
add dword [ebp - 0x2c], 0x523f75fa
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xe714c1e9
add dword [ebp - 0x38], 0x8d5da76d
mov dword [ebp - 0x34], 0x8d629b37
sub dword [ebp - 0x34], 0x4bf639c2
mov dword [ebp - 0x30], 0x617c598d
add dword [ebp - 0x30], 0x1f312df
mov dword [ebp - 0x2c], 0x241982b5
add dword [ebp - 0x2c], 0xdbe67d4b
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xa3dd5f3a
sub eax, 0xa397aeba
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x4ebed
push 0
call eax
mov ecx, 0x4db4
xor esi, esi
add esi, eax
mov edi, 0x476000
add edi, dword [ebp - 0x28]
mov edx, 0x7eb24678
sub edx, 0xd05d097a
sub dword [ebp - 8], esi
mov ebx, dword [edi]
add dword [ebp - 0x18], 0x74b0ed9a
add ebx, edx
xor dword [ebp - 0xc], ebx
mov dword [esi], ebx
add dword [ebp - 0x10], ebx
add esi, 0x5c6e3194
add esi, 0xa391ce70
add edi, 0x9795c660
sub edi, 0x9795c65c
loop 0x41afc6
add eax, 0x129a3
xor ebx, ebx
add ebx, eax
add eax, 0x9796f63e
sub eax, 0x9796f639
mov ecx, 0x3db8821e
add ecx, 0xc2877de2
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100036c0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10154b60
push 0x100f6380
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1015d2f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x22c], 1
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1000378c
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x228]
push eax
push 5
mov ecx, dword [ebp - 0x230]
push ecx
push esi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x1000378c
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x224]
push ecx
push 1
lea edx, [ebp - 0x220]
push edx
push esi
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x1000378c
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0xc], 2
je 0x1000378c
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.100037bf
cmp dword [ebp - 0x22c], esi
setne al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100f2782
mov esp, ebp
pop ebp
ret

Function at 0x10003c9c
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push dword [0x101599cf]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push dword [0x101599c3]
mov dword [esp + 0x20], eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
adc bh, bh
xor eax, 0x101599c3
mov esi, eax
push esi
call fcn.10003c68
pop ecx
pop ecx
push 0x104
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [str.sidesman.ods]
mov eax, ebx
cmp word [esi], bx
je 0x10003cf4
inc eax
cmp word [esi + eax*2], bx
jne 0x10003ced
push 0x5c
pop edi
jmp 0x10003d00
xor edx, edx
mov word [esi + eax*2], dx
dec eax
cmp word [esi + eax*2 - 2], di
jne 0x10003cf9
cmp byte [ecx], bl
je 0x10003d1f
lea edx, [esi + eax*2]
mov al, byte [ecx]
Function at 0x10003d10
Capabilities:
Get file size
Read file on windows

Disassembly:
inc ecx
cbw
mov word [edx], ax
lea edx, [edx + 2]
mov al, byte [ecx]
test al, al
jne fcn.10003d10
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10003e9b
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [0x101599c7]
mov esi, eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [0x101599c7]
mov edi, eax
push edi
call fcn.10003c68
pop ecx
pop ecx
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10003e9b
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [0x101599e3]
add edi, eax
mov ecx, dword [edi]
lea eax, [edi + 4]
mov edx, dword [eax]
add eax, 4
test ecx, ecx
je 0x10003db3
add dword [eax], edx
lea eax, [eax + 4]
sub ecx, 1
jne 0x10003da9
mov eax, dword [0x101599a7]
add edi, eax
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [edi + 1]
push eax
push ebp
call esi
mov ebx, eax
test ebx, ebx
je 0x10003e9b
movsx ecx, byte [edi]
add edi, ecx
lea ecx, [edi + 1]
push ecx
push ebp
call esi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10003e9b
movsx ecx, byte [edi]
add edi, ecx
lea ecx, [edi + 1]
push ecx
call ebx
mov edx, eax
test edx, edx
je 0x10003e9b
mov esi, dword [0x101599af]
movsx ecx, byte [edi]
mov eax, dword [edx + 0x3c]
add edi, ecx
add esi, edi
mov ebx, dword [edi + 8]
mov ebp, dword [edi + 4]
mov edi, dword [eax + edx + 0x2c]
lea eax, [esp + 0x14]
and dword [esp + 0x14], 0
add edi, edx
push eax
push dword [0x101599bb]
push ebx
push edi
call dword [esp + 0x2c]
push ebx
push esi
push edi
call fcn.10003c29
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebx
push edi
call dword [esp + 0x2c]
mov eax, dword [0x101599bf]
xor ecx, ecx
add edi, ebp
cmp byte [eax], cl
je 0x10003e79
mov edx, dword [esp + 0x20]
mov eax, dword [0x101599bf]
movsx ax, byte [eax + ecx]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [0x101599bf]
cmp byte [eax + ecx], 0
jne 0x10003e5f
mov eax, dword [esp + 0x20]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x28], eax
lea eax, [ebx + esi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x30], 1
call edi
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1000fdff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1000fe46
call fcn.1000624d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000fe46
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1000fe62
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1000f8ff
mov esi, eax
test edi, edi
je 0x1000fe60
test ebx, ebx
je 0x1000fe60
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10010241
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1010e8b6
call fcn.100f4701
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x10010266
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100102b8
call fcn.100054f8
push eax
lea ecx, [ebp - 0x10]
call fcn.100029b0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f480b
push eax
call fcn.10002a90
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100030c0
mov eax, esi
call fcn.100f47d9
ret 8

Function at 0x10012fc8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10012c6c
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10013012
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10004894
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004853
jmp 0x1001301d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1001034c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10013023
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.1000ff0b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10013060
call fcn.10012c6c
mov dword [esi + 0xc], 1
jmp 0x10013065
call fcn.10012c6c
cmp dword [esi], 0
je 0x100130ae
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x10013086
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10004894
jmp 0x10013098
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.10002e80
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004853
jmp 0x100130d2
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x100130d2
push dword [esi]
push dword [ebp + 8]
call fcn.1001034c
pop esi
pop ebp
ret 0xc

Function at 0x100190ae
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100546ef
call fcn.10005c6a
cmp dword [eax + 0x14], 0
jne 0x100190cb
mov ecx, esi
pop esi
jmp fcn.10018bb3
pop esi
ret

Function at 0x1001c804
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100652db
call fcn.10005c6a
cmp dword [eax + 0x14], 0
jne 0x1001c821
mov ecx, esi
pop esi
jmp fcn.1001c1d7
pop esi
ret

Function at 0x10029a1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.1000624d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10029a56
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1002965a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x10029ab4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x10029ad8
cmp dword [edi + 0x74], 0
jne 0x10029ad8
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.1000624d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10029a75
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10059262
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x1005927c
call fcn.1000624d
mov esi, dword [eax + 0xc]
push dword [0x10162220]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1005929a
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10059292
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100592c7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x10059294
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10059190
mov esi, eax
jmp 0x100592b9

Function at 0x100d830f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100d8327
mov edi, dword [esi + 0xc]
jmp 0x100d8367
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100d8340
call fcn.10010a5a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100d8355
call fcn.10010a5a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100d8367
call fcn.10010a5a
call fcn.1000624d
cmp dword [eax + 0x3c], 0
je 0x100d837c
push edi
mov ecx, ebx
call fcn.100d71c3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100d8229
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100d839a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d83a6
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f2782
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1015d2f0]
jne 0x100f278c
repz ret
jmp fcn.100f8d64
Function at 0x10008210
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov esi, ecx
mov eax, dword [0x10022040]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [ecx + 0x10], 0
sete byte [esp + 0x2b]
mov eax, 0xee6c346
lea edi, [esp + 0x44]
lea ebx, [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[eax + eax]
cmp eax, 0xfd461018
jle 0x10008290
cmp eax, 0xfd461019
je 0x100082b1
cmp eax, 0x782f97f2
je 0x1000833b
cmp eax, 0xee6c346
jne 0x10008250
cmp byte [esp + 0x2b], 0
mov eax, 0xfd461019
mov ecx, 0x8f54e571
cmovne eax, ecx
jmp 0x10008250
cmp eax, 0x8f54e571
je 0x10008375
cmp eax, 0xc06aeb7f
jne 0x10008250
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov eax, 0x8f54e571
jmp 0x10008250
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x40], 0
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movups xmmword [eax], xmm0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100082ef
mov eax, dword [esi]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
movaps xmm0, xmmword [0x1001e970]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
mov eax, 0x782f97f2
mov ecx, 0xc06aeb7f
cmove eax, ecx
jmp 0x10008250
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call ebp
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call ebp
sub esp, 4
mov eax, 0xc06aeb7f
jmp 0x10008250
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1000ff2a
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret