joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059588
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x1006a010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov edx, str.EnableDisable
mov dword [ebp - 4], 0
mov ecx, 0x1006ad80
call fcn.10037de0
test al, al
je 0x10036463
movzx eax, byte [0x100ec940]
push eax
mov eax, 0x580750
call eax
add esp, 4
mov ecx, 0x1006ad80
push 0xd
push str.EnableDisable
call fcn.10037420
push 0xd
push str.EnableDisable
mov ecx, 0x1006afe0
call fcn.10037420
mov eax, dword [0x1025c244]
test al, 1
jne 0x100362df
or eax, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], eax
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push eax
push 0x40
mov esi, 0x582029
push 4
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 3
cmp byte [ebp - 0x14], 0
je 0x10036326
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
push 1
cmovae esi, dword [ebp + 8]
mov eax, 0x582300
push 1
push 1
push 2
sub esp, 0xc
mov dword [esp + 8], 0x42480000
mov dword [esp + 4], 0x432a0000
mov dword [esp], 0x41e80000
push str.DUMMY
push 0
call eax
movzx ecx, al
xor edx, edx
push 0
mov dword [0x100ec940], ecx
call fcn.100386b0
add esp, 0x28
cmp bl, 1
jne 0x10036387
mov dword [str.none], 0x100653e4
jmp 0x1003639a
test bl, bl
mov eax, str.DISD
cmovne eax, dword [str.none]
mov dword [str.none], eax
push str.DUMMY
push str.DUMMY
push str.DUMMY
movzx eax, byte [0x100ec940]
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push 0x100653f4
push 0x100653f8
push str.CurStat
push esi
push 0
push eax
mov esi, 0x581e00
call esi
push str.DUMMY
push str.DUMMY
push str.DUMMY
movzx eax, byte [0x100ec940]
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push dword [0x1006a934]
push str.DUMMY
push 1
push eax
call esi
movzx eax, byte [0x100ec940]
add esp, 0x78
mov esi, 0x582050
push 0xdc
push 0
push eax
call esi
movzx eax, byte [0x100ec940]
push 0x96
push 1
push eax
call esi
add esp, 0x18
mov edx, dword [ebp + 0x1c]
mov eax, dword [0xb7cb84]
mov dword [0x1025b6c8], eax
cmp edx, 0x10
jb 0x1003649d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036493
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100364ae
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004910a
int3
Function at 0x10037980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x100379c6
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100379d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
push 0x40
push 4
push esi
mov edi, ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov dword [esi], edi
cmp byte [ebp - 8], 0
je 0x10037a1b
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10037a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x10037a77
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10039890
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push 4
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebp + 8]
test eax, eax
mov eax, dword [esi]
setne byte [ebp - 8]
mov dword [edi], eax
cmp byte [ebp - 8], 0
je 0x100398e0
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003b500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov esi, edx
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov edi, eax
test cl, 1
jne 0x1003b548
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x1003b559
mov byte [ebp - 8], 0
jmp 0x1003b573
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
push 0x40
push esi
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
push esi
push 0x90
push edi
call fcn.1003da30
add esp, 0xc
cmp byte [ebp - 8], 0
je 0x1003b59f
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003b5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov bl, dl
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b5f8
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov byte [esi], bl
cmp byte [ebp - 8], 0
je 0x1003b636
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003b640
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov bx, dx
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b689
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 2
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov word [esi], bx
cmp byte [ebp - 8], 0
je 0x1003b6c8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003b6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov ebx, edx
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b718
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov dword [esi], ebx
cmp byte [ebp - 8], 0
je 0x1003b756
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003b760
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
movss dword [ebp - 4], xmm1
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b7aa
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 4]
test eax, eax
setne byte [ebp - 8]
movss dword [esi], xmm0
cmp byte [ebp - 8], 0
je 0x1003b7ef
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003b800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b846
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x1003b882
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003b890
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b8d5
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 2
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
movzx esi, word [esi]
test eax, eax
je 0x1003b912
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, si
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003b920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.1003ba40
mov ecx, dword [0x1025c244]
mov esi, eax
test cl, 1
jne 0x1003b965
or ecx, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], ecx
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x1003b9a1
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004d6ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004d52a

Function at 0x1004fc98
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004fb9d
Function at 0xcdc750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6c9000]
push edi
or ebp, 0xffffffff
jmp 0xcdc772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcdc779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdc768
mov eax, 1
add ebx, ebx
jne 0xcdc78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcdc79c
jne 0xcdc7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdc7bb
dec eax
add ebx, ebx
jne 0xcdc7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcdc780
add ebx, ebx
jne 0xcdc7b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcdc80d
xor ecx, ecx
sub eax, 3
jb 0xcdc7d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcdc842
sar eax, 1
mov ebp, eax
jmp 0xcdc7de
add ebx, ebx
jne 0xcdc7de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdc7ac
inc ecx
add ebx, ebx
jne 0xcdc7ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdc7ac
add ebx, ebx
jne 0xcdc7f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcdc7ee
jne 0xcdc80a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcdc7ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcdc82c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcdc81e
jmp 0xcdc76e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcdc82c
add edi, ecx
jmp 0xcdc76e
pop esi
mov edi, esi
mov ecx, 0x266bc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcdc84a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xcdc84f
lea edi, [esi + 0x8d8000]
mov eax, dword [edi]
or eax, eax
je 0xcdc8b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x93cd70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x93ce9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcdc875
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x93cea0]
or eax, eax
je 0xcdc8b1
mov dword [ebx], eax
add ebx, 4
jmp 0xcdc892
call dword [esi + 0x93ceb0]
mov ebp, dword [esi + 0x93cea4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xcdc8eb
sub esp, 0xffffff80
jmp 0xabb6d4
Function at 0x40160a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x401697
cmp dword [esi + 8], ebx
je 0x401697
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], SysReAllocString
call fcn.004014e3
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401697
cmp dword [ebp - 4], ebx
je 0x401697
cmp dword [esi + 0x14], 1
jne 0x401665
push 4
lea eax, [esi + 0x10]
push eax
push 4
jmp 0x401679
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x40168e
push eax
call fcn.0042a590
pop ecx
push eax
push dword [esi + 0xc]
push 1
push ebx
push dword [esi + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x402155
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc78
mov eax, dword [0x44c750]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, 0x400
push eax
lea ecx, [ebp - 0xc6c]
push ecx
lea ecx, [ebp - 0xc74]
push ecx
lea ecx, [ebp - 0xc78]
push ecx
lea ecx, [ebp - 0xc70]
push ecx
push eax
lea eax, [ebp - 0x86c]
push eax
push 0x43d718
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
test eax, eax
jne 0x4021aa
mov dword [ebp - 0xc70], esi
push str.wrapper
push dword [ebp - 0xc70]
lea eax, [ebp - 0x46c]
push str.game
push str._s_lu_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00418c89
lea eax, [ebp - 0x46c]
push eax
call fcn.0042a590
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00418ccf
lea eax, [ebp - 0x6c]
push eax
call fcn.00418d55
mov edi, dword [ebp + 8]
push str.xxxx_xxxx_xxxx_xxxx
push edi
call fcn.0042a980
push str.ACDEFHJKMNPRSTWXYZ2345679
call fcn.0042a590
add esp, 0x3c
mov ebx, eax
lea ecx, [ebp - 0x14]
cmp esi, 4
je 0x40223c
cmp esi, 9
je 0x40223c
cmp esi, 0xe
je 0x40223c
movzx eax, byte [ecx]
xor edx, edx
div ebx
inc ecx
mov al, byte [edx + str.ACDEFHJKMNPRSTWXYZ2345679]
mov byte [esi + edi], al
inc esi
cmp esi, 0x13
jb 0x40221c
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0042a8ce
leave
ret

Function at 0x402e5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
cmp ebx, esi
push edi
mov edi, dword [ebp + 8]
mov ecx, ebx
jae 0x402e86
xor edx, edx
mov eax, ecx
div dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov al, byte [edx + eax]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x402e71
push dword [ebp + 0x1c]
sub esi, ebx
push esi
add edi, ebx
push edi
call fcn.004025a8
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402ef3
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x44c750]
push ebx
push 0
push 2
mov dword [ebp + 0xac], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402fa1
push edi
push 0x49
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x402f9d
push esi
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xb8]
call fcn.0042b25d
test eax, eax
pop ecx
pop ecx
jne 0x402f8e
push dword [ebp - 0x74]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x80], 0x103
jne 0x402f8b
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402f48
pop esi
push ebx
call edi
pop edi
mov ecx, dword [ebp + 0xac]
pop ebx
call fcn.0042a8ce
add ebp, 0xb0
leave
ret

Function at 0x403286
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x4dc]
sub esp, 0x55c
mov eax, dword [0x44c750]
push ebx
push esi
push edi
push 0x44
pop esi
push esi
mov dword [ebp + 0x4d8], eax
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0042a000
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x80], esi
call fcn.0042a000
mov esi, 0x547748
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042a980
push dword [0x54821c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a990
add esp, 0x28
cmp dword [ebp + 0x4e4], ebx
mov edi, 0x43d7bc
je 0x40331b
push dword [ebp + 0x4e4]
call fcn.0042a590
test eax, eax
pop ecx
jbe 0x40331b
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0042a990
push dword [ebp + 0x4e4]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a990
add esp, 0x10
push dword [0x548234]
call fcn.0042a590
test eax, eax
pop ecx
jbe 0x403347
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0042a990
push dword [0x548234]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a990
add esp, 0x10
lea eax, [ebp + 0x3d4]
push esi
push eax
call fcn.0042a980
push dword [0x54821c]
lea eax, [ebp + 0x3d4]
push eax
call fcn.0042a990
lea eax, [ebp + 0x3d4]
push 0x5c
push eax
call fcn.0042b230
add esp, 0x18
cmp eax, ebx
je 0x40338b
mov byte [eax + 1], bl
lea eax, [ebp + 0x3d4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push ebx
push dword [0x548168]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xbb8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 1
call fcn.004031bd
int3
Function at 0x40a365
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43bee9
call fcn.0042a52c
sub esp, 0x420
mov eax, dword [0x44c750]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x44b0b4]
xor ebx, ebx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x40a40c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov edi, 0x400
cmp esi, edi
jg 0x40a3ec
push esi
call fcn.0040169d
test al, al
pop ecx
je 0x40a3ec
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0042a860
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40a3f8
push esi
lea ecx, [ebp - 0x420]
call fcn.00405dad
push dword [ebp - 0x41c]
push esi
push dword [ebp + 8]
push eax
call fcn.004017f2
cmp eax, ebx
jne 0x40a42f
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a425
lea ecx, [ebp - 0x418]
call fcn.0040b782
mov esi, 0x8007000e
jmp 0x40a536
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp eax, ebx
mov dword [ebp - 0x41c], eax
jne 0x40a44f
call fcn.00406dce
mov esi, eax
jmp 0x40a51d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40a479
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x424], eax
jne 0x40a483
call fcn.00406dce
jmp 0x40a50f
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, edi
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
jbe 0x40a4b4
push eax
lea ecx, [ebp - 0x418]
call fcn.0040b78b
jmp 0x40a4c7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40a4c7
cmp dword [ebp - 0x418], ebx
mov dword [ebp - 4], 1
jne 0x40a4dd
mov esi, 0x8007000e
jmp 0x40a511
push esi
push dword [ebp - 0x424]
push dword [ebp - 0x418]
call fcn.0042ae60
mov eax, dword [ebp - 0x418]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0040a562
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a536
lea ecx, [ebp - 0x418]
call fcn.0040b782
lea ecx, [ebp - 0x420]
call fcn.00402fb5
mov eax, esi
lea esp, [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042a8ce
pop edi
pop esi
pop ebx
leave
ret 0x10