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

Disassembly:
mov eax, dword [edi + 4]
lea eax, [eax*2 + 0x16498b02]
cld
or al, 0x8b
or eax, dword [ebx]
test byte [ebx], 0xcf
inc edi
add al, 0x8d
add al, 0x45
add cl, byte [ebx + 0xcfc1649]
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call 0xd420e7f
add dword [ebx], esi
xor eax, eax
jo 0x45f807
or byte [ebx - 0x7699ef3c], al
add al, 0x3e
test ecx, ecx
jle 0x45f7d7
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45f7ce
jmp 0x45f7a0
int1
dec eax
add byte [esi + esi*8], al
dec eax
add byte [eax + 0x45dfe085], al
in al, 0x50
lea ecx, [ebp - 0x20]
call fcn.00407e20
cmp byte [esi + 2], 0x89
mov eax, dword [ebp + 8]
je 0x45f848
push 0x39b9eb3a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
stc
xor byte [eax - 0x60], ch
or dword [ebx], 0x204496e8
mov ax, word [edi]
sbb cl, ch
xchg edx, eax
add al, ch
add byte [ebx + 0x75000478], al
sbb dword [ecx - 0x42], eax
or al, 0x8d
test eax, esp
cmp dword [eax + 4], 0
jne 0x45f867
inc ecx
mov esi, 0xe0858d0c
fild word [ebp - 0x1c]
push 0x4b81d8
push eax
call 0x666636d7
mov eax, dword [edi]
jmp 0x45f880
push dword [eax]
lea eax, [ebp - 0x1bba2020]
push dword [ebp + 0xc]
push 0x4b81f0
push eax
call 0x666636d7
mov eax, dword [edi]
adc byte [eax + 0x45dfe085], al
in al, 0x50
add byte [ebp - 0x1bba2020], 0x50
lea ecx, [ebp - 0x10]
call fcn.00407e20
inc ecx
mov esi, 0xf04d8d14
call 0x10407cea
push 0x4b8220
lea ecx, [ebp - 0x10]
call fcn.00407cea
inc ecx
invalid
invalid

Function at 0x46888b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c6530], ecx
inc esi
mov ecx, 0x4c6530
xchg ebx, eax
salc
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c6eec
jl 0x46889c
mov dword [0x4c3190], esi
mov dword [0x4c6518], esi
pop esi
ret

Function at 0x469148
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8904dc
lea ecx, [ebp - 0xdc]
push esi
push edi
call 0xe48c8f9e
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call 0x76468fe4
psadbw mm7, qword [ecx]
jne 0x46917d
jbe 0x46918c
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0046911c
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x469176
invalid
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x75b30d77
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x54f54dc3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40f5a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call fcn.0041fac0
mov edi, dword [eax + 0x2c84]
call fcn.0041fac0
mov eax, dword [eax + 0x2c80]
mov dword [esi + 4], eax
lea eax, [eax*2 + 3]
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
cmp edi, 5
ja case.0x40f5df.0
jmp dword [edi*4 + 0x40f7a8]
movss xmm0, dword [0x4f3c2c]
jmp 0x40f620
movss xmm0, dword [0x4f3c48]
jmp 0x40f620
movss xmm0, dword [0x4f3c54]
jmp 0x40f620
movss xmm0, dword [0x4f3c6c]
jmp 0x40f620
movss xmm0, dword [0x4f3c8c]
jmp 0x40f620
movss xmm0, dword [0x4f3c04]
movsd xmm1, qword [0x4f3d58]
movss dword [esi + 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [esi + 0x18], 0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm0, dword [0x4f3f2c]
movss dword [esi + 0x14], xmm0
call fcn.0041fac0
mov eax, dword [eax + 0x2c88]
push eax
mov dword [esi + 0x1c], eax
call fcn.0040fbf0
movss dword [esi + 0x20], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 1
mov dword [esi + 0x3c], 0x3f800000
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
call fcn.0041fac0
mov eax, dword [eax + 0x2c8c]
cmp eax, 5
ja case.0x40f6a4.0
jmp dword [eax*4 + 0x40f7c0]
movss xmm0, dword [0x4f3dfc]
jmp 0x40f6e5
movss xmm0, dword [0x4f3e10]
jmp 0x40f6e5
movss xmm0, dword [0x4f3e20]
jmp 0x40f6e5
movss xmm0, dword [0x4f3e50]
jmp 0x40f6e5
movss xmm0, dword [0x4f3e58]
jmp 0x40f6e5
movss xmm0, dword [0x4f3db0]
movss dword [esi + 0x58], xmm0
call fcn.0041fac0
lea ecx, [esi + 0x24]
push 0
movd xmm0, dword [eax + 0x2c98]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4f3d88]
addss xmm0, dword [0x4f3ef4]
movss dword [esi + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.0040fd10
mov dword [esi + 0x54], 0
call fcn.0041fac0
movss xmm0, dword [esi + 0x58]
cvtps2pd xmm0, xmm0
push dword [eax + 0x2c8c]
lea eax, [ebp - 0x44]
sub esp, 8
movsd qword [esp], xmm0
push 0x4dcab8
push eax
call fcn.0040fdb0
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], 0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x40f78c
push eax
call fcn.0047d79d
add esp, 4
mov dword [esi + 0x7c], 0
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 0x80], eax
xor ecx, ebp
pop edi
mov al, 1
pop esi
call fcn.0047d312
mov esp, ebp
pop ebp
ret 4
Function at 0x411290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x80], ecx
mov al, byte [ecx]
mov byte [edi], al
test al, al
je 0x4113c0
push ebx
mov bl, byte [ecx + 1]
push esi
call fcn.0040f4d0
xor edx, edx
movzx esi, word [eax + 0x82]
test esi, esi
je 0x4112de
mov ecx, dword [eax + 0x7c]
cmp byte [ecx], bl
je 0x411326
inc edx
add ecx, 0xc
cmp edx, esi
jl 0x4112d2
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x80]
mov bl, byte [eax + 1]
call fcn.0040f4d0
xor edx, edx
movzx esi, word [eax + 0x82]
test esi, esi
je 0x41130c
mov ecx, dword [eax + 0x7c]
nop
cmp byte [ecx], bl
je 0x411349
inc edx
add ecx, 0xc
cmp edx, esi
jl 0x411300
xor eax, eax
mov ecx, dword [ebp - 0x80]
mov dword [edi + 8], eax
pop esi
pop ebx
movzx eax, byte [ecx + 1]
cmp eax, 0xa
ja case.0x41131f.0
jmp dword [eax*4 + 0x4113d4]
mov eax, dword [eax + 0x7c]
xor ecx, ecx
nop dword [eax + eax]
cmp byte [eax], bl
je 0x411342
inc ecx
add eax, 0xc
cmp ecx, esi
jl 0x411330
xor eax, eax
mov eax, dword [eax]
jmp 0x4112e0
add eax, 4
mov eax, dword [eax]
jmp 0x4112e0
mov eax, dword [eax + 0x7c]
xor ecx, ecx
nop
cmp byte [eax], bl
je 0x411365
inc ecx
add eax, 0xc
cmp ecx, esi
jl 0x411350
mov eax, 4
mov eax, dword [eax]
jmp 0x41130e
add eax, 8
mov eax, dword [eax]
jmp 0x41130e
mov al, 4
jmp 0x411396
mov al, 5
jmp 0x411396
mov al, 6
jmp 0x411396
mov al, 7
jmp 0x411396
mov al, 8
jmp 0x411396
mov al, 9
jmp 0x411396
mov al, 0xa
jmp 0x411396
mov al, 0xb
jmp 0x411396
mov al, 0xc
jmp 0x411396
mov al, 0xd
jmp 0x411396
mov al, 3
push dword [edi + 8]
mov byte [edi + 1], al
push dword [edi + 4]
movzx eax, byte [ecx + 1]
push eax
lea eax, [ebp - 0x7c]
push str.Record_::_ShotCode:_d___Count:_d___Damage:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0047d312
mov esp, ebp
pop ebp
ret 4
Function at 0x41e850
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x8c], ecx
xor bh, bh
call fcn.00443960
cmp byte [eax + 0x134], bh
jbe 0x41e92a
nop
call fcn.00443960
movzx ecx, bh
imul edi, ecx, 0x208
mov dword [ebp - 0x94], ecx
lea ecx, [eax + 0x13c]
push 0
add ecx, edi
call fcn.00447a70
mov esi, eax
call fcn.00443960
push 1
lea ecx, [eax + 0x13c]
add ecx, edi
call fcn.00447a70
lea ecx, [esi + 0x12c]
cmp ecx, 0x258
ja 0x41e93d
cmp eax, 0xfffffed4
jl 0x41e93d
cmp eax, 0x12c
jg 0x41e93d
xor bl, bl
mov byte [ebp - 0x90], bl
call fcn.00443960
cmp byte [eax + edi + 0x144], 0
je 0x41e917
mov al, byte [eax + edi + 0x149]
cmp bl, al
jae 0x41e917
call fcn.00443960
push dword [ebp - 0x90]
lea ecx, [eax + 0x13c]
add ecx, edi
call fcn.00447bd0
test eax, eax
jne 0x41e93d
inc bl
jmp 0x41e8d7
inc bh
call fcn.00443960
cmp bh, byte [eax + 0x134]
jb 0x41e880
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x8c]
mov esi, 0xfffffff6
mov byte [eax + 0x44], bh
lea edx, [esi + 0x12]
mov ebx, eax
lea edi, [ebx + 0x45]
mov ecx, edi
mov al, byte [ecx]
cmp al, 0xff
je 0x41e963
movzx eax, al
cmp esi, eax
cmovl esi, eax
inc ecx
sub edx, 1
jne 0x41e955
call fcn.00443960
imul ecx, dword [ebp - 0x94], 0x208
add eax, ecx
cmp byte [eax + 0x144], 0
jne 0x41e987
xor al, al
jmp 0x41e98d
mov al, byte [eax + 0x149]
movzx eax, al
cmp eax, esi
jg 0x41ea76
movaps xmm0, xmmword [0x4f45b0]
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
mov byte [edi], 4
mov byte [ebx + 0x46], 5
mov byte [ebx + 0x48], 6
call fcn.00443960
mov al, byte [eax + 0x134]
mov byte [ebx], al
mov bl, byte [ebx + 0x44]
call fcn.00443960
movzx ecx, bl
imul ecx, ecx, 0x208
cmp byte [ecx + eax + 0x144], 0
mov eax, dword [ebp - 0x8c]
je 0x41ea1e
mov bl, byte [eax + 0x44]
call fcn.00443960
movzx ecx, bl
imul ecx, ecx, 0x208
cmp byte [eax + ecx + 0x144], 0
je 0x41ea18
mov al, byte [eax + ecx + 0x149]
cmp al, 6
jb 0x41ea18
cmp al, 0xc
mov eax, dword [ebp - 0x8c]
jae 0x41ea1e
mov byte [edi], 4
mov byte [eax + 0x46], 5
jmp 0x41ea1e
mov eax, dword [ebp - 0x8c]
mov bl, byte [eax + 0x44]
call fcn.00443960
movzx ecx, bl
imul ecx, ecx, 0x208
add eax, ecx
cmp byte [eax + 0x144], 0
jne 0x41ea3e
xor al, al
jmp 0x41ea44
mov al, byte [eax + 0x149]
movzx eax, al
push esi
push eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax + 0x44]
push eax
lea eax, [ebp - 0x88]
push 0x4ee83c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x41fb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x6000
push 0
mov dword [ebp - 4], edi
lea esi, [edi + 0x28]
push esi
call fcn.0047ebc0
add esp, 0xc
mov edi, 0x800
xor ebx, ebx
nop word [eax + eax]
mov edx, dword [esi + 0x2000]
lea esi, [esi + 4]
movzx ecx, bl
inc ebx
movzx eax, byte [ecx + 0x4dcee0]
xor eax, edx
mov dword [esi - 4], eax
movzx eax, byte [ecx + 0x4dcfe0]
xor eax, edx
mov dword [esi + 0x3ffc], eax
sub edi, 1
jne 0x41fb50
mov edi, dword [ebp - 4]
mov dword [edi + 0x255c], 0
mov dword [edi + 0x55c], 0x2d
mov dword [edi + 0x455c], 0x25
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x4eea38
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0x48626941
mov dword [ebp - 0x20], 2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4200bb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push 0
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
call fcn.00420dc0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x40
push eax
push ebx
call edi
call fcn.0041e7c0
push 0
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [esi + 0x44]
push ecx
push ebx
call edi
push 0
lea eax, [ebp - 0x18]
push eax
push 0x20
lea eax, [esi + 0x45]
push eax
push ebx
call edi
push 0
lea eax, [ebp - 0x18]
push eax
push 0x20
lea eax, [esi + 0x65]
push eax
push ebx
call edi
mov esi, dword [ebp - 0x24]
push 0
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
call edi
mov ecx, dword [ebp - 0x10]
lea edx, [esi + 0x28]
mov eax, ecx
mov dword [esi + 0x2028], ecx
xor eax, 0x1d
xor ecx, 0x7d
mov dword [esi + 0x4028], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, ecx
xor eax, 0x63
mov dword [esi + 0x202c], ecx
xor ecx, 0xf7
mov dword [esi + 0x2c], eax
mov dword [esi + 0x402c], ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
xor eax, 0xa9
mov dword [esi + 0x2030], ecx
push 0
mov dword [esi + 0x30], eax
xor ecx, 0x6a
lea eax, [ebp - 0x14]
mov dword [esi + 0x4030], ecx
push eax
push 0x6000
push edx
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov edx, 1
mov ecx, 0x4eea38
call fcn.0044ec10
add esp, 4
call fcn.00424d40
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x421970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.aibeach_ach.sdf
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4219d2
push str.aibeach_ach.sdf
push str.save_achievement_failed:_s
push esi
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push 0
push eax
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x43414241
push eax
push edi
call esi
movzx eax, word [ebx + 6]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xc]
push eax
push edi
call esi
push 0
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 0xc]
imul eax, eax, 0x20c
push eax
push dword [ebx]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov edx, 7
mov ecx, str.aibeach_ach.sdf
call fcn.0044ec10
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0047d312
mov esp, ebp
pop ebp
ret
Function at 0x422850
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0xc], ecx
call fcn.0043add0
mov esi, eax
push 0x40
push 0
lea edi, [esi + 9]
push edi
call fcn.0047ebc0
add esp, 0xc
mov byte [esi + 8], 1
push 0x4dc30c
push 0x40
push edi
call fcn.00483128
add esp, 0xc
call fcn.0043add0
mov dword [eax + 0x4c], 2
call fcn.0043add0
mov byte [eax + 0x50], 0
call fcn.0043add0
mov esi, eax
mov ecx, esi
call fcn.0043aeb0
push 4
push 0x3000
push 0xa8c0
mov eax, 0x190
push 0
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 4], eax
test eax, eax
jne 0x4228dc
push 0x4eed4c
jmp 0x422a48
call fcn.0043add0
push 0
push 0x1c
push ecx
push 1
push 4
push 4
push 0
mov ecx, eax
call fcn.0043b090
mov edi, dword [esp + 0xc]
mov word [edi], ax
test ax, ax
jne 0x42290b
push str.WhiteTexture_Create_Failed
jmp 0x422a48
movzx esi, ax
call fcn.0043add0
cmp si, word [eax]
jae 0x42293f
mov eax, dword [eax + 4]
mov ecx, esi
imul ecx, ecx, 0x6c
add eax, 0xffffffdc
push 0xffffffffffffffff
add ecx, eax
movzx eax, word [ecx + 0xa]
push eax
movzx eax, word [ecx + 8]
push eax
sub esp, 8
push dword [0x4fe45c]
call fcn.0043c180
lea eax, [esp + 0xc]
push eax
push str.tx_copyright.png
push 0x4dc30c
call fcn.004523e0
mov ecx, eax
call fcn.004526f0
mov esi, eax
test esi, esi
jne 0x422978
lea edx, [esp + 0xc]
mov ecx, str.tx_copyright.png
call fcn.0044eb80
mov esi, eax
test esi, esi
je 0x422a43
push dword [esp + 0xc]
lea ecx, [edi + 0xc]
push esi
call fcn.00450080
push 0x8000
push 0
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test bl, bl
je 0x422a40
call fcn.00421c60
push str.tx_achievementa
push str.tx_achievement
mov esi, eax
call fcn.0043add0
mov ecx, eax
call fcn.0043b1a0
mov word [esi], ax
test ax, ax
jne 0x4229e3
mov eax, str.load_texture_failed
push eax
push 0x200
push dword [ebp + 8]
call fcn.00483128
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
push 0x3000
push 0x1e0
mov eax, 0xa
push 0
mov word [esi + 8], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x422a28
mov eax, str.alloc_failed
push eax
push 0x200
push dword [ebp + 8]
call fcn.00483128
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov word [esi + 0x10], ax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
push str.copyright_tex_Failed
push 0x200
push ebx
call fcn.00483128
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424400
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push ebx
push esi
lea esi, [edx + eax*8]
xor bl, bl
push edi
cmp byte [esi + 1], bl
jbe 0x424440
lea edi, [ecx + 0xdc]
nop dword [eax]
mov eax, dword [esi + 4]
push dword [ebp + 0xc]
movzx ecx, bl
movzx eax, word [eax + ecx*2]
mov ecx, edi
push eax
call fcn.00446290
test al, al
je 0x42444a
inc bl
cmp bl, byte [esi + 1]
jb 0x424420
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push str.se_load_2d_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x42afe0
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
xor eax, eax
mov word [edi], ax
mov eax, dword [edi + 4]
test eax, eax
je 0x42b02a
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [edi + 4], 0
mov ebx, dword [ebp + 0xc]
mov edx, 4
xor ecx, ecx
cmp ebx, edx
jbe 0x42b058
nop dword [eax + eax]
mov al, byte [ecx + 0x4dd178]
xor byte [edx + esi], al
lea eax, [ecx + 1]
inc edx
cmp eax, 0x40
sbb ecx, ecx
and ecx, eax
cmp edx, ebx
jb 0x42b040
cmp dword [esi], 0x53534241
je 0x42b08f
push str.label_error
push 0x200
push dword [esp + 0x14]
call fcn.00483128
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [esi + 4]
mov word [edi], ax
push 4
imul eax, eax, 0x5c
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov dword [edi + 4], ecx
test ecx, ecx
jne 0x42b0b9
push str.list_alloc_failed
jmp 0x42b065
movzx eax, word [edi]
imul eax, eax, 0x5c
push eax
lea eax, [esi + 6]
push eax
push ecx
call fcn.004803e0
xor eax, eax
add esp, 0xc
xor esi, esi
cmp ax, word [edi]
jae 0x42b120
xor ebx, ebx
nop dword [eax + eax]
push 0x200
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0047ebc0
mov eax, dword [edi + 4]
push dword [ebx + eax]
lea eax, [esp + 0x20]
push esi
push str.load_script:_d:Code_d_n
push eax
call fcn.0044d1b0
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, word [edi]
lea ebx, [ebx + 0x5c]
inc esi
cmp esi, eax
jl 0x42b0e0
mov ecx, dword [esp + 0x214]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42c160
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 1
mov ebx, ecx
call fcn.0042f320
push eax
lea ecx, [ebx + 8]
call fcn.004466b0
push 4
push 0x3000
push 0x38
mov eax, 1
push 0
mov word [ebx + 0x258], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx + 0x25c], eax
test eax, eax
jne 0x42c1be
push 0x4ef958
push 0x200
push dword [ebp + 0x10]
call fcn.00483128
add esp, 0xc
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
push esi
nop word [eax + eax]
mov esi, dword [ebx + 0x25c]
push 0xca8
push dword [0x4fe45c]
add esi, edi
mov ecx, esi
call fcn.00442120
test al, al
je 0x42c384
mov eax, dword [esi + 4]
mov dword [esi], 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc dword [ebp - 4]
add edi, 0x38
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], 0x24
mov dword [esi + 0x18], 0xca8
cmp edi, 0x38
jl 0x42c1d0
xor eax, eax
lea esi, [ebx + 0x228]
push 0xb4
mov word [ebx + 0x260], ax
mov ecx, esi
push dword [0x4fe45c]
call fcn.00442120
test al, al
je 0x42c398
mov eax, dword [esi + 4]
mov dword [esi], 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 4
push 0x3000
push 0xb4
push 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0xb4
mov dword [esi + 0x2c], 0x39
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x42c398
xor edx, edx
nop
movzx ecx, dx
mov word [edi + ecx*2], dx
inc edx
cmp dx, 0x5a
jb 0x42c290
mov eax, dword [esi]
test eax, eax
je 0x42c2f5
lea edx, [esi + 0xc]
mov dword [ebp - 8], edx
cmp eax, 1
jne 0x42c2c2
mov eax, dword [edx]
test eax, eax
je 0x42c2f5
mov esi, edi
mov ecx, 0x2d
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x42c2f2
mov eax, dword [esi + 4]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x42c2f5
mov esi, edi
mov ecx, 0x2d
mov edi, dword [ebp - 8]
push 0
push 0
mov edi, dword [edi]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, dword [ebp - 4]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 4
push 0x3000
push 0xca8
mov eax, 0x5a
push 0
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx + 4], eax
test eax, eax
jne 0x42c346
push str.extriangle_lvt_alloc_failed
push 0x200
push dword [ebp + 0x10]
call fcn.00483128
add esp, 0xc
xor al, al
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.__________________________________init_success______________________________________n
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
mov dword [ebx + 0x26c], 0x3acccccd
mov dword [ebx + 0x270], 0x3b360b61
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push str.extriangle_vb__d__alloc_failed
push dword [ebp + 0x10]
call fcn.0044d1b0
add esp, 0xc
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc