joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032730
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.10093360
mov eax, dword [0x100cd130]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x3c
push 0
push esi
mov edi, ecx
call fcn.10087ea0
lea eax, [ebp - 0x2004]
mov dword [esi + 0x10], eax
mov eax, 0x1000
lea ecx, [ebp - 0x4004]
mov dword [esi], 0x3c
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x10032788
mov edi, dword [edi + 4]
jmp 0x1003278b
add edi, 4
push esi
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop edi
call fcn.10084554
leave
ret
Function at 0x10033b04
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2eff
mov eax, dword fs:[0]
push eax
mov eax, 0x18b0
call fcn.10093360
mov eax, dword [0x100cd130]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov esi, ebx
mov dword [ebp - 4], edi
call fcn.10033877
cmp dword [ebp + 0x1c], 4
jae 0x10033b73
push edi
push 1
lea esi, [ebp + 8]
call fcn.10001b64
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10084554
leave
ret 0x1c
push 0x38
lea eax, [ebp - 0x1880]
push edi
push eax
call fcn.10087ea0
add esp, 0xc
mov esi, 0x802
push esi
lea eax, [ebp - 0x818]
push edi
push eax
call fcn.10087ea0
add esp, 0xc
push esi
lea eax, [ebp - 0x1020]
push edi
push eax
call fcn.10087ea0
add esp, 0xc
push esi
lea eax, [ebp - 0x1828]
push edi
push eax
call fcn.10087ea0
lea eax, [ebp - 0x818]
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x1874], eax
mov eax, 0x400
mov dword [ebp - 0x1858], ecx
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1870], eax
mov dword [ebp - 0x1854], eax
mov dword [ebp - 0x187c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1884], 0x3c
mov dword [ebp - 0x1880], ecx
jae 0x10033c0e
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1884]
push ecx
push edi
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebx + 0x28]
push eax
call fcn.10001a93
movzx eax, word [ebp - 0x186c]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.10001a93
lea eax, [ebp - 0x1828]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.10001a93
lea eax, [ebp - 0x1020]
push eax
lea esi, [ebp - 0x1844]
call fcn.10003c27
push edi
push 0x100b4530
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.100019dd
cmp eax, 0xffffffff
je 0x10033d2a
lea eax, [ebp - 0x18a0]
mov dword [ebp - 0x1848], edi
push 0x3f
push eax
lea edi, [ebp - 0x1848]
mov ecx, esi
call fcn.1001a326
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18bc]
mov byte [ebp - 4], 2
call fcn.1001a269
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 0x44]
mov byte [ebp - 4], 3
call fcn.10001a07
push edi
push 1
lea esi, [ebp - 0x18bc]
call fcn.10001b64
push edi
push 1
lea esi, [ebp - 0x18a0]
mov byte [ebp - 4], 1
call fcn.10001b64
sub esp, 0x1c
lea eax, [ebp - 0x1844]
mov esi, esp
mov dword [ebp - 0x1848], esp
push eax
call fcn.100019af
push ebx
call fcn.100338ba
cmp eax, edi
jne 0x10033d5a
xor ebx, ebx
push edi
push 1
lea esi, [ebp - 0x1844]
call fcn.10001b64
push edi
push 1
lea esi, [ebp + 8]
call fcn.10001b64
mov eax, ebx
jmp 0x10033b57
lea edx, [ebp - 0x1844]
lea ecx, [ebp - 0x18a0]
call fcn.1001a269
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x44]
mov byte [ebp - 4], 4
call fcn.10001a07
push edi
push 1
lea esi, [ebp - 0x18a0]
call fcn.10001b64
jmp 0x10033d5c
xor edi, edi
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov ebx, eax
jmp 0x10033d0a
Function at 0x10038744
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x1003876d
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x100acf30]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x1003874d
pop esi
ret

Function at 0x10038f26
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
push edi
test eax, eax
je 0x10038f69
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov ebx, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push ebx
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.10091f00
push ebx
push edi
push edx
push eax
call fcn.10093880
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10038d51
pop ecx
pop ecx
test eax, eax
je 0x10038f86
push 0x7e4b
mov edi, str.winTruncate1
jmp 0x10038fa6
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10038fb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
push 0x7e4e
mov edi, str.winTruncate2
mov ecx, dword [esi + 0x1c]
push 0x60a
call fcn.10038cac
pop ecx
mov dword [esp + 0x10], eax
pop ecx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10039000
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10039044
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10039044
mov ecx, dword [esi + 0x1c]
push 0x7ea0
push 0x70a
mov edi, str.winFileSize
mov dword [esi + 0x10], eax
call fcn.10038cac
pop ecx
pop ecx
jmp 0x10039064
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.10093880
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x10039aed
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x100cd130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100d2720]
push ebx
push esi
test eax, eax
je 0x10039b27
push eax
push 0x100b6914
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.10037239
add esp, 0x10
jmp 0x10039b9f
call fcn.10038a0c
mov esi, 0xe6
test eax, eax
je 0x10039b67
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.10038ab9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10039b83
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10084554
leave
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.10038b7a
jmp 0x10039b4f
push ebx
push 0x100b6914
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.10037239
push ebx
call fcn.10084987
add esp, 0x14
mov ecx, str.etilqs_
call fcn.100379dd
lea ecx, [ebp - 0x110]
mov edx, eax
call fcn.100379dd
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x10039bc6
xor eax, eax
inc eax
jmp 0x10039b59
lea ecx, [ebp - 0x110]
call fcn.100379dd
test eax, eax
jbe 0x10039bdf
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x10039bdf
dec eax
jne 0x10039bd6
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.10037239
mov ecx, edi
call fcn.100379dd
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.10037438
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x10039c18
mov byte [edi + esi], cl
xor eax, eax
jmp 0x10039b59

Function at 0x10039e1e
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
xor ebp, ebp
xor ebx, ebx
call fcn.10039ab6
mov esi, eax
pop ecx
test esi, esi
jne 0x10039e3e
push 7
pop eax
jmp 0x10039eda
call fcn.10038a0c
test eax, eax
je 0x10039e79
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10039e69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x10039eab
inc ebp
cmp ebp, 5
jge 0x10039eab
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10039e47
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10039e9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x10039eab
inc ebp
cmp ebp, 5
jge 0x10039eab
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10039e79
push esi
call fcn.10084987
pop ecx
cmp edi, 0xffffffff
jne 0x10039ec0
cmp ebx, 2
jne 0x10039ec0
xor eax, eax
jmp 0x10039eda
mov ecx, dword [esp + 0x18]
push 0x83f7
push 0xa0a
mov edi, str.winDelete
call fcn.10038cac
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1003a0a5
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100cd130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea ecx, [ebp - 0x110]
push ecx
push 0x104
push eax
push dword [ebp + 8]
mov dword [ebp - 0x118], 0x200
call fcn.10039fb2
add esp, 0x10
test eax, eax
jne 0x1003a186
lea eax, [ebp - 0x110]
push eax
call fcn.10039ab6
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x1003a17c
call fcn.10038a0c
test eax, eax
mov eax, esi
je 0x1003a140
cmp word [esi], bx
je 0x1003a121
cmp word [eax], 0x5c
je 0x1003a11c
inc eax
inc eax
cmp word [eax], bx
jne 0x1003a10d
jmp 0x1003a121
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1003a16f
cmp byte [esi], bl
je 0x1003a152
cmp byte [eax], 0x5c
je 0x1003a150
inc eax
cmp byte [eax], bl
jne 0x1003a144
jmp 0x1003a152
mov byte [eax], bl
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.10084987
pop ecx
cmp edi, ebx
jne 0x1003a186
mov dword [ebp - 0x118], 0x200
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084554
leave
ret
Function at 0x1003d214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x1003d24f
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1003d333
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x1003d289
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.10093880
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x1003d289
xor edi, edi
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x1003d333
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x1003d323
test byte [esi + 0x14], 0x20
jne 0x1003d323
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.10093880
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp edi, 1
jne 0x1003d2cd
call fcn.1003c962
push dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.1003555c
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x1003d305
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebx + 0x20]
jbe 0x1003d30d
mov dword [ebx + 0x20], edi
mov eax, dword [ebp + 8]
push dword [esi]
mov eax, dword [eax + 0x58]
mov ebx, edi
call fcn.100472d9
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], eax
je 0x1003d287
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10053980
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10053992
xor eax, eax
jmp 0x10053a81
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.1003613a
mov esi, eax
pop ecx
test esi, esi
je 0x10053a80
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.1005370a
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.100537cd
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.100534ba
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.1005370a
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.100534ba
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.1005370a
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.10053980
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.100534ba
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.100534ba
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10055a93
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10055bab
test esi, esi
je 0x10055bab
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x10055b4f
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x10055b4f
xor cl, dl
test cl, 0x10
jne 0x10055b4f
mov al, byte [edi]
cmp al, byte [esi]
jne 0x10055b4f
push dword [esi + 8]
push dword [edi + 8]
call fcn.10055a93
pop ecx
pop ecx
test eax, eax
jne 0x10055b4f
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.10055a93
pop ecx
pop ecx
test eax, eax
jne 0x10055b4f
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.10055bba
test eax, eax
jne 0x10055b4f
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x10055b4f
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x10055b4f
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x10055b54
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x10055b4f
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x10055b7e
push 2
pop eax
jmp 0x10055bb6
cmp byte [edi], 0x98
je 0x10055b7e
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10055b7e
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x10055b4f
mov edx, dword [esi + 4]
test edx, edx
je 0x10055b4f
call fcn.10037afe
test eax, eax
jne 0x10055b4f
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x10055b9a
xor eax, eax
inc eax
jmp 0x10055bb6
test cx, cx
je 0x10055ba7
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x10055b4f
xor eax, eax
jmp 0x10055bb6
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret
Function at 0x1006bdc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.1006ac61
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x16], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x1006bfc1
cmp dword [ebx + 0x34], 0
jne 0x1006bfc1
jmp 0x1006bfb5
mov eax, 0x100
cmp word [edi + 0x10], ax
jne 0x1006bfb2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x1006bfb2
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x1006bfb2
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x1006bf51
mov eax, 0x200
cmp word [ebx + 0x10], ax
jne 0x1006beb2
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x1006beff
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x1006bf4e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.1006ce40
fld qword [esp + 0x70]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x1006bf5c
add ebx, 0x28
cmp ebx, esi
jb 0x1006be91
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x1006bf7f
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.1006bd8b
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x1006bfb2
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x14]
fld qword [esp + 0x30]
fstp qword [ecx + 8]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 0x10], edi
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x1006be1f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100785c2
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x100a54bf
call fcn.10088636
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0x100bab74
and dword [ebp - 4], 0
lea ebx, [edi + 0xd0]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x38], ebx
call fcn.100146c2
lea eax, [ebp - 0x2c]
push eax
call fcn.10078744
push 0x100ace24
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10004cb3
test eax, eax
jne 0x10078684
push 0x100bab90
lea esi, [ebp - 0x58]
call fcn.10003c27
mov edi, esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.1002e028
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x1007863e
mov eax, dword [eax + 4]
jmp 0x10078641
add eax, 4
mov ecx, dword [ebp - 0x38]
push eax
call fcn.1001483a
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x74]
call fcn.10001b64
push edi
push 1
lea esi, [ebp - 0x58]
call fcn.10001b64
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
je 0x1007867d
mov eax, dword [ecx]
call dword [eax]
xor eax, eax
jmp 0x1007873c
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x10078690
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x18], 8
jb 0x1007869e
mov eax, dword [eax + 4]
jmp 0x100786a1
add eax, 4
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x1007871f
push 0x100babe0
lea esi, [ebp - 0x58]
call fcn.10003c27
mov edi, esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.1002e028
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x100786e3
mov eax, dword [eax + 4]
jmp 0x100786e6
add eax, 4
mov ecx, dword [ebp - 0x38]
push eax
call fcn.1001483a
pop ecx
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.10001b64
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.10001b64
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jmp 0x10078677
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x10078739
mov eax, dword [ecx]
call dword [eax]
xor eax, eax
inc eax
call fcn.100886b9
ret 4
Function at 0x1007e0e7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x1007e131
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x1007e158
shr eax, 2
test al, 1
je 0x1007e161
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1007e194
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x1007e193
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x100832bd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100d15c4], 0
push esi
jne 0x10083230
call fcn.10083156
test eax, eax
je 0x10083273
mov eax, dword [0x100d15c4]
cmp eax, 1
jne 0x10083251
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10083273
pop esi
ret
push eax
call dword [0x100d15cc]
test eax, eax
jne 0x100832bb
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10083277
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100d15c4]
call dword [0x100d15cc]
mov edi, eax
test edi, edi
je 0x1008329c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100832b8
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100d15c4]
call dword [0x100d15c8]
add edi, 0x10
cmp edi, esi
jb 0x100832a4
mov eax, edi
pop edi
pop esi
ret
jmp 0x1008321d

Function at 0x10084554
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100cd130]
jne 0x1008455e
repz ret
jmp fcn.1008ba5f