joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

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

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x54051301
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2b877c20
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jne 0x40511b
call fcn.0042e8c4
add esp, 0x10
leave
ret 0x10
cld
inc dword [ecx + 0x4145f47d]
xor byte [esi], dh
je 0x443d85
jne 0x443d80
or ecx, 0
jmp fcn.0040508f
xor esi, esi
jmp fcn.0040508f

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4

Function at 0x40a4a1
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
je 0x40a52b
push 0xc
call fcn.0041fddb
mov ebx, dword [ebp + 8]
mov edi, eax
lea ecx, [eax + eax]
push 8
pop eax
cmp ecx, eax
jb 0x40a537
mov eax, ecx
xor ecx, ecx
mov dword [esi + 0xc], eax
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe0b
cmp dword [esi + 4], 0
mov edi, eax
pop ecx
je 0x40a576
mov eax, dword [esi + 8]
test eax, eax
je 0x40a576
shl eax, 2
push eax
push dword [esi + 4]
push edi
call fcn.00420e20
push dword [esi + 4]
call fcn.0041fe14
add esp, 0x10
mov dword [esi + 4], edi
jmp 0x40a4b1
Function at 0x40bec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
lea ecx, [esp + 0x18]
call fcn.0040cfa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040dd50
test ebx, ebx
js 0x40bf15
add byte [ebp - 0x16208725], al
push ebx
inc ebp
add al, 0
int3
jmp 0x45048e
pop ebp
or al, 0x56
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10
adc byte [ecx - 0x74e3db84], cl
push ss
mov dword [esp + 0x3c], 3
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
lea ecx, [edi + 0x13c]
mov dword [edx + 0xc], eax
inc dword [eax]
call fcn.0040adf0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4504b6
adc al, 0xf
mov edi, 0x68500a40
cmpsd dword [esi], dword es:[edi]
dec dword [ecx - 0x7b981500]
invalid
jmp 0x4504a3
jmp 0x4504a3
mov ebx, eax
jmp 0x40bf4e
js 0x4504c0
jg 0x4504c9
test byte [edx - 0x46], dh
sti
dec dword [edi]
mov edi, 0x6a500a40
jb 0x450452
into
call fcn.004735b8
jmp 0x40bf31
jmp 0x4504fb
add byte [ebx], dh
shr cl, 0x7e
mov ebx, 0x4b8fffb
int1
add byte [ecx - 0x16d3dbbc], cl
invalid

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
and eax, 0x8b57004d
jge 0x40ec6f
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76
Function at 0x41c574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0xff
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x45b8ca
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test al, 1
jne 0x45b8d1
and eax, 0x800
mov dword [ebp + 8], eax
je 0x45b9c9
mov dword [ebp - 0x18], esi
cmp esi, ebx
ja 0x41c5ec
mov edi, dword [ebp - 8]
mov eax, ebx
sub eax, esi
inc ecx
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
movzx ecx, byte [edx + edi]
bts ecx, eax
inc esi
mov byte [edx + edi], cl
cmp esi, ebx
jbe 0x41c5ca
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x41c5f9
mov esi, 0x100
cmp edi, esi
jae 0x45b9e0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
push 0x1f
or bl, ch
daa
mov dword [eax], 0xe0550007
jmp 0x45b8fb
mov edi, esi
sub eax, esi
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edi]
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 3
and edx, 7
movzx eax, byte [ecx + eax]
bts eax, edx
xchg edi, eax
ret

Function at 0x41c633
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
push esi
push edi
movzx eax, byte [eax + 0x4c2140]
mov edi, edx
xor edx, edx
mov dword [ebp - 4], edi
inc edx
lea ecx, [ecx + eax*2]
call fcn.0041c935
mov esi, eax
cmp esi, edi
jae case.0x41c74a.119
push 0x77
pop ebx
movzx edi, word [esi]
mov edx, esi
push 0x10
pop ecx
cmp edi, 0x7d
je 0x45ba49
add eax, dword [eax]
cmp edi, 0x75
je 0x45ba5f
mov eax, 0x92
cmp di, ax
je 0x45bc54
inc eax
cmp di, ax
je 0x45bc54
mov eax, 0xa1
cmp di, ax
clc
je 0x45bc54
add al, byte [ebx - 0x6d17fd3e]
inc dword [ebx]
leave
lea edx, [edx + eax*2]
jmp 0x45ba7f
mov dword [edx], eax
add edx, eax
mov word [edx], si
add edx, eax
mov word [edx], di
jmp 0x45ba7d
add edx, eax
mov dword [ebx], edx
jmp 0x8c41c63e

Function at 0x41c69c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ecx]
push ebx
push esi
push edi
movzx eax, byte [eax + 0x4c2140]
mov edi, edx
xor edx, edx
mov dword [ebp - 4], edi
inc edx
lea ecx, [ecx + eax*2]
call fcn.0041c935
mov esi, eax
cmp esi, edi
jae case.0x41c74a.119
push 0x77
pop ebx
movzx edi, word [esi]
mov edx, esi
push 0x10
pop ecx
cmp edi, 0x7d
je 0x45ba49
add eax, dword [eax]
cmp edi, 0x75
je 0x45ba5f
mov eax, 0x92
cmp di, ax
je 0x45bc54
inc eax
cmp di, ax
je 0x45bc54
mov eax, 0xa1
cmp di, ax
clc
je 0x45bc54
add al, byte [ebx - 0x6d17fd3e]
inc dword [ebx]
leave
lea edx, [edx + eax*2]
jmp 0x45ba7f
mov dword [edx], eax
add edx, eax
mov word [edx], si
add edx, eax
mov word [edx], di
jmp 0x45ba7d
add edx, eax
mov dword [ebx], edx
jmp 0x8c41c63e

Function at 0x41fe36
Capabilities:
Enumerate pe sections

Disassembly:
push 0x20
pop ecx
sub ecx, eax
mov eax, dword [ebp + 8]
or bl, dl
enter 0x533, 0x14
ror byte [eax + eax + 0x5d], 0xc3
Function at 0x43927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004390fa

Function at 0x493ed4
Capabilities:
Encrypt data using speck

Disassembly:
mov eax, dword [ebp + 0x18]
cmp word [eax], bx
je 0x493ee1
mov dword [ebp - 0x14], eax
jmp 0x493ee8
mov dword [ebp - 0x30], 0xe00008e4
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
push 1
push ebx
push 0x15ff0c77
mov esp, 0x644949c5
lea esi, [ebx + edx + 0x66]
mov dword [edi - 0x1b5d1778], ebx
push dword [esi]
call dword [0x2492c560]
mov al, 1
jmp 0x493f1a
push ss
test edx, edx
je 0x493f93
sbb al, 0xb0
pop ds
adc eax, 0x28458b70
sub esp, 0x24
inc eax
neg eax
push ebx
sbb eax, eax
and eax, dword [ebp + 0x28]
push esi
push edi
or eax, 0xe83c00a2
push eax
call 0xa3318198
mov ecx, dword [ebp + 0x2c]
cmp ecx, 0xffffffff
jne 0x493f4d
mov ecx, 0xe0000200
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
inc esi
neg esi
push 1
sbb esi, esi
and esi, dword [ebp + 0x20]
inc edi
push ecx
adc al, 0x75
adc bh, dh
fistp word [ebx]
jmp dword [ebx]
xchg esp, eax
invalid
Function at 0x6518209f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edx
call sym._fread
cmp ebx, eax
je 0x651820d6
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call sym._checkErr__systemZio_141_4
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop ebx
pop ebp
ret 4

Function at 0x651825ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x65182609
mov dword [esp], edx
call sym._strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sym._fwrite
mov dword [esp], esi
call sym._fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x65183c23
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
sub esp, 0x1c
mov dword [esp], 2
call dword [0x6518f0b4]
mov dword [esp + 8], edi
mov dword [esp], esi
mov ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
call sym._fwrite
mov dword [esp], ebx
call sym._fflush
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x65187710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x651909dc
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x65188004
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x65188023
mov eax, 0
jmp 0x65188067
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x65188046
mov eax, 0
jmp 0x65188067
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x65188062
mov eax, 0
jmp 0x65188067
mov eax, 1
leave
ret
Function at 0x65188069
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x651880c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x651880c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x651880c0
mov eax, dword [ebp - 4]
jmp 0x651880dc
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x6518809d
mov eax, 0
leave
ret
Function at 0x4016e2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.004015a9
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x401728
push 0xa
push 0xa
push 0x1637204
push 0x3114b604
call fcn.00401dce
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.00401618
add esp, 0xc
test eax, eax
je 0x401731
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x401700
jmp 0x4017c3
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4017c3
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x4017bf
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x16371ec
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00401d80
push eax
push dword [esp + 0x24]
call fcn.00401644
add esp, 0x14
test eax, eax
je 0x4017a7
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x401768
jmp 0x4017bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x40192a
push 0xa
push 0x16371e0
push 0x29a1a909
call fcn.00401d80
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.004016ba
push 0xc
push 0x16371d0
push 0x13cbcee9
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.004016ba
push 0x18
push 0x16371b4
push 0x17ce53be
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.004016ba
push 0xf
push 0x16371a4
push 0x26b30b69
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.004016ba
push 0x12
push 0x1637190
push 0x3d924530
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.004016ba
push 7
push 0x1637188
push 0x2236409a
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.004016ba
push 0x14
push 0x1637170
push 0x149ccd04
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.004016ba
push 0x11
push 0x163715c
push 0x673ebfe9
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.004016ba
push 0x11
push 0x1637148
push 0x68d29b96
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.004016ba
push 0x16
push 0x1637130
push 0x7db65c79
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.004016ba
push 0x13
push 0x163711c
push 0x65fa79df
call fcn.00401d80
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004016ba
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x448e04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x448e00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x448e00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41fa44
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x488a45
call fcn.00488604
sub esp, 0x60
push ebx
push esi
xor esi, esi
cmp byte [0x5d50a2], 0
push edi
jne 0x41fb62
push 0x2220
call dword [sym.imp.SDL2.dll_SDL_Init]
pop ecx
test eax, eax
je 0x41fad4
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.0042b006
push ecx
push 0x1a
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0042a809
mov edx, esi
mov cl, byte [edi + edx + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x1a
jb 0x41fa96
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.00468b54
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0042a7b0
jmp 0x41fb62
push esi
call dword [sym.imp.SDL2.dll_SDL_GameControllerOpen]
mov dword [0x5d4ab8], eax
pop ecx
test eax, eax
jne 0x41fb43
call dword [sym.imp.SDL2.dll_SDL_GetError]
push dword [ebp - 0x18]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x69]
call fcn.0042b0b2
push ecx
push 0x33
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0042a809
mov cl, byte [edi + esi + 1]
lea eax, [ebp - 0x34]
xor cl, byte [edi]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + esi], cl
inc esi
cmp esi, 0x33
jb 0x41fb06
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ebx
cmova eax, dword [ebp - 0x34]
push eax
call fcn.00468b54
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0042a7b0
lea ecx, [ebp - 0x1c]
call fcn.0041a49c
mov byte [0x5d50a2], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x5d4a50], ecx
mov dword [0x5d4a54], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret