joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f870
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push str.SettingsAimBot.ini
push eax
call fcn.1001e120
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x10016f7b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004b10
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10016fce
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016fc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100170f4
push edx
push ecx
call fcn.1002eda5
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1002ed67
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.FastZoom.Enable
push str.FastZoom
call ebx
push esi
call fcn.1003a514
test eax, eax
lea edi, [ebp - 0x28]
push 0x200
setne byte [0x10069380]
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.FastZoom.Delay
push str.FastZoom
call ebx
push esi
call fcn.1003a514
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
mov dword [0x1006937c], eax
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.FastZoom.QuickSwitch
push str.FastZoom
call ebx
push esi
call fcn.1003a514
mov edx, dword [ebp - 0x14]
add esp, 4
test eax, eax
setne byte [0x10069381]
cmp edx, 0x10
jb 0x100170d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100170ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100170f9
push edx
push ecx
call fcn.1002eda5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
call fcn.10034fdd
call fcn.10034fdd
int3
Function at 0x1001a820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f870
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push str.SettingsAimBot.ini
push eax
call fcn.1001e120
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x1001a86b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10004b10
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1001a8be
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a8b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aa5d
push edx
push ecx
call fcn.1002eda5
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1002ed67
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 4
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.Recoil.Enable
push str.Recoil
call ebx
push esi
call fcn.1003a514
test eax, eax
lea edi, [ebp - 0x28]
push 0x200
setne byte [0x1006939c]
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.Recoil.X
push str.Recoil
call ebx
push esi
call fcn.10039bc1
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
fstp dword [0x1006938c]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.Recoil.Y
push str.Recoil
call ebx
push esi
call fcn.10039bc1
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
fstp dword [0x10069390]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.Recoil.Smooth
push str.Recoil
call ebx
push esi
call fcn.10039bc1
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0x200
cmovae edi, dword [ebp - 0x28]
fstp dword [0x10069394]
call fcn.1002ed67
add esp, 8
mov esi, eax
push edi
push 0xc8
push esi
push 0x10050434
push str.Recoil.BulletStart
push str.Recoil
call ebx
push esi
call fcn.1003a514
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [0x10069398], eax
cmp edx, 0x10
jb 0x1001aa41
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001aa37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aa62
push edx
push ecx
call fcn.1002eda5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
call fcn.10034fdd
call fcn.10034fdd
int3
Function at 0x1001d470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1001d511
cmp byte [esi + 0x3d], 0
je 0x1001d511
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001d4c7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1001d4d9
sub eax, 1
je 0x1001d4dd
sub eax, 2
je 0x1001d511
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d4fa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1003b792
add esp, 0x10
cmp edi, eax
jne 0x1001d4c7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1002edb3
mov esp, ebp
pop ebp
ret
Function at 0x1001db10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001db40
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001db7c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1001db7c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1001dc61
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001dba4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001dbd7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1003aebe
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x1001dc61
cmp eax, 1
jle 0x1001dc34
cmp eax, 3
jne 0x1001dc61
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.100087e0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001dc51
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1003b792
add esp, 0x10
cmp edi, eax
jne 0x1001dc61
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1001db67
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002edb3
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1001e6a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001e770
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x1001e6c5
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x1001e6c7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x1001e74f
jg 0x1001e6da
test esi, esi
je 0x1001e74f
test ecx, ecx
jl 0x1001e71c
jg 0x1001e6e4
test eax, eax
je 0x1001e71c
cmp ebx, ecx
jg 0x1001e6f6
jl 0x1001e6ee
cmp esi, eax
jae 0x1001e6f6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.10031740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x1001e722
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x1001e74f
jg 0x1001e72c
test esi, esi
je 0x1001e74f
cmp dword [edi + 0x4c], 0
je 0x1001e74f
mov ecx, edi
call fcn.1001d6d0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.1003b1a6
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001e840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1001e864
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001e920
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x1001e885
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1001e887
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1001e904
jg 0x1001e89a
test esi, esi
je 0x1001e904
test ecx, ecx
jl 0x1001e8de
jg 0x1001e8a4
test eax, eax
je 0x1001e8de
cmp edi, ecx
jg 0x1001e8b6
jl 0x1001e8ae
cmp esi, eax
jae 0x1001e8b6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.10031740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x1001e8e1
mov edx, dword [ebp + 8]
test edi, edi
jl 0x1001e904
jg 0x1001e8eb
test esi, esi
je 0x1001e904
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1001e904
push eax
push esi
push 1
push edx
call fcn.1003b792
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10020750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x100207a7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea eax, [ebp + 8]
push eax
call fcn.10017b00
call fcn.100159d0
call fcn.100158d0
call fcn.100157d0
push str.CreateThread...
call fcn.100045b0
add esp, 8
push 0
push 0
push 0
push 0x100205a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x10020816
push 0x270
push dword [0x10086534]
call fcn.1002eda5
push 0x404
push dword [0x1008652c]
mov dword [0x10086534], 0
call fcn.1002eda5
push 0x404
push dword [0x10086530]
mov dword [0x1008652c], 0
call fcn.1002eda5
push 0x2900
push dword [0x10086524]
mov dword [0x10086530], 0
call fcn.1002eda5
add esp, 0x20
mov dword [0x10086524], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x10020820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10087888]
shl ecx, 4
add ecx, dword [0x10087888]
push 0
push 0x20
lea eax, [ecx*2 + 0x10086590]
push eax
call fcn.1002c120
mov ecx, dword [0x10087888]
add esp, 0xc
shl ecx, 4
add ecx, dword [0x10087888]
push dword [ebp + 8]
lea eax, [ecx*2 + 0x10086590]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087888]
xor eax, eax
mov ecx, edx
shl ecx, 4
add ecx, edx
nop word [eax + eax]
xor byte [eax + ecx*2 + 0x10086590], 0x5e
inc eax
cmp eax, 0x20
jl 0x10020880
mov al, byte [ebp + 0xc]
inc edx
mov byte [ecx*2 + 0x100865b0], al
mov al, byte [ebp + 0x10]
mov byte [ecx*2 + 0x100865b1], al
mov dword [0x10087888], edx
pop ebp
ret

Function at 0x100208b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10087890]
push 0
push 0x20
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100868e8
push eax
call fcn.1002c120
mov eax, dword [0x10087890]
add esp, 0xc
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100868e8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087890]
xor eax, eax
lea ecx, [edx + edx*4]
shl ecx, 4
nop dword [eax + eax]
xor byte [ecx + eax + 0x100868e8], 0x42
inc eax
cmp eax, 0x20
jl 0x10020900
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ecx + 0x10086918], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x10086920], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10086924], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x1008691c], eax
mov al, byte [ebp + 0x1c]
mov byte [ecx + 0x1008692f], al
mov al, byte [ebp + 0x20]
mov byte [ecx + 0x10086930], al
mov al, byte [ebp + 0x24]
mov byte [ecx + 0x10086931], al
mov al, byte [ebp + 0x28]
mov byte [ecx + 0x10086932], al
mov al, byte [ebp + 0x2c]
mov byte [ecx + 0x10086933], al
mov al, byte [ebp + 0x30]
mov byte [ecx + 0x10086934], al
mov al, byte [ebp + 0x34]
mov byte [ecx + 0x1008692c], al
mov al, byte [ebp + 0x38]
mov byte [ecx + 0x1008692d], al
mov al, byte [ebp + 0x3c]
mov byte [ecx + 0x1008692e], al
mov dword [0x10087890], edx
pop ebp
ret

Function at 0x10020990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10087898]
push 0
push 0x20
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call fcn.1002c120
mov eax, dword [0x10087898]
add esp, 0xc
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087898]
xor eax, eax
lea ecx, [edx + edx*4]
shl ecx, 4
nop dword [eax + eax]
xor byte [ecx + eax + 0x100870b8], 0x42
inc eax
cmp eax, 0x20
jl 0x100209e0
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ecx + 0x100870fc], eax
mov al, byte [ebp + 0x10]
mov byte [ecx + 0x10087100], al
mov al, byte [ebp + 0x14]
mov byte [ecx + 0x10087101], al
mov al, byte [ebp + 0x18]
mov byte [ecx + 0x10087102], al
mov al, byte [ebp + 0x1c]
mov byte [ecx + 0x10087103], al
mov al, byte [ebp + 0x20]
mov byte [ecx + 0x10087104], al
mov dword [0x10087898], edx
pop ebp
ret
Function at 0x10020a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10087898]
push 0
push 0x20
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call fcn.1002c120
mov eax, dword [0x10087898]
add esp, 0xc
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087898]
xor eax, eax
lea ecx, [edx + edx*4]
shl ecx, 4
nop dword [eax + eax]
xor byte [ecx + eax + 0x100870b8], 0x42
inc eax
cmp eax, 0x20
jl 0x10020a80
mov eax, dword [ebp + 0xc]
inc edx
movss xmm0, dword [ebp + 0x10]
mov dword [ecx + 0x100870d8], eax
mov al, byte [ebp + 0x1c]
movss dword [ecx + 0x100870e0], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [ecx + 0x100870e4], xmm0
movss xmm0, dword [ebp + 0x18]
movss dword [ecx + 0x100870dc], xmm0
mov byte [ecx + 0x10087100], al
mov al, byte [ebp + 0x20]
mov byte [ecx + 0x10087101], al
mov al, byte [ebp + 0x24]
mov byte [ecx + 0x10087102], al
mov al, byte [ebp + 0x28]
mov byte [ecx + 0x10087103], al
mov al, byte [ebp + 0x2c]
mov byte [ecx + 0x10087104], al
mov dword [0x10087898], edx
pop ebp
ret

Function at 0x10020b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10087898]
push 0
push 0x20
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call fcn.1002c120
mov eax, dword [0x10087898]
add esp, 0xc
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087898]
xor eax, eax
lea ecx, [edx + edx*4]
shl ecx, 4
nop dword [eax + eax]
xor byte [ecx + eax + 0x100870b8], 0x42
inc eax
cmp eax, 0x20
jl 0x10020b50
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ecx + 0x100870e8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x100870f0], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x100870f4], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x100870ec], eax
mov al, byte [ebp + 0x1c]
mov byte [ecx + 0x10087100], al
mov al, byte [ebp + 0x20]
mov byte [ecx + 0x10087101], al
mov al, byte [ebp + 0x24]
mov byte [ecx + 0x10087102], al
mov al, byte [ebp + 0x28]
mov byte [ecx + 0x10087103], al
mov al, byte [ebp + 0x2c]
mov byte [ecx + 0x10087104], al
mov dword [0x10087898], edx
pop ebp
ret
Function at 0x10020bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10087898]
push 0
push 0x20
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call fcn.1002c120
mov eax, dword [0x10087898]
add esp, 0xc
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x100870b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x10087898]
xor eax, eax
lea ecx, [edx + edx*4]
shl ecx, 4
nop dword [eax + eax]
xor byte [ecx + eax + 0x100870b8], 0x42
inc eax
cmp eax, 0x20
jl 0x10020c10
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ecx + 0x100870f8], eax
mov al, byte [ebp + 0x10]
mov byte [ecx + 0x10087100], al
mov al, byte [ebp + 0x14]
mov byte [ecx + 0x10087101], al
mov al, byte [ebp + 0x18]
mov byte [ecx + 0x10087102], al
mov al, byte [ebp + 0x1c]
mov byte [ecx + 0x10087103], al
mov al, byte [ebp + 0x20]
mov byte [ecx + 0x10087104], al
mov dword [0x10087898], edx
pop ebp
ret
Function at 0x1002b6e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10068470]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call fcn.10005200
push dword [eax + 4]
push dword [eax]
call fcn.100366b3
add esp, 0x1c
lea eax, [ebp - 0x104]
push 0x10
push str.Hpp_Hack
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1002b740
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002edb3
mov esp, ebp
pop ebp
ret

Function at 0x10042a53
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100428c9
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6aae34e5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x74c366c9
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4073b3
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 0x407450
push ebx
push esi
call fcn.0040737c
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.00407310
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4073fd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40744f
push edi
push eax
call fcn.00407fd2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40741d
call fcn.00405e71
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40744e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407310
add esp, 0x20
test eax, eax
jne 0x40743c
push edi
call fcn.00405e71
jmp 0x407444
push ebx
call fcn.00405e71
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 0x40874f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410fd8
push 0x410fd0
push str.FlsAlloc
push 0x1f
call fcn.0040860e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408783
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f10c]
call esi
jmp 0x408789
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4087cd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410fe8
push 0x410fe0
push str.FlsGetValue
push 0x21
call fcn.0040860e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408804
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40880c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410ff0
push 0x410fe8
push str.FlsSetValue
push 0x22
call fcn.0040860e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408846
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f10c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]