joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032531
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
xor esi, esi
push edi
cmp dword [0x1006af9c], esi
je 0x10032551
push esi
push esi
mov dword [0x1006af9c], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xc]
push eax
push 0x10055894
xor edi, edi
inc edi
push edi
push esi
push 0x10055964
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1003257b
xor eax, eax
jmp 0x1003265a
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1003264e
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x10032645
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
push 0x30
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push 0x1005c0b8
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x10032645
mov dword [ebp - 0x10], edi
push ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x3c]
push edx
push 0xa
push 0xffffffffffffffff
push eax
xor ebx, ebx
call dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], esi
je 0x1003263b
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x1003261b
push dword [ebp + 0x10]
push dword [ebp + edi*4 - 0x3c]
call dword [ebp + 0xc]
test eax, eax
je 0x10032618
inc edi
cmp edi, dword [ebp + 8]
jb 0x10032602
jmp 0x1003261b
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 8], esi
jbe 0x10032632
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp + 8]
jb 0x10032622
cmp ebx, esi
jne 0x1003263b
cmp dword [ebp - 0x14], esi
je 0x100325dc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 0xc
Function at 0x10032c9f
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1004d5fb
call fcn.1003755a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10032cbe
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.1000244b
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x10032dc3
jmp 0x10032cef
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10056a78]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x10032d03
cmp al, 0xff
je 0x10032cef
cmp al, 0xff
je 0x10032dc3
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10056a78]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x10032d23
cmp cl, 0xff
je 0x10032d0b
cmp cl, 0xff
je 0x10032dc3
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1001de75
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10032dc3
movsx eax, al
mov al, byte [eax + 0x10056a78]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x10032d63
cmp al, 0xff
je 0x10032d43
cmp al, 0xff
je 0x10032dc3
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1001de75
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10032dc3
movsx eax, al
mov cl, byte [eax + 0x10056a78]
cmp esi, dword [ebp - 0x30]
jae 0x10032da1
cmp cl, 0xff
je 0x10032d83
cmp cl, 0xff
je 0x10032dc3
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.1001de75
cmp esi, dword [ebp - 0x30]
jb 0x10032cec
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001e48
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100020e6
mov eax, dword [ebp - 0x38]
call fcn.100375dd
ret

Function at 0x10032e33
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x10032e70
cmp eax, 3
jne 0x10032e88
push ebx
call fcn.1002b615
pop ecx
cmp eax, 0xffffffff
je 0x10032e95
cmp eax, 7
jne 0x10032e88
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x10032e97
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10035ee9
leave
ret
Function at 0x10032f32
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.1002a8a4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x10]
lea esi, [ebp - 8]
mov dword [ebp - 0x10], eax
call fcn.1000af45
test al, al
jne 0x10032f8f
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x10032f7b
mov eax, dword [eax + 4]
jmp 0x10032f7e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 8]
call fcn.1000d09b
jmp 0x10032f50
lea eax, [ebp - 0x30]
push eax
call fcn.1000d036
pop edi
pop esi
leave
ret
Function at 0x100332fd
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
call fcn.1002b800
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.100384f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x210]
push eax
call esi
lea edx, [ebp - 0x210]
call fcn.10032f32
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100333ac
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x1003343d
push edi
lea ecx, [ebp - 0x210]
call fcn.1002ae81
test eax, eax
jne 0x1003343b
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
test eax, eax
jne 0x1003343b
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10032f0c
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
jae 0x100333fd
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10033428
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x1003342b
push 9
pop edi
push ebx
push 1
lea esi, [ebp - 0x22c]
call fcn.100021e2
jmp 0x1003343d
xor edi, edi
push dword [ebp - 0x230]
call fcn.1002b840
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035ee9
leave
ret

Function at 0x100337dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x100337f6
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x100337f2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10033911
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.10033ad7
mov bl, al
mov al, dl
call fcn.10033ad7
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.10033ad7
mov bl, al
mov al, byte [esi - 4]
call fcn.10033ad7
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.10033ad7
mov bl, al
mov al, byte [esi]
call fcn.10033ad7
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.10033ad7
mov bl, al
mov al, byte [esi - 0xc]
call fcn.10033ad7
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x10033939
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035ee9
leave
ret 4

Function at 0x100339c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.10033b53
push ebx
mov dl, al
call fcn.10033b2c
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.10033ae7
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10033b05
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.10033ae7
push ebx
mov byte [ebp - 0x15], al
call fcn.10033b05
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.10033b2c
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10033b53
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.10033b2c
mov bl, al
mov al, byte [edi + 4]
call fcn.10033b53
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10033b05
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10033ae7
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10033b05
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.10033ae7
xor bl, al
mov al, dl
call fcn.10033b53
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10033b2c
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x100339f2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035ee9
leave
ret 4
Function at 0x10034708
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x10035910
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x10035a94
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x10035aa3
push 0x40
pop esi
cmp edx, esi
jae 0x10035b1e
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x10035ae4
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x10056920]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x10035b4f
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 8]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x6c], ecx
pop ebx
leave
ret
Function at 0x10035ee9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10068060]
jne 0x10035ef3
repz ret
jmp fcn.100375fb

Function at 0x1003ec19
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10037866
and dword [ebp - 4], 0
cmp dword [0x1006ba68], 0
mov ebx, eax
jne 0x1003ecca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1003ed7b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1003ed7b
push eax
call fcn.100377f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1006ba68], eax
call esi
push eax
call fcn.100377f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006ba6c], eax
call esi
push eax
call fcn.100377f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006ba70], eax
call esi
push eax
call fcn.100377f4
pop ecx
mov dword [0x1006ba78], eax
test eax, eax
je 0x1003ecca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100377f4
pop ecx
mov dword [0x1006ba74], eax
mov eax, dword [0x1006ba74]
cmp eax, ebx
je 0x1003ed22
cmp dword [0x1006ba78], ebx
je 0x1003ed22
push eax
call fcn.1003786f
push dword [0x1006ba78]
mov esi, eax
call fcn.1003786f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1003ed22
test edi, edi
je 0x1003ed22
call esi
test eax, eax
je 0x1003ed19
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1003ed19
test byte [ebp - 0xc], 1
jne 0x1003ed22
or dword [ebp + 0x10], 0x200000
jmp 0x1003ed5b
mov eax, dword [0x1006ba6c]
cmp eax, ebx
je 0x1003ed5b
push eax
call fcn.1003786f
pop ecx
test eax, eax
je 0x1003ed5b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1003ed5b
mov eax, dword [0x1006ba70]
cmp eax, ebx
je 0x1003ed5b
push eax
call fcn.1003786f
pop ecx
test eax, eax
je 0x1003ed5b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006ba68]
call fcn.1003786f
pop ecx
test eax, eax
je 0x1003ed7b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003ed7d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
je 0x1000101c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [ebp - 0x14], edi
cmp dword [edi], 0x4550
je 0x10001035
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xcb2ce3db
call fcn.100011b0
push eax
call fcn.10001210
mov ecx, dword [edi + 0x34]
add esp, 8
mov ebx, eax
mov eax, dword [edi + 0x50]
push 4
push 0x2000
push eax
push ecx
mov dword [ebp - 0xc], ebx
call ebx
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
jne 0x10001086
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call ebx
test eax, eax
mov dword [ebp - 8], eax
jne 0x10001083
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
push 0xa4057483
call fcn.100011b0
push eax
call fcn.10001210
add esp, 8
mov ebx, eax
push 0x2ddd7efc
call fcn.100011b0
push eax
call fcn.10001210
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push 0x63
push 0x6f6c6c41
push 0x70616548
lea eax, [esp]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.100011b0
push eax
call dword [ebp - 0x10]
push 0x14
push 0
mov dword [ebp - 0x10], eax
call ebx
push eax
call dword [ebp - 0x10]
mov ebx, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x50]
push ecx
push esi
call dword [ebp - 0xc]
mov edx, dword [edi + 0x54]
push 4
push 0x1000
push edx
push esi
call dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x54]
mov edi, eax
push ebx
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
push edi
mov edx, dword [ecx + 0x3c]
push ecx
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], esi
call fcn.10001320
mov ecx, dword [edi + 0x34]
mov eax, esi
add esp, 0xc
sub eax, ecx
je 0x1000115e
push eax
push ebx
call fcn.100014f0
add esp, 8
push ebx
call fcn.10001570
add esp, 4
test eax, eax
je 0x1000118e
push ebx
call fcn.10001400
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1000119e
add eax, esi
test eax, eax
je 0x1000118e
push 0
push 1
push esi
call eax
test eax, eax
jne 0x10001197
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x10], 1
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100011b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push ebp
nop
nop
mov ebp, esp
add esp, 7
add esp, 0xfffffff9
add esp, 2
sub esp, 2
add esp, 9
add esp, 0xfffffff7
add esp, 8
sub esp, 8
mov esp, ebp
pop ebp
xor eax, 1
add eax, 2
jne 0x100011e0
je 0x100011e0
call 0x93040267
rol byte [ebx + eax*4], 0xf0
add eax, 0xc833db33
xor eax, 3
add eax, 4
xor eax, 5
xor ebx, ebx
xor ecx, eax
nop
mov ebx, dword fs:[0x30]
nop
nop
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, 1
add eax, 2
jne 0x10001224
je 0x10001224
call 0x930402ab
rol byte [ebx + eax*4], 0xf0
add eax, 0x90559090
xor eax, 3
add eax, 4
xor eax, 5
nop
nop
push ebp
nop
mov ebp, esp
add esp, 4
add esp, 0xfffffffc
inc ecx
dec ecx
push ebx
pop ebx
nop
mov esp, ebp
nop
pop ebp
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x18]
add ecx, esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x20]
add ecx, esi
add edx, esi
test ebx, ebx
mov dword [ebp - 0x14], edx
jbe 0x100012fd
lea eax, [ecx + ebx*4]
jmp 0x10001276
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax - 4]
sub eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
lea edi, [edx + esi]
or ecx, 0xffffffff
xor eax, eax
dec ebx
mov dword [ebp - 8], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], ebx
je 0x100012e5
mov eax, dword [ebp - 8]
xor ecx, ecx
add edx, eax
mov cl, byte [edx + esi]
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [ebp - 4], edx
pushal
mov eax, dword [ebp - 4]
ror eax, 3
ror eax, 4
mov dword [ebp - 4], eax
popal
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
or ecx, 0xffffffff
mov edx, dword [edx]
inc esi
mov dword [ebp - 8], esi
lea edi, [edx + eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
mov esi, dword [ebp + 8]
jb 0x1000129f
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100012f9
test ebx, ebx
ja 0x10001273
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
ja 0x10001306
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
pop edi
mov cx, word [edx + ebx*2]
mov eax, dword [eax + ecx*4]
add eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret