joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10041869
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100df896
call fcn.100cce18
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001e4a
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.10001e4a
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10001e4a
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10001e4a
or dword [esi + 0x7c], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005705f
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp edx, 8
jb 0x10057080
push edi
mov edi, edx
shr edi, 3
mov eax, dword [ecx + 4]
sub edx, 8
xor eax, dword [ecx]
add ecx, 8
xor esi, eax
sub edi, 1
jne 0x1005706d
pop edi
cmp edx, 4
jb 0x1005708a
xor esi, dword [ecx]
add ecx, 4
and edx, 3
cmp edx, 2
jbe 0x1005709b
movzx eax, byte [ecx]
shl eax, 0x10
xor esi, eax
inc ecx
cmp edx, 1
jbe 0x100570a9
movzx eax, byte [ecx]
shl eax, 8
xor esi, eax
inc ecx
test edx, edx
je 0x100570b2
movzx ecx, byte [ecx]
xor esi, ecx
mov eax, esi
pop esi
ret

Function at 0x10063a87
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100e1cd7
call fcn.100cce18
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi], 1
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001e4a
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.1000202e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10063a93
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100e1cd7
call fcn.100cce18
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi], 1
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001e4a
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.1000202e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100641d7
Capabilities:
Parse credit card information

Disassembly:
cmp dword [ecx + 0x3c], 2
mov eax, dword [esp + 4]
jge 0x100641f5
cmp byte [ecx + 0x42], 0
je 0x10064252
cmp eax, 0x3f
jb 0x10064252
jne 0x100641f2
push 0x46
jmp 0x10064251
dec eax
jmp 0x10064252
cmp eax, 0x2c
jb 0x10064252
cmp dword [ecx + 0x3c], 3
jl 0x1006420a
cmp eax, 0x2c
jne 0x10064209
push 0x48
jmp 0x10064251
dec eax
cmp dword [ecx + 0x3c], 4
jl 0x1006421a
cmp eax, 0x2c
jne 0x10064219
push 0x49
jmp 0x10064251
dec eax
cmp eax, 0x3a
jb 0x10064252
cmp byte [ecx + 0x14], 0
je 0x1006423a
cmp eax, 0x3a
jne 0x1006422e
push 0x44
jmp 0x10064251
cmp eax, 0x3b
jne 0x10064237
push 0x45
jmp 0x10064251
sub eax, 2
cmp eax, 0x3f
jb 0x1006424a
cmp byte [ecx + 0x42], 0
je 0x1006424a
cmp eax, 0x3f
jmp 0x100641ec
cmp eax, 0x44
jne 0x10064252
push 0x47
pop eax
ret 4
Function at 0x10065951
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100e1da8
call fcn.100cce18
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001e4a
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000202e
mov dword [esi + 0x58], edi
lea ecx, [esi + 0x78]
call fcn.100658df
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 6
call fcn.10001e4a
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 7
call fcn.10001e4a
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100697e8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100e2546
call fcn.100cce18
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
xor edi, edi
mov dword [esi + 4], 0x100e7e78
mov dword [esi + 8], 0x100e5874
mov dword [esi + 0xc], edi
mov dword [esi], 0x100edb7c
mov dword [esi + 4], 0x100edbb0
mov dword [esi + 8], 0x100edbcc
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 4
call fcn.1000202e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100733ef
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100e2fcd
call fcn.100cce18
push ecx
mov dword [ebp - 0x10], ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ecx + 0x18]
mov eax, dword [ebx]
lea esi, [ebx + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ecx + 0x24]
lea esi, [ebx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x30]
mov byte [ecx + 0x30], al
lea eax, [ebx + 0x34]
push eax
add ecx, 0x34
call fcn.10013779
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 0x3c]
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x3c]
call fcn.100732ca
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x48]
call fcn.1008b410
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1007396d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, edx
mov esi, ecx
test edi, edi
je 0x1007399f
movzx eax, byte [ebx]
mov edx, esi
shr edx, 8
xor edx, eax
shl esi, 8
movzx eax, dl
movzx esi, si
movzx ecx, word [eax*2 + 0x1010b118]
xor esi, ecx
inc ebx
sub edi, 1
jne 0x1007397c
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1007e1df
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100e3d1a
call fcn.100cce18
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.1000202e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007f87d
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100de01e
call fcn.100cce18
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
push str.CREATIONTIME
lea edx, [edi + 4]
call fcn.10080334
push str.LASTMODIFICATIONTIME
lea edx, [edi + 0xc]
mov byte [edi], al
mov ecx, esi
call fcn.10080334
mov byte [edi + 1], al
mov ecx, esi
push str.NAME
lea eax, [ebp - 0x18]
push eax
call fcn.1000348d
and dword [ebp - 4], 0
lea edx, [edi + 0x14]
mov ecx, eax
call fcn.10003f90
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov byte [edi + 2], al
call fcn.100ccdee
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, esi
call fcn.1000348d
lea edx, [edi + 0x20]
mov ecx, eax
call fcn.1008028a
push dword [ebp - 0x18]
call fcn.100ccdee
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, esi
call fcn.1000348d
lea edx, [edi + 0x28]
mov ecx, eax
call fcn.1008028a
push dword [ebp - 0x18]
call fcn.100ccdee
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, esi
call fcn.1000341b
lea edx, [edi + 0x30]
mov ecx, eax
call fcn.1008025a
push dword [ebp - 0x24]
mov byte [edi + 3], al
call fcn.100ccdee
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10082778
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100e403d
call fcn.100cce18
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ax, word [esi]
mov word [edi], ax
lea ecx, [edi + 0x24]
mov ax, word [esi + 2]
mov word [edi + 2], ax
mov ax, word [esi + 4]
mov word [edi + 4], ax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x24]
push eax
call fcn.10001df7
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10082550
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008bd61
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x100e467d
call fcn.100cce18
sub esp, 0x14
push esi
push 2
pop eax
mov word [ebp - 0x14], ax
mov esi, ecx
mov ax, word [ebp + 8]
mov word [ebp - 0x10], ax
push 0x63
pop eax
mov word [esi + 2], ax
xor eax, eax
mov byte [ebp - 0x12], dl
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
call fcn.1008c76a
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x30]
call fcn.1008681f
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x50]
call fcn.1008681f
push dword [ebp - 0x1c]
call fcn.100ccdee
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008c39e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0xc], eax
mov al, byte [esi + 2]
mov word [edi], cx
mov byte [ebp + 0xf], al
cmp byte [esi + 1], cl
je 0x1008c43b
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x24]
call fcn.10002052
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x60]
cmp eax, ecx
je 0x1008c3e8
push dword [eax + 4]
push dword [eax]
call fcn.10009ee8
movzx eax, byte [esi + 4]
mov ecx, edi
push eax
push 0x800
call fcn.1008c4f8
mov eax, dword [esi + 0x10]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x84], eax
mov al, byte [esi + 3]
mov byte [edi + 0x88], al
mov al, byte [ebp + 0xf]
xor edx, edx
mov dword [edi + 0x40], 0x3f
mov byte [edi + 5], dl
test al, al
jne 0x1008c454
mov byte [ebp - 4], 1
cmp byte [ebx + 0x6c], dl
jne 0x1008c457
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, edi
push 1
call fcn.1008c4f8
push dword [ebp + 8]
mov ecx, edi
push 8
call fcn.1008c4f8
cmp byte [ebp + 0xf], 0
je 0x1008c48e
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x30]
call fcn.10086a9a
lea ecx, [edi + 0x50]
mov byte [edi + 0x3e], 0
call fcn.10086a9a
xor ecx, ecx
mov byte [edi + 0x5e], cl
cmp byte [ebp + 0xf], cl
je 0x1008c4c7
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x1c], ecx
jmp 0x1008c4ef
cmp byte [ebx + 0x6c], cl
je 0x1008c4ef
cmp byte [ebx + 0x58], cl
je 0x1008c4ef
cmp dword [ebx + 0x64], ecx
jne 0x1008c4db
push 8
pop eax
jmp 0x1008c4e1
mov eax, dword [ebx + 0x60]
movzx eax, byte [eax]
mov dl, byte [ebx + 0x59]
mov ecx, edi
movzx eax, al
push eax
call fcn.1008bd61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008df4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100e488c
call fcn.100cce18
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1008df7c
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x1008e0eb
cmp byte [esi + 1], 0
push ebx
je 0x1008e033
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x1008df9d
mov eax, 0x80004001
jmp 0x1008e0ea
lea eax, [esi + 0x2c]
lea ecx, [ebx + 0x60]
cmp eax, ecx
je 0x1008dfb1
push dword [eax + 4]
push dword [eax]
call fcn.10009ee8
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.10002052
mov al, byte [esi + 4]
mov ecx, ebx
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
push 0x800
call fcn.1008c4f8
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x84], eax
mov al, byte [esi + 3]
mov byte [ebx + 0x88], al
call fcn.1008c30e
lea ecx, [ebx + 0x30]
call fcn.1008c30e
push 0
push ebx
mov ecx, edi
call fcn.1008b168
mov ecx, ebx
call fcn.1008bf26
mov ebx, eax
mov dword [ebp + 0x10], edx
jmp 0x1008e05a
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4c], edx
call fcn.1008bf26
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, edx
add ebx, dword [ecx + 0x70]
adc eax, 0
mov dword [ebp + 0x10], eax
and dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x18]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 1]
push eax
push dword [ebp + 8]
call fcn.1008753b
mov esi, eax
mov eax, dword [ebp + 0x18]
test esi, esi
jne 0x1008e0d7
test eax, eax
jne 0x1008e08a
mov esi, 0x80004001
jmp 0x1008e0d7
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
add dword [eax], ebx
adc dword [eax + 4], esi
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.1008aae7
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push ebx
call fcn.10094bc0
add dword [edi + 0x38], ebx
mov esi, eax
mov eax, dword [ebp + 0x10]
adc dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
test eax, eax
je 0x1008e0d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x1008e0e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100909c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x24]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x3c], 0
add ecx, 0x400
mov byte [esi + 0x40], 0
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + eax*4]
shr eax, 8
cmp dword [edx + 8], 0
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
movzx eax, al
mov dword [esp + 0x10], eax
je 0x10090a2f
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x269
mov dword [esp + 0x18], 0xffffffff
nop word [eax + eax]
mov ebx, dword [esi + 0x20]
mov edi, 0x100000
add ebx, dword [esi + 0x24]
sub edi, dword [esi + 0x24]
cmp byte [esi + 0x43], 0
je 0x10090a72
mov ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
xor edx, edx
cmp edx, eax
jb 0x10090a72
ja 0x10090a6c
cmp edi, ecx
jb 0x10090a72
mov edi, ecx
test ecx, ecx
je 0x10090aea
push edi
push ebx
lea ecx, [esp + 0x14]
call fcn.10090780
sub eax, ebx
add dword [esi + 0x50], eax
adc dword [esi + 0x54], 0
add dword [esi + 0x24], eax
cmp eax, edi
jb 0x10090abc
cmp dword [esi + 0x34], 0
jne 0x10090ab5
push dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x30]
call fcn.1000a647
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
add dword [esi + 0x28], eax
mov dword [esi + 0x24], 0
adc dword [esi + 0x2c], 0
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x10090ae1
cmp dword [esp + 0x14], 0
jg 0x10090a40
cmp dword [esp + 0x1c], 0
jne 0x10090a40
mov eax, dword [esp + 0x18]
not eax
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], eax
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
xor eax, eax
cmp byte [esi + 0x42], al
pop edi
pop esi
setne al
pop ebx
add esp, 0x20
ret 4
Function at 0x10091e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, ecx
push esi
push edi
cmp dword [eax + 0x34], 0xa
jae 0x10091ed1
nop word [eax + eax]
mov esi, dword [eax]
cmp esi, 8
jae 0x10091ead
mov edi, dword [eax + 8]
cmp edi, dword [eax + 0xc]
je 0x10091f9b
movzx edx, byte [edi]
mov ecx, 0x18
sub ecx, esi
shl edx, cl
lea ecx, [esi + 8]
or dword [eax + 4], edx
mov dword [eax], ecx
lea ecx, [edi + 1]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 4]
mov edx, ecx
add dword [eax], 0xfffffff8
shl ecx, 8
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x34]
shr edx, 0x18
mov byte [eax + ecx + 0x70ce], dl
inc dword [eax + 0x34]
cmp dword [eax + 0x34], 0xa
jb 0x10091e80
mov dword [eax + 0x70d8], 0
movzx ecx, byte [eax + 0x70d4]
shl ecx, 8
mov dword [eax + 0x70d8], ecx
movzx edx, byte [eax + 0x70d5]
or edx, ecx
shl edx, 8
mov dword [eax + 0x70d8], edx
movzx esi, byte [eax + 0x70d6]
or esi, edx
shl esi, 8
mov dword [eax + 0x70d8], esi
movzx ecx, byte [eax + 0x70d7]
or ecx, esi
mov dword [eax + 0x70d8], ecx
cmp byte [eax + 0x70ce], 0x31
jne 0x10091fa0
cmp byte [eax + 0x70cf], 0x41
jne 0x10091fa0
cmp byte [eax + 0x70d0], 0x59
jne 0x10091fa0
cmp byte [eax + 0x70d1], 0x26
jne 0x10091fa0
cmp byte [eax + 0x70d2], 0x53
jne 0x10091fa0
cmp byte [eax + 0x70d3], 0x59
jne 0x10091fa0
cmp byte [eax + 0x70e0], 0
jne 0x10091f6b
add dword [eax + 0x70e8], 1
adc dword [eax + 0x70ec], 0
add dword [eax + 0x70f0], 1
mov byte [eax + 0x70e0], 1
adc dword [eax + 0x70f4], 0
mov ecx, dword [eax + 0x70dc]
rol ecx, 1
xor ecx, dword [eax + 0x70d8]
mov dword [eax + 0x70dc], ecx
mov dword [eax + 0x30], 2
pop edi
xor eax, eax
pop esi
ret
cmp byte [eax + 0x70ce], 0x17
jne 0x1009203a
cmp byte [eax + 0x70cf], 0x72
jne 0x1009203a
cmp byte [eax + 0x70d0], 0x45
jne 0x1009203a
cmp byte [eax + 0x70d1], 0x38
jne 0x1009203a
cmp byte [eax + 0x70d2], 0x50
jne 0x1009203a
cmp byte [eax + 0x70d3], 0x90
jne 0x1009203a
cmp byte [eax + 0x70e0], 0
jne 0x10091ff5
add dword [eax + 0x70e8], 1
adc dword [eax + 0x70ec], 0
mov esi, dword [eax + 4]
mov byte [eax + 0x70e0], 1
test esi, esi
je 0x1009200a
mov byte [eax + 0x70e2], 1
mov edx, dword [eax]
mov ecx, edx
and ecx, 7
mov dword [eax + 0x30], 0xb
sub edx, ecx
shl esi, cl
mov ecx, dword [eax + 0x70d8]
mov dword [eax], edx
mov dword [eax + 4], esi
cmp ecx, dword [eax + 0x70dc]
je 0x10091f9b
mov byte [eax + 0x70e1], 1
pop edi
mov eax, 1
pop esi
ret
Function at 0x100931c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8ce0]
mov dword [esi + 0x8cd4], 0
push dword [eax + 0x174]
push dword [esp + 0x2c]
push dword [esi]
call fcn.10092fc0
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], 0
je 0x10093237
imul eax, dword [esi + 0x8cd8], 0x8e00
mov ecx, dword [ecx + 0x17c]
mov ecx, dword [eax + ecx + 0x8cf0]
call fcn.100c6600
xor edx, edx
cmp dword [esi + 0x8cd4], edx
jbe 0x10093273
lea edi, [esi + 0x7cd4]
nop word [eax + eax]
mov ecx, dword [esi + 0x8ce0]
lea edi, [edi + 4]
inc edx
mov eax, dword [ecx + 0x178]
rol eax, 1
xor eax, dword [edi - 4]
mov dword [ecx + 0x178], eax
cmp edx, dword [esi + 0x8cd4]
jb 0x10093250
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
mov ecx, dword [esi + 0x8ce0]
lea eax, [eax*8 + 8]
sub eax, dword [esp + 0x1c]
push eax
push dword [esi + 8]
call fcn.10094700
mov edi, dword [esi + 0x8ce0]
xor ebp, ebp
cmp byte [edi + 0x1a0], 0
je 0x1009332c
mov eax, dword [esi + 0x8cd8]
inc eax
push ebx
xor ebx, ebx
cmp eax, dword [edi + 0x19c]
cmovne ebx, eax
cmp dword [edi + 0x1b4], ebp
je 0x1009330c
lea ecx, [edi + 0x148]
call int.10009538
mov ecx, eax
mov eax, 0xf
sub eax, dword [edi + 0x140]
shr eax, 3
add ecx, eax
mov eax, dword [esi + 0x8ce0]
mov dword [esp + 0x10], ecx
adc edx, ebp
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0x8cf8]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov ebp, eax
mov ecx, dword [esi + 0x8ce0]
imul edx, ebx, 0x8e00
mov ecx, dword [ecx + 0x17c]
add ecx, 0x8cf0
add ecx, edx
call fcn.100c6590
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0x18
ret 4