joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009360
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
call fcn.1000be50
cmp byte [0x1013a5a4], 0
mov ecx, 0x8d610f
je 0x100093c1
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x14], 5
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
mov eax, dword [0x10126dac]
setne byte [ebp - 0xc]
mov dword [esi], eax
mov al, byte [0x10126db0]
jmp 0x10009404
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x14], 5
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
mov eax, dword [0x10126db4]
setne byte [ebp - 0xc]
mov dword [esi], eax
mov al, byte [0x10126db8]
mov byte [esi + 4], al
cmp byte [ebp - 0xc], 0
je 0x10009420
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
cmp byte [0x1013a5a5], 0
je 0x10009496
push 0xffffffffffffffff
mov ebx, 0x56e210
call ebx
push 0xffffffffffffffff
mov esi, eax
call ebx
add esp, 8
movzx ecx, byte [eax + 0x718]
lea eax, [ecx*8]
sub eax, ecx
mov edi, dword [esi + eax*4 + 0x5a0]
lea eax, [edi - 0x16]
cmp eax, 0x14
ja 0x10009496
push 0xffffffffffffffff
call ebx
push 0xffffffffffffffff
mov esi, eax
call ebx
add esp, 8
movzx ecx, byte [eax + 0x718]
lea eax, [ecx*8]
sub eax, ecx
cmp dword [esi + eax*4 + 0x5a8], 1
jne 0x10009496
push 0xffffffffffffffff
call ebx
add esp, 4
mov edx, 0x5e6080
mov ecx, eax
push 0
push 0
push edi
call edx
call fcn.1000cfd0
call fcn.1000d5b0
mov ecx, dword [0x10138e8c]
call fcn.1000edd0
mov ecx, dword [0x10139e2c]
mov esi, dword [0x10138e88]
movss xmm0, dword [ecx + 0x50c]
ucomiss xmm0, dword [0x1012f2ac]
lahf
test ah, 0x44
jp 0x1000951d
cmp byte [esi], 0
sete bl
mov byte [esi], bl
test ecx, ecx
jne 0x100094f5
push 0xd6f
push str.C:UsersSalfrtDesktopinactyyProjectImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100afb33
mov ecx, dword [0x10139e2c]
add esp, 0xc
mov byte [ecx + 0xb0], bl
xor eax, eax
cmp byte [esi], al
mov ecx, 3
push 0
cmovne eax, ecx
mov ecx, dword [0x10138e90]
push eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x28]
add eax, 0x9bd30
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b8b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x1013807c]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push edi
push 0x80
xorps xmm0, xmm0
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x18], ecx
push 0
push eax
mov dword [esp + 0x1c], ecx
movaps xmmword [esp + 0xcc], xmm0
movaps xmmword [esp + 0xdc], xmm0
call fcn.100a99b0
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0xa0], 0x6a09e667
mov edi, 0x40
mov dword [esp + 0xa4], 0xbb67ae85
cmp esi, edi
mov dword [esp + 0xa8], 0x3c6ef372
mov dword [esp + 0xac], 0xa54ff53a
cmovb edi, esi
mov dword [esp + 0xb0], 0x510e527f
push edi
push dword [ebp + 8]
mov dword [esp + 0xbc], 0x9b05688c
push eax
mov dword [esp + 0xc4], 0x1f83d9ab
mov dword [esp + 0xc8], 0x5be0cd19
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], edi
call fcn.100a9b10
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, esi
cmp eax, 0x40
jae 0x1000b99a
mov dword [esp + 0x1c], eax
jmp 0x1000b9fc
sub esi, edi
lea eax, [esp + 0x20]
mov edi, esi
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
add esi, dword [ebp + 8]
push 1
push eax
shr edi, 6
call fcn.1000b3d0
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.1000b3d0
mov eax, dword [esp + 0xc]
and eax, 0x3f
shl edi, 6
push eax
mov dword [esp + 0x10], eax
lea eax, [edi + esi]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100a9b10
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 0x40
add eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x1c]
call fcn.1000b700
mov byte [esp + 0x120], 0
lea edi, [esp + 0xe0]
xor esi, esi
nop
movzx eax, byte [esp + esi + 0xc0]
push eax
push str._02x
push edi
call fcn.1000b150
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x1000ba20
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xe0]
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.1000b010
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.100a7615
mov esp, ebp
pop ebp
ret
Function at 0x1000fbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x1000fc37
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018f30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10018f7c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10018f5f
cmp edi, 2
jb 0x10018f5f
cmp byte [esi], cl
jne 0x10018f5f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104710]
test edi, edi
jne 0x10018f45
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10018fab
cmp cl, 0x23
jne 0x10018f92
cmp byte [esi], cl
jne 0x10018f92
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10104710]
test cl, cl
jne 0x10018f83
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10019140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10019163
push 0x625
push str.C:UsersSalfrtDesktopinactyyProjectImGuiimgui.cpp
push str.filename__mode
call fcn.100afb33
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10019170
mov dword [edi], 0
mov edx, 0x1012b318
mov ecx, esi
call fcn.10018fc0
mov esi, eax
test esi, esi
je 0x1001924f
push esi
call fcn.100b0742
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10019246
push 2
push 0
push esi
call fcn.100b0a09
add esp, 0xc
test eax, eax
jne 0x10019246
push esi
call fcn.100b0742
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10019246
push 0
push dword [ebp + 8]
push esi
call fcn.100b0a09
add esp, 0xc
test eax, eax
jne 0x10019246
mov eax, dword [0x10139e2c]
test eax, eax
je 0x100191e5
inc dword [eax + 0x370]
push ebx
call fcn.100afc35
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10019246
push esi
push ebx
push 1
push eax
call fcn.100b0c0a
add esp, 0x10
push esi
cmp eax, ebx
je 0x10019230
call fcn.100b00c6
mov eax, dword [0x10139e2c]
add esp, 4
test eax, eax
je 0x1001921e
dec dword [eax + 0x370]
push dword [ebp + 8]
call fcn.100afc40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100b00c6
add esp, 4
test edi, edi
je 0x1001923e
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100b00c6
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100193c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ecx
lea eax, [edx - 1]
mov dword [ebp - 0xc], ebx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x20], eax
cmp ebx, eax
mov eax, dword [ebp + 8]
jae 0x1001957a
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x100193f7
cmp eax, esi
jae 0x10019575
mov bl, byte [eax]
mov byte [ebp - 3], bl
test bl, bl
je 0x10019575
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x1012b654]
test ecx, ecx
mov dword [ebp - 0x10], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x18], ebx
test esi, esi
jne 0x10019429
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x1001943e
mov bh, byte [esi]
jmp 0x10019440
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 3], bh
cmp esi, edx
jae 0x1001944e
mov ch, byte [esi]
jmp 0x10019450
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x1001945e
mov bl, byte [esi]
jmp 0x10019460
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx*4 + 0x1012b640]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0x10]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1012b62c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
cmp esi, dword [ebx*4 + 0x1012b618]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x1012b604]
mov ebx, dword [ebp - 0x18]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10019552
xor eax, eax
mov esi, 0xfffd
cmp byte [ebp - 1], al
setne al
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 4], cl
setne cl
add eax, ecx
cmp ebx, eax
cmovl eax, ebx
add eax, dword [ebp - 0x1c]
jmp 0x10019558
add eax, ebx
test esi, esi
je 0x10019572
mov ecx, dword [ebp - 0x14]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x20]
jb 0x100193e8
jmp 0x10019575
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10019588
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100195a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, edx
mov eax, ecx
push edi
mov dword [ebp - 0x1c], esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
test esi, esi
je 0x100195c4
cmp eax, esi
jae 0x10019740
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x10019740
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1012b654]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x100195f6
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x1001960b
mov bh, byte [esi]
jmp 0x1001960d
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 3], bh
cmp esi, edx
jae 0x1001961b
mov ch, byte [esi]
jmp 0x1001961d
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x1001962b
mov bl, byte [esi]
jmp 0x1001962d
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x1012b640]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1012b62c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x1012b618]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x1012b604]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10019724
xor eax, eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp - 4], al
mov esi, dword [ebp - 0x1c]
setne al
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add eax, ecx
cmp ebx, eax
cmovl eax, ebx
add eax, dword [ebp - 0x18]
inc edx
jmp 0x100195b2
add eax, ebx
test esi, esi
je 0x10019736
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
inc edx
jmp 0x100195b2
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc4]
test ecx, ecx
jg 0x1001b96e
push 0x695
push 0x1012b578
push str.Size___0
call fcn.100afb33
mov ecx, dword [esi + 0xc4]
add esp, 0xc
mov eax, dword [esi + 0xcc]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104710]
sub edi, 1
jne 0x1001b982
mov ecx, dword [0x10139e2c]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1bd4], eax
jne 0x1001b9b4
mov dword [ecx + 0x1bd8], eax
cmp dword [ecx + 0x1c0c], eax
jne 0x1001b9c3
mov byte [ecx + 0x1c10], 1
pop ebp
ret 4

Function at 0x1001b9d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1013807c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0xc4]
test edx, edx
jg 0x1001ba0b
push 0x695
push 0x1012b578
push str.Size___0
call fcn.100afb33
mov edx, dword [esi + 0xc4]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + edx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10104710]
sub edi, 1
jne 0x1001ba65
mov eax, dword [0x10139e2c]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd4], edx
jne 0x1001ba96
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x1001baa5
mov byte [eax + 0x1c10], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100a7615
mov esp, ebp
pop ebp
ret 4
Function at 0x10020f20
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x10020f5d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10020f43
cmp byte [esi], bl
jne 0x10020f43
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10104710]
test bl, bl
jne 0x10020f34
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10020eb0

Function at 0x10026710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10139e2c]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
test eax, eax
jg 0x1002674e
push 0x695
push 0x1012b578
push str.Size___0
call fcn.100afb33
mov eax, dword [edi]
add esp, 0xc
mov ebx, dword [edi + 8]
lea edx, [ebp - 4]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10104710]
sub esi, 1
jne 0x10026760
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x100267a9
inc ecx
test esi, esi
je 0x10026795
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002679a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1002ea70
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002cef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2eec], 0
lea esi, [edi + 0x2ef0]
je 0x1002cf71
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002cf2c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002f7c0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10019cf0
mov edx, dword [esi]
mov ecx, 0x10139e24
push dword [edi + 0x2eec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2ef8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.100b0ee3
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10019cf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x10139e2c]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2ea0], 0
push edi
test esi, esi
je 0x1002d8cb
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1002d8e0
mov edx, 0x1012b31c
mov ecx, esi
mov edi, eax
call fcn.10018fc0
mov esi, eax
test esi, esi
je 0x1002d8cb
push esi
push dword [esp + 0x10]
push 1
push edi
call fcn.100b0ee3
push esi
call fcn.100b00c6
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10037920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10037956
mov eax, dword [0x10139e2c]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10037946
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003798a
mov eax, dword [0x10139e2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1003797a
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100379be
mov eax, dword [0x10139e2c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100379ae
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10037a0e
mov eax, dword [0x10139e2c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100379fe
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10037a42
mov eax, dword [0x10139e2c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10037a32
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10037a76
mov eax, dword [0x10139e2c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10037a66
dec dword [eax + 0x370]
push ecx
call fcn.100afc40
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003aa80
Function at 0x10059880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1013807c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x1012e7d4
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100b685d
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x100598fc
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x100598f2
cmp word [eax + 6], dx
jne 0x100598f2
cmp word [eax + 0xc], dx
je 0x10059916
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x100598e0
mov ecx, dword [eax + 1]
mov eax, dword [ebp + 8]
pop esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7615
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x100598ff
Function at 0x10059920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce0b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1013807c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0xff
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
lea eax, [ebx + 0x28]
mov dword [ebp - 4], 0
push eax
mov edx, 0x1000f110
mov ecx, 0x719430
call fcn.10060134
lea eax, [ebx + 0x2c]
mov edx, 0x1000f170
push eax
mov ecx, 0x58fea0
call fcn.10060134
lea eax, [ebx + 0x30]
mov edx, 0x1000f1c0
push eax
mov ecx, 0x4aa160
call fcn.10060134
lea eax, [ebx + 0x34]
mov edx, 0x1000f2f0
push eax
mov ecx, 0x7ef550
call fcn.10060134
lea eax, [ebx + 0x38]
mov edx, 0x1000f410
push eax
mov ecx, 0x728350
call fcn.10060134
lea eax, [ebx + 0x3c]
mov edx, 0x1000f560
push eax
mov ecx, 0x761030
call fcn.10060134
lea eax, [ebx + 0x40]
mov edx, 0x1000f9b0
push eax
mov eax, dword [0x10138e90]
mov ecx, dword [eax + 4]
add ecx, 0x660a0
call fcn.10060134
xor esi, esi
mov ecx, 1
mov edi, 0x10139e34
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x10059a64
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp esi, 0x20
jae 0x10059a49
push 0
jmp 0x10059a4b
push 1
call edi
inc esi
mov edx, 1
xor eax, eax
mov ecx, 0x10139e34
lock cmpxchg dword [ecx], edx
test eax, eax
jne 0x10059a40
mov edi, ecx
cmp dword [0x10139e38], 0
je 0x10059a77
mov ecx, 1
call fcn.1005ff97
xor eax, eax
xchg dword [edi], eax
push ecx
mov edx, 0x1000f750
mov ecx, 0x6e0e20
call fcn.1005f140
mov edx, 0x1000f800
mov ecx, 0x6e13a4
call fcn.1005f140
mov edx, 0x1000f830
mov ecx, 0x6e0d01
call fcn.1005f080
mov edx, 0x1000f830
mov ecx, 0x6e0df7
call fcn.1005f080
mov edx, 0x1000f830
mov ecx, 0x6e219f
call fcn.1005f080
mov edx, 0x1000f830
mov ecx, 0x6e2297
call fcn.1005f080
mov edx, 0x1000f830
mov ecx, 0x6e253e
call fcn.1005f080
mov edx, 0x1000f830
mov ecx, 0x6e2633
call fcn.1005f080
mov edx, 0x1000f900
mov ecx, 0x6e15e2
call fcn.1005f080
mov edx, 0x1000f900
mov ecx, 0x6e170f
call fcn.1005f080
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10059c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10059c3d
mov eax, dword [ebp + 8]
push eax
mov dword [0x10139de8], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10059b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc