joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007036
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
pop eax
push esi
add esi, 0x86dc
pop esi
mov byte [ebp - 0xb5c], 0x56
mov byte [ebp - 0xb5b], 0x69
mov byte [ebp - 0xb5a], 0x72
mov byte [ebp - 0xb59], 0x74
mov byte [ebp - 0xb58], 0x75
mov byte [ebp - 0xb57], 0x61
invalid
jmp dword [ecx - 0x3a]
test dword [edx + 0x6cfffff4], ebp
mov byte [ebp - 0xb55], 0x50
mov byte [ebp - 0xb54], 0x72
mov byte [ebp - 0xb53], 0x6f
mov byte [ebp - 0xb52], 0x74
mov byte [ebp - 0xb51], 0x65
mov byte [ebp - 0xb50], 0x63
mov byte [ebp - 0xb4f], 0x74
mov byte [ebp - 0xb4e], 0
push eax
push esi
add esp, 4
call 0x10007036
add byte [ebx], bh
inc esp
cmp edi, dword [ecx]
dec ebp
inc ebx
push eax
inc esi
add esp, 4
or eax, 0xfcf5
pop eax
push eax
push ebx
add esp, 4
or eax, 0xe179
jmp 0x10007053
pop eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1f48], eax
mov ecx, dword [ebp - 0x1f48]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1f4c], edx
mov eax, dword [ebp - 0x1f4c]
test dword [eax - 0x7a760001], esi
fsub st(6)
invalid
call dword [esi - 0x7f]
out dx, al
mov ecx, 0x810000d6
out dx, al
jno 0x10007093
add dword [eax], eax
or esi, 0xd61b
sub esi, 0xada4
pop esi
push edi
push eax
add esp, 4
xor edi, 0x3bb3
add edi, 0x8a9f
or edi, 0xf39b
pop edi
cmp dword [ebp - 0x1928], 0
jne 0x100070c5
mov dword [ebp - 0x394], 0
jmp 0x1000736c
mov ecx, dword [ebp - 0x1928]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xec4], eax
push edx
and edx, 0x5d44
xor edx, 0x38c2
and edx, 0x1827e
pop edx
push ebx
push esi
add esp, 4

Function at 0x10007070
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
test dword [eax - 0x7a760001], esi
fsub st(6)
invalid

Function at 0x100070f0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
xor ebx, 0xc170
or ebx, 0x6237
sub ebx, 0x17bc7
and ebx, 0xe1c3
pop ebx
cmp dword [ebp - 0xec4], 0

Function at 0x100071b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
add esp, 4
and eax, 0xd5e1
pop eax
invalid
lea eax, [ecx + esi*8 - 1]
Function at 0x10007230
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
add esp, 4
xor esi, 0x25a1
add esi, 0x11ad4
pop esi
push esi
push edi
add esp, 4
jmp 0x100071a8
or esi, 0x8015
pop esi
push eax
inc ebx
add edx, 0x13b03
pop edx
push ecx
jmp 0x10007243
pop ecx
movzx eax, word [ebp - 0x40]
test eax, eax
jne 0x10007261
movzx ecx, word [ebp - 0x270]
movzx edx, word [ebp - 0x40]
sub ecx, edx
mov dword [ebp - 0x1930], ecx
jmp 0x100072bb
movzx eax, word [ebp - 0x270]
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x10007189
movzx edx, word [ebp - 0x270]
xor edx, 0x20
movzx eax, word [ebp - 0x40]
cmp edx, eax
je 0x10007189
movzx ecx, word [ebp - 0x270]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
jge 0x100072a5
mov dword [ebp - 0x192c], 0xffffffff
jmp 0x100072af
mov dword [ebp - 0x192c], 1
mov eax, dword [ebp - 0x192c]
mov dword [ebp - 0x1930], eax
cmp dword [ebp - 0x1930], 0
jne 0x10007304
push ecx
push eax
add esp, 4
add ecx, 0x6248
xor ecx, 0xcb80
pop ecx
push edi
push edi
add esp, 4
xor edi, 0x15cd
jmp 0x100072e9
xor edi, 0xe836
xor edi, 0xe4e9
pop edi
mov ecx, dword [ebp - 0x5d4]
mov dword [ebp - 0x394], ecx
jmp 0x1000736c
push ecx
push ecx
add esp, 4
add ecx, 0x6239
sub ecx, 0xf361
jmp 0x10016676
call fcn.10007324
add byte [eax + eax*2], dh
dec esi
cmp al, 0x40
inc esp
inc ebx
xor al, 0x41

Function at 0x100072b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
test esp, edx
out 0xff, al
dec dword [ecx - 0x192f7b]
inc dword [ebx - 0x192f43]
inc dword [eax]

Function at 0x10007324
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x1000732d
pop ecx
push ecx
jmp 0x10007335
invalid
pop ecx
mov edx, dword [ebp - 0x5d4]
mov eax, dword [edx]
mov dword [ebp - 0x5d4], eax
mov ecx, dword [ebp - 0x5d4]
cmp ecx, dword [ebp - 0xec4]
je 0x10007362
mov edx, dword [ebp - 0x5d4]
cmp dword [edx + 0x30], 0
invalid
test ebx, ecx
std
Function at 0x10045b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101bccd8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.GfxColorSpace.0
mov dword [esp + 0xc], 0
fld1
fst qword [eax + 0x18]
mov dword [eax], vtable.GfxCalGrayColorSpace.0
fst qword [eax + 0x10]
fst qword [eax + 8]
fldz
fst qword [eax + 0x30]
fst qword [eax + 0x28]
fstp qword [eax + 0x20]
fstp qword [eax + 0x38]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x10046480
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101bccd8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.GfxColorSpace.0
mov dword [esp + 0xc], 0
fld1
fst qword [eax + 0x18]
mov dword [eax], vtable.GfxCalRGBColorSpace.0
fst qword [eax + 0x10]
fst qword [eax + 8]
fldz
fst qword [eax + 0x30]
fst qword [eax + 0x28]
fst qword [eax + 0x20]
fst qword [eax + 0x58]
fst qword [eax + 0x60]
fst qword [eax + 0x68]
fst qword [eax + 0x78]
fst qword [eax + 0x80]
fstp qword [eax + 0x88]
fst qword [eax + 0x48]
fst qword [eax + 0x40]
fst qword [eax + 0x38]
fst qword [eax + 0x50]
fst qword [eax + 0x70]
fstp qword [eax + 0x90]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x10047340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101bccd8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.GfxColorSpace.0
mov dword [esp + 0xc], 0
fld1
fst qword [eax + 0x18]
mov dword [eax], vtable.GfxLabColorSpace.0
fst qword [eax + 0x10]
fstp qword [eax + 8]
fldz
fst qword [eax + 0x30]
fst qword [eax + 0x28]
fstp qword [eax + 0x20]
fld qword [0x1026be98]
fst qword [eax + 0x48]
fstp qword [eax + 0x38]
fld qword [0x1026bdc0]
fst qword [eax + 0x50]
fstp qword [eax + 0x40]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x10047430
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101bd6db
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x70
call fcn.100f5c37
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x1004747e
push eax
call fcn.10047340
jmp 0x10047480
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
fld qword [esi + 8]
fstp qword [eax + 8]
fld qword [esi + 0x10]
fstp qword [eax + 0x10]
fld qword [esi + 0x18]
fstp qword [eax + 0x18]
fld qword [esi + 0x20]
fstp qword [eax + 0x20]
fld qword [esi + 0x28]
fstp qword [eax + 0x28]
fld qword [esi + 0x30]
fstp qword [eax + 0x30]
fld qword [esi + 0x38]
fstp qword [eax + 0x38]
fld qword [esi + 0x40]
fstp qword [eax + 0x40]
fld qword [esi + 0x48]
fstp qword [eax + 0x48]
fld qword [esi + 0x50]
fstp qword [eax + 0x50]
fld qword [esi + 0x58]
fstp qword [eax + 0x58]
fld qword [esi + 0x60]
fstp qword [eax + 0x60]
fld qword [esi + 0x68]
fstp qword [eax + 0x68]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101bccd8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.GfxColorSpace.0
mov dword [esp + 0xc], 0
fldz
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax], vtable.GfxICCBasedColorSpace.0
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov dword [eax + 0x50], edx
mov ecx, dword [ecx + 4]
fst qword [eax + 0x28]
fst qword [eax + 0x20]
mov dword [eax + 0x54], ecx
fst qword [eax + 0x18]
fstp qword [eax + 0x10]
fld1
fst qword [eax + 0x48]
fst qword [eax + 0x40]
fst qword [eax + 0x38]
fstp qword [eax + 0x30]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x1004a5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101bed78
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov dword [edi], vtable.GfxPattern.0
mov dword [edi + 4], 1
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [edi], vtable.GfxTilingPattern.0
mov dword [edi + 0x48], ecx
mov dword [edi + 0x40], 0xd
mov dword [edi + 0x88], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x80], 0xd
lea esi, [edi + 0x40]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
fld qword [eax]
fstp qword [edi + 0x10]
lea ebp, [edi + 0x80]
fld qword [eax + 8]
fstp qword [edi + 0x18]
fld qword [eax + 0x10]
fstp qword [edi + 0x20]
fld qword [eax + 0x18]
mov eax, dword [esp + 0x3c]
fstp qword [edi + 0x28]
fld qword [esp + 0x2c]
fstp qword [edi + 0x30]
fld qword [esp + 0x34]
fstp qword [edi + 0x38]
call fcn.10076070
fld qword [ebx]
mov eax, dword [esp + 0x40]
fstp qword [edi + 0x50]
mov esi, ebp
fld qword [ebx + 8]
fstp qword [edi + 0x58]
fld qword [ebx + 0x10]
fstp qword [edi + 0x60]
fld qword [ebx + 0x18]
fstp qword [edi + 0x68]
fld qword [ebx + 0x20]
fstp qword [edi + 0x70]
fld qword [ebx + 0x28]
fstp qword [edi + 0x78]
call fcn.10076070
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x24

Function at 0x1004a940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101bcca8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], vtable.GfxPattern.0
mov dword [eax + 4], 2
mov dword [esp + 0xc], 0
mov dword [eax], vtable.GfxShadingPattern.0
mov dword [eax + 8], edx
fld qword [ecx]
fstp qword [eax + 0x10]
fld qword [ecx + 8]
fstp qword [eax + 0x18]
fld qword [ecx + 0x10]
fstp qword [eax + 0x20]
fld qword [ecx + 0x18]
fstp qword [eax + 0x28]
fld qword [ecx + 0x20]
fstp qword [eax + 0x30]
fld qword [ecx + 0x28]
fstp qword [eax + 0x38]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x10054d00
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.shell32.dll
mov byte [esi], 0
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10054d57
push str.SHGetFolderPathA
push edi
call ebx
test eax, eax
je 0x10054d36
push esi
push 0
push 0
push 0x14
push 0
call eax
cmp byte [esi], 0
jne 0x10054d50
push str.SHGetSpecialFolderPathA
push edi
call ebx
test eax, eax
je 0x10054d50
push 0
push 0x14
push esi
push 0
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [esi], 0
jne 0x10054db7
push str.SHFolder.dll
call ebp
mov edi, eax
test edi, edi
je 0x10054d87
push str.SHGetFolderPathA
push edi
call ebx
test eax, eax
je 0x10054d80
push esi
push 0
push 0
push 0x14
push 0
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [esi], 0
jne 0x10054db7
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [esi], 0
je 0x10054db7
push 0x104
push str._fonts
push esi
call fcn.10109d80
add esp, 0xc
mov byte [esi + 0x103], 0
pop edi
pop ebp
pop ebx
ret

Function at 0x10055570
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [ebx + 0xc]
push esi
mov esi, dword [ebx + 4]
lea ecx, [esi + esi + 1]
mov dword [esp + 0x10], ebp
mov dword [ebx + 4], ecx
test ecx, ecx
jne 0x1005558e
xor eax, eax
jmp 0x100555ae
lea eax, [ecx*4]
cmp ecx, 0x1ffffffe
ja 0x10055657
test eax, eax
ja 0x100555a9
xor eax, eax
jmp 0x100555ae
call fcn.100550f0
mov dword [ebx + 0xc], eax
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x100555d0
jmp 0x100555c0
mov ecx, dword [ebx + 0xc]
mov dword [ecx + eax*4], 0
inc eax
cmp eax, dword [ebx + 4]
jl 0x100555c0
test esi, esi
jle 0x10055644
push edi
mov edi, ebp
mov dword [esp + 0x10], esi
jmp 0x100555e0
cmp dword [edi], 0
je 0x10055639
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
mov dword [edi], edx
mov esi, dword [ecx]
mov edx, dword [esi + 0x1c]
mov esi, dword [esi + 0x18]
xor eax, eax
test esi, esi
jle 0x1005561c
mov dword [esp + 0xc], esi
mov edi, edi
movsx esi, byte [edx]
mov ebp, eax
shl ebp, 4
add ebp, eax
and esi, 0xff
add esi, ebp
inc edx
sub dword [esp + 0xc], 1
mov eax, esi
jne 0x10055600
xor edx, edx
div dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*4], ecx
cmp dword [edi], 0
jne 0x100555e5
mov ebp, dword [esp + 0x14]
add edi, 4
sub dword [esp + 0x10], 1
jne 0x100555e0
pop edi
test ebp, ebp
je 0x10055651
push ebp
call fcn.10109eb5
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret
push str.Bogus_memory_allocation_size_n
call fcn.10107014
add eax, 0x40
push eax
call fcn.10106bd7
add esp, 8
push 1
call fcn.1010a517
int3
Function at 0x10055770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
xor eax, eax
test edx, edx
jle 0x1005579c
push esi
push edi
mov edi, edi
movsx esi, byte [ecx]
mov edi, eax
shl edi, 4
add edi, eax
and esi, 0xff
add esi, edi
inc ecx
sub edx, 1
mov eax, esi
jne 0x10055780
pop edi
pop esi
mov ecx, dword [esp + 4]
xor edx, edx
div dword [ecx + 4]
mov eax, edx
ret 4

Function at 0x10056b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101bd63b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.100073a0
mov dword [esp + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x10057390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101c0606
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ebp, [esi + 0x38]
mov ecx, ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.100073a0
mov dword [esp + 0x1c], ebx
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
cmp dword [edi + 0x28], ebx
je 0x1005742f
push 0x20
call fcn.100f5c37
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x10057426
push eax
mov eax, dword [edi + 0x28]
call fcn.10055ac0
jmp 0x10057428
xor eax, eax
mov byte [esp + 0x1c], bl
mov dword [esi + 0x28], eax
cmp dword [edi + 0x38], ebx
lea eax, [edi + 0x38]
je 0x1005743f
push eax
mov ecx, ebp
call fcn.10007070
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x10060110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101c4eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
fld qword [esi]
mov eax, dword [edi]
fld qword [esi + 8]
mov eax, dword [eax + 0x40]
fld qword [esi + 0x10]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x2c]
push ecx
fld qword [esi + 0x18]
lea edx, [esp + 0x24]
push edx
fstp qword [esp + 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fstp qword [esp]
call eax
fld qword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x44]
fstp qword [esp]
call edx
mov eax, dword [edi + 0xac]
push eax
push edi
mov ecx, esi
call fcn.10060270
fild dword [esp + 0x14]
mov ebp, eax
push ebp
sub esp, 0x20
fstp qword [esp + 0x18]
lea esi, [esp + 0x58]
fild dword [esp + 0x3c]
fstp qword [esp + 0x10]
fild dword [esp + 0x40]
fstp qword [esp + 8]
fild dword [esp + 0x44]
fstp qword [esp]
call fcn.100583e0
mov dword [esp + 0x68], 0
mov edi, dword [edi + 0x78]
mov edi, dword [edi + 0x30]
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100601ff
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, dword [ebx + 4]
jl 0x10060205
push ebx
call fcn.10060e80
mov esi, dword [ebx + 8]
lea edi, [esp + 0x34]
call fcn.100584b0
add dword [ebx + 8], 0x28
test ebp, ebp
je 0x10060232
mov eax, dword [ebp + 0x1c]
cmp eax, ebp
je 0x10060229
push eax
call fcn.10109eb5
add esp, 4
push ebp
call fcn.100f5c66
add esp, 4
mov dword [esp + 0x68], 0xffffffff
mov esi, dword [esp + 0x54]
test esi, esi
je 0x1006025b
mov eax, dword [esi + 0x1c]
cmp eax, esi
je 0x10060252
push eax
call fcn.10109eb5
add esp, 4
push esi
call fcn.100f5c66
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret

Function at 0x100611f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x100611fa
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.101088d1
add esp, 0x10
ret 0xc

Function at 0x10061220
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1006122a
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.1010ae5e
add esp, 0x10
ret 0xc
Function at 0x10075cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [ebp + 4]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp + 8], eax
push edi
jl 0x10075db4
mov ebx, dword [ebp]
lea ecx, [esi + esi + 1]
mov dword [esp + 0x10], ebx
mov dword [ebp + 4], ecx
test ecx, ecx
jne 0x10075cf2
xor eax, eax
jmp 0x10075d12
lea eax, [ecx*8]
cmp ecx, 0xffffffe
ja 0x10075e15
test eax, eax
ja 0x10075d0d
xor eax, eax
jmp 0x10075d12
call fcn.100550f0
mov dword [ebp], eax
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x10075d30
lea esp, [esp]
mov ecx, dword [ebp]
mov dword [ecx + eax*8], 0
inc eax
cmp eax, dword [ebp + 4]
jl 0x10075d20
test esi, esi
jle 0x10075da7
mov edi, ebx
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov edx, dword [edi]
test edx, edx
je 0x10075d9d
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x10075d6b
mov edi, edi
movsx ecx, cl
mov esi, eax
shl esi, 4
and ecx, 0xff
add esi, eax
add ecx, esi
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10075d50
mov ecx, dword [ebp + 4]
xor edx, edx
div ecx
mov eax, dword [ebp]
cmp dword [eax + edx*8], 0
je 0x10075d91
mov ebx, eax
lea ecx, [ecx]
inc edx
cmp edx, ecx
jne 0x10075d87
xor edx, edx
cmp dword [ebx + edx*8], 0
jne 0x10075d80
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi]
mov dword [eax + edx*8], ecx
mov ecx, dword [edi + 4]
mov dword [eax + edx*8 + 4], ecx
add edi, 8
sub dword [esp + 0x18], 1
jne 0x10075d40
test ebx, ebx
je 0x10075db4
push ebx
call fcn.10109eb5
add esp, 4
mov edi, dword [esp + 0x1c]
mov cl, byte [edi]
xor eax, eax
mov edx, edi
test cl, cl
je 0x10075ddd
movsx ecx, cl
mov esi, eax
shl esi, 4
and ecx, 0xff
add esi, eax
add ecx, esi
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10075dc2
mov ecx, dword [ebp + 4]
xor edx, edx
div ecx
mov ebx, dword [ebp]
mov esi, edx
cmp dword [ebx + esi*8], 0
je 0x10075e51
nop
mov eax, dword [ebx + esi*8]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10075e32
test dl, dl
je 0x10075e11
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10075e32
add eax, 2
add ecx, 2
test dl, dl
jne 0x10075df5
xor eax, eax
jmp 0x10075e37
push str.Bogus_memory_allocation_size_n
call fcn.10107014
add eax, 0x40
push eax
call fcn.10106bd7
add esp, 8
push 1
call fcn.1010a517
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10075e4b
inc esi
cmp esi, dword [ebp + 4]
jne 0x10075e43
xor esi, esi
mov edx, ebx
cmp dword [edx + esi*8], 0
jne 0x10075df0
cmp dword [ebx + esi*8], 0
jne 0x10075e5c
call fcn.10055260
mov ecx, dword [ebp]
mov dword [ecx + esi*8], eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x20]
pop edi
mov dword [edx + esi*8 + 4], eax
inc dword [ebp + 8]
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x10075ef0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x10075f1c
push esi
lea esp, [esp]
movsx ecx, cl
mov esi, eax
shl esi, 4
and ecx, 0xff
add esi, eax
add ecx, esi
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10075f00
pop esi
mov ecx, dword [esp + 4]
xor edx, edx
div dword [ecx + 4]
mov eax, edx
ret 4
Function at 0x1007d0e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x101c3820
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x102832a0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
lea esi, [edi + 0x198c]
push 0x102b0288
mov ecx, esi
call fcn.10007070
push str.Data
mov ecx, esi
call fcn.100060e0
mov eax, dword [esi]
push eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call ebx
test eax, eax
jne 0x1007d19b
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1007d19b
mov eax, dword [esi]
push eax
push str.Could_not_create_dir__s_in_CCreateDoc::CreateTempDir
lea ecx, [ebp]
push ecx
call fcn.10106a28
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp]
push edx
call fcn.10006de0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.100bfc60
mov byte [ebp - 0x11], 0
lea esi, [edi + 0x1994]
push 0x102b0288
mov ecx, esi
call fcn.10007070
push str.Image
mov ecx, esi
call fcn.100060e0
mov eax, dword [esi]
push eax
call ebx
test eax, eax
jne 0x1007d207
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1007d207
mov eax, dword [esi]
push eax
push str.Could_not_create_dir__s_in_CCreateDoc::CreateTempDir
lea ecx, [ebp]
push ecx
call fcn.10106a28
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp]
push edx
call fcn.10006de0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
call fcn.100bfc60
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.1010583a
add ebp, 0x404
mov esp, ebp
pop ebp
ret