joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015d38
Capabilities:
Inspect section memory permissions

Disassembly:
cmp ecx, dword [0x1003424c]
jne 0x10015d42
repz ret
jmp 0x10019d4a
cmp dword [eax], ebx
je 0x10019d82
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10019d7d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
cmp edx, 0x3000
jne 0x10019d67
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10019d6f
cmp edx, ebx
jne 0x10019ebd
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10019d3e
add eax, dword [eax + 4]
jmp 0x10019d2b
mov dword [ebp + 0xc], ebx
jmp 0x10019d8d
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10019da5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10019dc3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10019e21
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10019e08
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10019e11
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10019e1b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10019dfd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10019d87
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10019e6e
dec eax
je 0x10019e65
sub eax, 3
je 0x10019e5c
mov dword [ebp - 4], 0x40
jmp 0x10019e8b
mov dword [ebp - 4], 4
jmp 0x10019e71
mov dword [ebp - 4], 0x20
jmp 0x10019e71
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10019ebd
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10019e3d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100196ce
or eax, 0xff1c94b9
jne 0x10019ec8
push 1
push esi
call edi
mov eax, esi
jmp 0x10019ec9
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001a5af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosd dword es:[edi], eax
Function at 0x1001a5b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100196ac
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
cld
invalid
jmp dword [ecx]
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
cld
invalid
jmp dword [esi]
mov byte [ebp - 0x362], 0x21
sahf
cld
invalid
jmp dword [ecx]
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
movsb byte es:[edi], byte [esi]
cld
invalid
push dword [eax]

Function at 0x1001b074
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [edi], 0x84
stc
push es
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x1001b249
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
invalid
invalid

Function at 0x1001b270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.100196de
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.1001963f
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1001b646
Function at 0x1002182d
Capabilities:
Get geographical location

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.1001a7f6
mov ebp, dword [esp + 0x14]
mov esi, eax
xor ebx, ebx
add esi, 0x9c
cmp ebp, ebx
jne 0x1002181a
or dword [esi + 8], 0x104
jmp 0x100218cb
lea eax, [ebp + 0x40]
cmp eax, ebx
lea edi, [esi + 4]
mov dword [esi], ebp
mov dword [edi], eax
je 0x1002183c
cmp byte [eax], bl
je 0x1002183c
push edi
push 0x16
push 0x1002e688
call fcn.10021279
add esp, 0xc
mov eax, dword [esi]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x10021890
cmp byte [eax], bl
je 0x10021890
mov eax, dword [edi]
cmp eax, ebx
je 0x1002185a
cmp byte [eax], bl
je 0x1002185a
call fcn.10021752
jmp 0x1002185f
call fcn.100217b7
cmp dword [esi + 8], ebx
jne 0x100218e0
push esi
push 0x40
push 0x1002e480
call fcn.10021279
add esp, 0xc
test eax, eax
je 0x100218d7
mov edi, dword [edi]
cmp edi, ebx
je 0x10021889
cmp byte [edi], bl
je 0x10021889
call fcn.10021752
jmp 0x100218d7
call fcn.100217b7
jmp 0x100218d7
mov edi, dword [edi]
cmp edi, ebx
je 0x100218c4
cmp byte [edi], bl
je 0x100218c4
push edi
call fcn.10017270
sub eax, 3
neg eax
pop ecx
sbb eax, eax
push 1
inc eax
push 0x100213bb
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
test byte [esi + 8], 4
jne 0x100218d7
mov dword [esi + 8], ebx
jmp 0x100218d7
mov dword [esi + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
cmp dword [esi + 8], ebx
je 0x100219cf
mov ecx, ebp
add ebp, 0x80
neg ecx
sbb ecx, ecx
and ecx, ebp
mov edi, esi
call fcn.100212d9
mov ebx, eax
test ebx, ebx
je 0x100219cf
cmp ebx, 0xfde8
je 0x100219cf
cmp ebx, 0xfde9
je 0x100219cf
movzx eax, bx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100219cf
push 1
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100219cf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10021957
mov cx, word [esi + 0x18]
mov word [eax], cx
mov cx, word [esi + 0x1c]
mov word [eax + 2], cx
mov word [eax + 4], bx
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100219ca
cmp word [eax], 0x814
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jne 0x10021991
push str.Norwegian_Nynorsk
push 0x40
push edi
call fcn.1001a1b5
add esp, 0xc
test eax, eax
je 0x100219a2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1001610f
add esp, 0x14
jmp 0x100219a2
push 0x40
push edi
push 0x1001
push dword [esi + 0x18]
call ebp
test eax, eax
je 0x100219cf
push 0x40
lea eax, [edi + 0x40]
push eax
push 0x1002
push dword [esi + 0x1c]
call ebp
test eax, eax
je 0x100219cf
push 0xa
push 0x10
add edi, 0x80
push edi
push ebx
call fcn.10018ff8
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100219d1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10015b6d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015bb0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10015bae
push 0
push 0
push 0
push 0
push 0xd33
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x10015bd2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001f2c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001f2f3
push 0
push 0
push 0
push 0
push 0xd33
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1001f302
push 0
push 0xdc
push 0
call dword [sym.imp.ADVAPI32.dll_ControlService]
pop ebp
ret

Function at 0x1001f5b9
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001f5e8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1001f5e3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1001f701
mov dword [ebp - 0x24], 0x43d837bc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0xcf95751c
mov dword [ebp - 0xc], 0xc9df
mov dword [ebp - 8], 2
mov dword [ebp - 0x38], 0xfffb
mov dword [ebp - 0x3c], 5
mov dword [ebp - 4], 0
jmp 0x1001f629
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1001f63c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x48], 0x2bfbd3ae
jmp 0x1001f622
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x48], 0xffffffff
or eax, 0xffffffff
je 0x1001f6a7
cmp dword [ebp - 0x10], 0
je 0x1001f6a7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x1001f69e
cmp dword [ebp - 8], 0
je 0x1001f678
cmp dword [ebp - 8], 0
je 0x1001f678
mov dword [ebp - 0x34], 1
jmp 0x1001f67c
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
jne 0x1001f69e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x1001f6a7
mov dword [ebp - 0x18], 1
jmp 0x1001f6ab
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 8]
cmp eax, 0xffffffff
jbe 0x1001f6ca
mov dword [ebp - 0x1c], 1
jmp 0x1001f6ce
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], eax
je 0x1001f6df
mov dword [ebp - 0x20], 1
jmp 0x1001f6e3
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x20], eax
jne 0x1001f6f4
mov dword [ebp - 0x28], 1
jmp 0x1001f6f8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov esp, ebp
pop ebp
ret
Function at 0x1001f97d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001fa98
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 4
mov eax, dword [ebp - 0x14]
mov dword [eax], 4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1001fa0f
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1001fa0f
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1001fa0f
and dword [ebp - 0x18], 0
jmp 0x1001fa16
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x1001fa29
mov dword [ebp - 0x10], 1
jmp 0x1001fa2d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jge 0x1001fa4d
mov dword [ebp - 0x1c], 1
jmp 0x1001fa51
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jne 0x1001fa60
mov dword [ebp - 0x20], 1
jmp 0x1001fa64
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x1001fa77
mov dword [ebp - 0x24], 1
jmp 0x1001fa7b
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 4
je 0x1001fa8a
mov dword [ebp - 0x28], 1
jmp 0x1001fa8e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x1001fab1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001fab1
push 0x131e
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x1002b211
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b26b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x5b24
push 1
push 0x14d2
push dword [ebp - 0x14]
push 0x2188
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.10029ec9
add esp, 0x1c
jmp 0x1002b276
push 0xf6e
call dword [sym.imp.USER32.dll_GetKeyState]
mov esp, ebp
pop ebp
ret
Function at 0x100315f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.100313dc
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10031627
xor eax, eax
jmp 0x1003176a
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10031421
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003164f
xor eax, eax
jmp 0x1003176a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.10031479
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1003166e
xor eax, eax
jmp 0x1003176a
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x414
call fcn.10031284
add esp, 0x1c
push dword [ebp + 8]
push dword [ebp - 8]
push 0
push dword [ebp - 4]
call fcn.1002d19d
add esp, 0x10
push 0x771b
push 0x1f67
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x64b2
call fcn.100314c9
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x100316e4
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x5ce0
call fcn.1003154b
add esp, 0x10
push dword [ebp - 4]
call fcn.10030cb2
pop ecx
test eax, eax
jne 0x100316f5
xor eax, eax
jmp 0x1003176a
push dword [ebp - 4]
push 0x31ed
push 0
call fcn.1002ed8f
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10031752
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10031726
xor eax, eax
jmp 0x1003176a
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003173f
xor eax, eax
jmp 0x1003176a
push 0xc1b
lea eax, [ebp - 4]
push eax
push 1
call fcn.1003159d
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10031763
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10031767
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x1003176e
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100317b3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x100317c4
push 0x4f3
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esp, ebp
pop ebp
ret
Function at 0x10044fa3
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004508f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10044ffa
mov dword [ebp - 0x20], 1
jmp 0x10044ffe
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov ecx, 0xdb37
sub ecx, dword [eax]
cmp ecx, 6
jg 0x10045016
mov dword [ebp - 0xc], 1
jmp 0x1004501a
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
sub eax, 0x390bbb97
mov ecx, dword [ebp - 0x38]
cmp eax, dword [ecx]
jl 0x10045032
mov dword [ebp - 0x10], 1
jmp 0x10045036
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x8ef3
jg 0x10045048
mov dword [ebp - 0x14], 1
jmp 0x1004504c
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
neg eax
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx]
jne 0x10045066
mov dword [ebp - 0x1c], 1
jmp 0x1004506a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x1004507d
mov dword [ebp - 0x24], 1
jmp 0x10045081
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x100450a5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100450a5
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret

Function at 0x10045250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004526a
push 0x131e
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x10045275
push 0x1540
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebp
ret

Function at 0x100456f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10045737
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
and dword [ecx + eax], 0
jmp 0x10045754
push 0
push 0
push 0
push 0
push 0xd33
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x10045758
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10045780
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1004578b
push 0x137a
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1007f705
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10087330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10071c84
mov dword [ebp - 0x14], eax
cmp dword [0x10737f94], esi
jne 0x1007f7f8
push 0x800
push esi
push 0x10007bbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007f785
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007f8d8
push esi
push esi
push 0x10007bbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007f8d8
push 0x10007bd4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007f8d8
push eax
call ebx
push 0x10007be0
push edi
mov dword [0x10737f94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007bf0
push edi
mov dword [0x10737f98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007c04
push edi
mov dword [0x10737f9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10737fa4], eax
test eax, eax
je 0x1007f7f5
push 0x10007c20
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10737fa0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007f81d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007f810
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007f832
push 4
pop eax
jmp 0x1007f8da
cmp dword [ebp - 0x14], esi
je 0x1007f832
push dword [0x10737f94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007f817
mov eax, dword [0x10737fa0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007f890
cmp dword [0x10737fa4], edi
je 0x1007f890
push eax
call ebx
push dword [0x10737fa4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007f890
test eax, eax
je 0x1007f890
call ecx
test eax, eax
je 0x1007f885
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007f885
test byte [ebp - 8], 1
jne 0x1007f890
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007f8c0
mov eax, dword [0x10737f98]
cmp eax, edi
je 0x1007f8bd
push eax
call ebx
test eax, eax
je 0x1007f8bd
call eax
mov esi, eax
test esi, esi
je 0x1007f8bd
mov eax, dword [0x10737f9c]
cmp eax, edi
je 0x1007f8bd
push eax
call ebx
test eax, eax
je 0x1007f8bd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10737f94]
call ebx
test eax, eax
je 0x1007f8d8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007f8da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c46d
mov esp, ebp
pop ebp
ret