joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13001960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1301611c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x13001b12
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x13001aff
push 0x40
push 0x1000
push 0x20
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x13001aff
test esi, esi
je 0x130019e1
mov ecx, edi
sub ebx, edi
mov edx, esi
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x130019d0
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx]
cmp al, 0xe8
je 0x13001a83
cmp al, 0xe9
je 0x13001a83
cmp al, 0x8d
je 0x13001acd
cmp al, 0x6a
jne 0x13001a3e
cmp esi, 7
jae 0x13001acd
mov byte [edi], al
mov esi, 7
movzx eax, byte [ebx + 1]
mov byte [edi + 1], al
movzx eax, byte [ebx + 2]
mov byte [edi + 2], al
movzx eax, byte [ebx + 3]
mov byte [edi + 3], al
movzx eax, byte [ebx + 4]
mov byte [edi + 4], al
movzx eax, byte [ebx + 5]
mov byte [edi + 5], al
movzx eax, byte [ebx + 6]
mov byte [edi + 6], al
jmp 0x13001acd
cmp al, 0xff
jne 0x13001acd
mov al, byte [ebx + 1]
cmp al, 0x15
je 0x13001a51
cmp al, 0x25
jne 0x13001acd
mov eax, 6
cmp esi, eax
cmovae eax, esi
mov esi, eax
test esi, esi
je 0x13001acd
mov dword [ebp - 0x10], ebx
mov ecx, edi
sub ebx, edi
mov edx, esi
nop word [eax + eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x13001a70
mov ebx, dword [ebp - 0x14]
jmp 0x13001acd
xor edx, edx
test esi, esi
je 0x13001abb
mov eax, edi
mov ecx, ebx
sub eax, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
sub eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov edi, eax
nop
mov al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, 5
jae 0x13001aaf
mov al, byte [ecx]
mov byte [edi + ecx], al
inc edx
inc ecx
cmp edx, esi
jb 0x13001aa0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
sub eax, edi
add dword [ebp - 0xb], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov al, byte [ebp - 8]
mov byte [edi + 4], al
push 0
lea eax, [esi + ebx]
push eax
lea eax, [esi + edi]
push eax
call fcn.13001730
lea ecx, [esi - 5]
push ecx
push dword [ebp - 0x1c]
push ebx
call fcn.13001730
add esp, 0x18
mov eax, edi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.13002dd7
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.13002dd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.13002dd7
mov esp, ebp
pop ebp
ret
Function at 0x13001c20
Capabilities:
Create thread

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x13016a90]
jbe 0x13001c93
add eax, 0x384
cmp dword [0x13016a94], 0
mov dword [0x13016a90], eax
jne 0x13001c93
mov ecx, dword [0x13016a78]
add ecx, 0x4ea914
mov dword [0x13016a94], 1
push 0x13001cb0
push ecx
mov eax, dword [ecx]
mov dword [0x130170b8], eax
call fcn.13001630
push 0
push 0
push 0x13001ca0
mov dword [0x13016cc0], 0x13001de0
mov dword [0x13016ccc], 0x13001e70
call fcn.1300614c
add esp, 0x14
mov dword [0x13016ab0], eax
ret
Function at 0x410883
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004106f4

Function at 0x410c7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004052c0
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040f8e9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x410cbf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x410e1b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041ad00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x491e50]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00411c74
mov ecx, dword [esi*4 + 0x491e50]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x410e14
cmp eax, dword [edi + ecx + 0x24]
jne 0x410e14
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410e14
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00411c74
add esp, 0x14
test edx, edx
jl 0x410e14
jg 0x410d8a
test eax, eax
jb 0x410e14
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x410e14
jl 0x410da4
cmp dword [ebp - 0x1008], eax
ja 0x410e14
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x410dc2
test ebx, ebx
je 0x410dfb
cmp ecx, edi
jae 0x410dfb
mov al, byte [ecx]
cmp al, 0xd
jne 0x410ddc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x410de8
cmp byte [ecx + 1], 0xa
jne 0x410de8
inc ecx
jmp 0x410de8
movzx eax, al
movsx eax, byte [eax + 0x4272f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x410dc2
cmp edx, ebx
jne 0x410dc2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x410e19
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404791
leave
ret
Function at 0x411112
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x491e50]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411152
cmp byte [ebx], 0xa
jne 0x411152
or byte [eax + edi + 0x28], 4
jmp 0x411157
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x411255
mov al, byte [edx]
cmp al, 0x1a
je 0x411237
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x411186
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4111ab
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4111b5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x411168
jmp 0x411255
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411232
cmp dword [ebp - 0xc], 0
je 0x411232
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x491e50]
test byte [eax + edi + 0x28], 0x48
je 0x41120c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4111f7
mov byte [esi], dl
jmp 0x411208
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x491e50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x411255
cmp byte [ebp - 1], 0xa
jne 0x41121b
cmp esi, ebx
jne 0x41121b
mov byte [esi], 0xa
jmp 0x411254
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00411c92
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x411255
mov byte [esi], 0xd
jmp 0x411254
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x491e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x411251
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x411255
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41125e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x491e50]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4112a1
cmp word [esi], dx
jne 0x4112a1
or byte [edi + eax + 0x28], 4
jmp 0x4112a6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4113f9
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4113d9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4112e8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41131e
cmp eax, edx
jae 0x41132a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4112c0
jmp 0x4113f9
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4113d5
cmp dword [ebp - 0x14], 0
je 0x4113d5
mov eax, dword [ebx*4 + 0x491e50]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4113ad
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x411376
mov word [esi], cx
jmp 0x4113a9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x491e50]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x491e50]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x491e50]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4113f9
pop ebx
cmp word [ebp - 4], bx
jne 0x4113be
cmp esi, dword [ebp + 0xc]
jne 0x4113be
mov word [esi], bx
jmp 0x4113f6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00411c92
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4113f9
push 0xd
jmp 0x4113f2
mov ecx, dword [ebx*4 + 0x491e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4113f0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4113f9
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x415056
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4150f3
push ebx
push esi
call fcn.0041501f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00413ca4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4150a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4150f2
push edi
push eax
call fcn.00411e71
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4150c0
call fcn.0040ee48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4150f1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00413ca4
add esp, 0x20
test eax, eax
jne 0x4150df
push edi
call fcn.0040ee48
jmp 0x4150e7
push ebx
call fcn.0040ee48
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41acc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41aced
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41aced
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41c217
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.0040172b
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Free
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004015b7
mov edi, str.Cons
push edi
call fcn.00408c70
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040166a
mov edi, 0x423ea8
push edi
call fcn.00408c70
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040166a
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call eax
mov edi, 0x4ac
xor ebx, ebx
push 0x40
push 0x1000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
call section..bss
push edi
push 0x490ac0
push esi
call fcn.00405370
pop ecx
call fcn.0041c0a0
pop ecx
pop ecx
push ebx
push ebx
push 0x427ac0
lea eax, [esi + 0x188]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea ecx, [ebp - 0x1c]
call fcn.00401644
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404791
leave
ret
Function at 0x5a0360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc1000]
push edi
jmp 0x5a037a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5a0381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a0370
mov eax, 1
add ebx, ebx
jne 0x5a0393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5a03a4
jne 0x5a03c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a03c3
dec eax
add ebx, ebx
jne 0x5a03b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5a0388
add ebx, ebx
jne 0x5a03bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5a0415
xor ecx, ecx
sub eax, 3
jb 0x5a03db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5a044a
sar eax, 1
mov ebp, eax
jmp 0x5a03e6
add ebx, ebx
jne 0x5a03e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a03b4
inc ecx
add ebx, ebx
jne 0x5a03f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a03b4
add ebx, ebx
jne 0x5a0401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5a03f6
jne 0x5a0412
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5a03f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5a0434
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5a0426
jmp 0x5a0376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5a0434
add edi, ecx
jmp 0x5a0376
pop esi
mov edi, esi
mov ecx, 0x4773
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5a0452
cmp byte [edi], 0x13
jne 0x5a0452
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5a0457
lea edi, [esi + 0x19c000]
mov eax, dword [edi]
or eax, eax
je 0x5a04c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fdd60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fde24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5a0484
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fde2c]
or eax, eax
je 0x5a04c0
mov dword [ebx], eax
add ebx, 4
jmp 0x5a04a1
call dword [esi + 0x1fde28]
mov ebp, dword [esi + 0x1fde30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5a04fa
sub esp, 0xffffff80
jmp 0x495d56
Function at 0x100010ca
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push str.d3dx9_29.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001105
push 6
call fcn.10002e88
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push str.D3DXCreateFontA
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000112f
push 6
call fcn.10002e88
add esp, 4
mov dword [0x1000a2a7], eax
cmp dword [0x1000a2a7], 0
jle 0x1000120a
push dword [0x1000a2a7]
call fcn.10001242
mov byte [0x1000a2ab], al
push 1
push dword [0x1000a2a7]
call fcn.1000101f
mov dword [0x1000a2af], eax
push dword [0x1000a2af]
call fcn.1000125d
mov dword [0x1000a2b3], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push dword [0x1000a2a7]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100011a9
push 6
call fcn.10002e88
add esp, 4
push 0xe9
push dword [0x1000a2a7]
call fcn.10001278
push 0x10001957
call fcn.10001297
mov dword [ebp - 0xc], eax
push 5
push dword [0x1000a2a7]
call fcn.1000101f
push eax
push dword [ebp - 0xc]
call fcn.1000105e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10003170
add esp, 0x10
push eax
push dword [0x1000a2af]
call fcn.10001000
jmp 0x1000123e
mov ebx, 6
call fcn.100010c2
push 0x80000301
push 0
push 0
push 0x80000004
push 0
push 0x1000a21d
push 4
mov ebx, 0x300
call fcn.10003250
add esp, 0x34
mov esp, ebp
pop ebp
ret

Function at 0x100014fb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 5
push dword [ebp + 8]
call fcn.1000105e
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001552
push 6
call fcn.10002e88
add esp, 4
push 0xe9
push dword [ebp - 4]
call fcn.10001278
push 1
push dword [ebp - 4]
call fcn.1000101f
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 4]
call fcn.1000101f
push eax
push dword [ebp + 0xc]
call fcn.1000105e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10003170
add esp, 0x10
push eax
push dword [ebp - 0xc]
call fcn.10001000
push 0xeb
push dword [ebp + 8]
call fcn.10001278
push 1
push dword [ebp + 8]
call fcn.1000101f
mov dword [ebp - 0xc], eax
push 0xf9
push dword [ebp - 0xc]
call fcn.10001278
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001600
push 6
call fcn.10002e88
add esp, 4
push 2
push dword [ebp + 8]
call fcn.1000101f
jmp 0x10001612
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004de0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x10004dec
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x10004e7f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x10004e49
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.10004e90
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x10004e1e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x10004eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x10004fad
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x10004f02
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x10004f2e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.10004e90
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x10004f6f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x10004ef1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10005f70
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1000a7b4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10005f83
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10005fc4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1000a85c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10005ff6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10005ffa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x10005feb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10006018
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1000601c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1000600d
xor ecx, ecx
mov eax, 0x1000a7c4
xor ebx, ebx
mov bl, byte [ecx + 0x1000a86c]
cmp byte [esp + ebx + 0x14], 0
je 0x10006047
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1000a884]
cmp byte [esp + ebx + 0x14], 0
je 0x1000605e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x1000602e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10005fb7
lea edx, [esp + 0x84]
push edx
call fcn.100060a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret