joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov dx, word [ebp + 0xc]
sub esp, 0x88
mov eax, 0xc8
push esi
push edi
mov edi, ecx
cmp dx, ax
jae 0x42d1f3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x42d1f3
mov ecx, dword [ecx + 0xc]
movzx eax, dx
mov edx, dword [ebp + 0x10]
lea esi, [eax + eax*2]
shl esi, 5
lea eax, [edi + 0x2f0]
add esi, dword [ecx]
lea ecx, [esp + 0x10]
push eax
call fcn.0044d2c0
lea eax, [edi + 0x330]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x58]
call fcn.0044d2c0
movss xmm0, dword [esp + 0x58]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x6c]
mov eax, dword [ebp + 0x14]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x10]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x54], 0
movss xmm0, dword [ebp + 0x18]
movss dword [esi + 0x50], xmm0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42f110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea esi, [edx + 0x470]
mov dword [ebp - 4], edx
push edi
cmp bl, byte [esi + 4]
jae 0x42f299
movzx eax, bl
imul edi, eax, 0x260
mov eax, dword [esi]
movzx eax, word [edi + eax + 0x254]
test ax, ax
je 0x42f299
mov ecx, dword [ebp + 8]
push dword [edx + 0x10]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [ebp + 8]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
movss xmm0, dword [eax]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x38]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
movss dword [ebp - 8], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax + 0x2e0], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [eax + 0x2f0], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [eax + 0x300], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + 0x310], xmm0
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx]
push dword [ebx + eax*4 + 0x14]
push edx
call dword [ecx + 0x64]
mov ebx, dword [ebp + 0x10]
cmp bl, byte [esi + 4]
jae 0x42f283
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42f262
mov eax, dword [esi]
mov edx, dword [ecx]
add eax, edi
push 1
push eax
call dword [edx + 4]
mov ecx, dword [esi]
push dword [ebp + 8]
add ecx, edi
call fcn.00446d10
cmp bl, byte [esi + 4]
jae 0x42f283
push dword [ebp + 0x18]
push ecx
mov ecx, dword [esi]
push dword [ebp + 8]
add ecx, edi
call fcn.00446e20
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.00442630
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x431f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov dx, word [ebp + 0xc]
sub esp, 0x88
mov eax, 0xc8
push esi
push edi
mov edi, ecx
cmp dx, ax
jae 0x432112
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x432112
mov ecx, dword [ecx + 0xc]
movzx eax, dx
mov edx, dword [ebp + 0x10]
lea esi, [eax + eax*4]
shl esi, 4
lea eax, [edi + 0x2e0]
add esi, dword [ecx]
lea ecx, [esp + 0x10]
push eax
call fcn.0044d2c0
lea eax, [edi + 0x320]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x58]
call fcn.0044d2c0
movss xmm0, dword [esp + 0x58]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x5c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x10]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esi + 0x30], xmm0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esi + 0x40], eax
movss dword [esi + 0x44], xmm2
movss dword [esi + 0x48], xmm0
movss dword [esi + 0x4c], xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x432120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], str.tx_clip00
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], str.tx_clip01
mov dword [ebp - 0xc], str.tx_clip02
mov byte [ebp - 1], 0
nop dword [eax]
call fcn.0043add0
push 0
push 0x1c
push ecx
push 1
push 0x100
push 0x100
push 0
mov ecx, eax
call fcn.0043b090
movzx esi, byte [ebp - 1]
mov word [edi + esi*2 + 8], ax
test ax, ax
je 0x4322f3
push 0
push dword [ebp + esi*4 - 0x14]
push eax
call fcn.0043add0
mov ecx, eax
call fcn.0043b730
test al, al
je 0x4322eb
mov al, byte [ebp - 1]
inc al
mov byte [ebp - 1], al
cmp al, 3
jb 0x432160
lea eax, [edi + 0x24]
mov ecx, 2
mov dword [eax - 4], 0x43800000
lea eax, [eax + 0x18]
mov dword [eax - 0x18], 0x43000000
sub ecx, 1
jne 0x4321c0
movss xmm5, dword [0x4f3c8c]
lea ecx, [edi + 0x18]
movss xmm3, dword [0x4f40b4]
mov esi, 2
mov di, word [ebx + 0x10]
xorps xmm2, xmm2
movss xmm1, dword [ecx + 8]
ucomiss xmm1, xmm2
movzx edx, di
lahf
test ah, 0x44
jnp 0x43223f
movzx eax, word [ebx + 0xc]
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm5
movss dword [ecx], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm3
movss dword [ecx + 4], xmm0
add ecx, 0x18
sub esi, 1
jne 0x4321f5
mov edi, dword [ebp - 8]
mov ax, word [ebx + 0xc]
shr ax, 1
movzx eax, ax
movss xmm1, dword [edi + 0x38]
movaps xmm0, xmm1
mulss xmm0, xmm5
movd xmm4, eax
mov ax, word [ebx + 0x10]
cvtdq2ps xmm4, xmm4
shr ax, 1
movzx eax, ax
movss dword [edi + 0x3c], xmm0
movaps xmm0, xmm4
movd xmm3, eax
divss xmm0, xmm1
mov al, 1
cvtdq2ps xmm3, xmm3
movss dword [edi + 0x30], xmm0
movaps xmm0, xmm3
movss dword [edi + 4], xmm3
divss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
xorps xmm0, xmmword [0x4f4580]
mulss xmm1, dword [0x4f3c94]
movss dword [edi], xmm4
movss dword [edi + 0x34], xmm0
divss xmm3, xmm1
divss xmm4, xmm1
xorps xmm3, xmmword [0x4f4580]
movaps xmm0, xmm1
mulss xmm0, xmm5
movss dword [edi + 0x20], xmm1
movss dword [edi + 0x18], xmm4
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x1c], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push esi
push str.sres_clip__d_image_failed_n
jmp 0x4322f9
push esi
push str.create_tex_clip__d_failed
push dword [ebx + 0x14]
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x438460
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x502d74]
cmp eax, dword [ecx + 4]
jle 0x4384c6
push 0x502d74
call fcn.0047d453
add esp, 4
cmp dword [0x502d74], 0xffffffff
jne 0x4384c6
movaps xmm0, xmmword [0x4f44c0]
xor eax, eax
push 0x4c83f0
mov dword [0x502d54], eax
mov dword [0x502d60], eax
mov dword [0x502d58], eax
mov dword [0x502d5c], eax
movups xmmword [0x502d64], xmm0
call fcn.0047d765
push 0x502d74
call fcn.0047d409
add esp, 8
push ebx
push esi
push edi
mov ecx, 0x502d54
call fcn.0041bc60
call fcn.004288e0
mov ecx, eax
call fcn.004289f0
call fcn.0041c1a0
mov esi, eax
movzx ecx, word [esi]
push ecx
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
mov word [esi], ax
movzx eax, word [esi + 0xc]
push eax
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
mov word [esi + 0xc], ax
call fcn.004201e0
mov ebx, eax
call fcn.004204f0
mov esi, eax
mov ecx, esi
call fcn.00420570
mov ecx, esi
call fcn.00420670
xor eax, eax
lea ecx, [esi + 0x20]
push 0x34
push eax
push ecx
mov word [esi], ax
call fcn.0047ebc0
add esp, 0xc
mov dword [esi + 0xbc], 0
mov byte [esi + 0xc0], 0
call fcn.0042f320
mov ecx, eax
call fcn.00446e90
call fcn.004307e0
mov ecx, eax
call fcn.00446e90
lea esi, [ebx + 0xc]
mov edi, 3
movzx eax, word [esi]
push eax
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
lea esi, [esi + 2]
mov word [esi - 2], ax
sub edi, 1
jne 0x438573
call fcn.0042d200
mov esi, eax
mov ecx, esi
call fcn.00446e90
lea ecx, [esi + 0x3a0]
call fcn.00442530
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._t_clsFx12TetraCircle_Renderer_Clean__n
call edi
call fcn.004317e0
mov ecx, eax
call fcn.00446e90
call fcn.0042c7a0
mov esi, eax
mov ecx, esi
call fcn.00446e90
mov dword [esi + 0x370], 0
call fcn.00442700
mov esi, eax
movzx ecx, word [esi + 0x302]
push ecx
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
mov ecx, esi
mov word [esi + 0x302], ax
call fcn.00446e90
lea ecx, [esi + 0x2f4]
call fcn.00442530
mov byte [esi + 0x300], 0
call fcn.0042dc50
mov esi, eax
mov ecx, esi
call fcn.00446e90
lea ecx, [esi + 0x470]
call fcn.00442530
push str._t_clsFx12TetragonBoard_Renderer_Clean__n
call edi
pop edi
pop esi
mov word [ebx], 0
pop ebx
ret
Function at 0x43b1a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8020
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x4fc00c]
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
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x528], eax
lea eax, [ebp - 0x524]
push eax
push ebx
mov dword [ebp - 0x524], 0
call fcn.0043afe0
test eax, eax
je 0x43b358
cmp eax, 2
mov eax, dword [ebp - 0x524]
jne 0x43b210
mov byte [esi + 0x6c], 0
inc eax
jmp 0x43b358
movzx eax, ax
imul edi, eax, 0x6c
xor eax, eax
push 0x400
push eax
mov dword [ebp - 0x51e], eax
lea eax, [ebp - 0x51a]
push eax
add edi, dword [esi + 4]
mov byte [esi + 0x6c], 1
mov byte [ebp - 0x520], 0
mov dword [ebp - 0x118], 0
call fcn.0047ebc0
add esp, 0xc
push dword [ebp - 0x528]
lea eax, [ebp - 0x520]
mov dword [ebp - 4], 0
push ebx
push eax
mov ecx, esi
call fcn.0043b380
test al, al
jne 0x43b2a6
mov ecx, dword [ebp - 0x528]
mov eax, str.NULL
test ecx, ecx
cmovne eax, ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push str.FxTex12_ESIM_Failed__s:__s___n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x43b33d
push 0
push dword [esi + 0x68]
push ecx
push 1
push dword [ebp - 0x51c]
lea ecx, [edi + 0x48]
push dword [ebp - 0x51e]
push 0
push dword [0x4fe45c]
call fcn.0043b840
test al, al
jne 0x43b2dd
push str.Create_Texture2D_From_Image_CreateTexture_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x43b33d
lea eax, [ebp - 0x520]
push eax
push dword [0x4fe45c]
lea ecx, [edi + 0x48]
call fcn.0043bb30
test al, al
jne 0x43b314
mov eax, dword [ebp - 0x524]
mov ecx, esi
inc eax
push eax
call fcn.0043af50
push str.Create_Texture2D_From_Image_Load_Image_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x43b33d
push 0x40
lea esi, [edi + 1]
push 0
push esi
call fcn.0047ebc0
add esp, 0xc
push ebx
push 0x40
push esi
call fcn.00483128
mov eax, dword [ebp - 0x524]
add esp, 0xc
inc eax
mov byte [edi], 1
movzx esi, ax
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x43b355
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ax, si
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.0047d312
mov esp, ebp
pop ebp
ret 8
Function at 0x43c180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x18], eax
push esi
push edi
xor eax, eax
movzx edi, word [ebx + 8]
cmp ax, di
jae 0x43c380
movzx edx, word [ebx + 0xa]
cmp ax, dx
jae 0x43c380
mov cx, word [ebp + 0x14]
test cx, cx
je 0x43c380
mov si, word [ebp + 0x18]
test si, si
je 0x43c380
mov eax, dword [ebx + 0x14]
cmp eax, 0x1c
je 0x43c1f1
cmp eax, 0x1d
je 0x43c1f1
cmp eax, 0x57
je 0x43c1f1
cmp eax, 0x58
jne 0x43c380
cmp cx, di
movzx ecx, cx
jb 0x43c1fb
mov ecx, edi
mov dword [esp + 0x14], ecx
movzx eax, si
cmp si, dx
jb 0x43c209
mov eax, edx
movzx edx, ax
mov dword [esp + 0x18], eax
movzx eax, cx
mov esi, eax
mov dword [esp + 0x24], eax
imul esi, edx
push 4
push 0x3000
mov dword [esp + 0x30], edx
lea eax, [esi*4]
push eax
push 0
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp + 0x1c]
mov edi, eax
mov ecx, edx
mov dword [esp + 0x1c], edi
shr ecx, 8
movzx eax, cl
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov ecx, edx
shr ecx, 0x10
and edx, 0xff000000
shl eax, 8
mov dword [esp + 0x10], eax
movzx eax, cl
mov ecx, dword [esp + 0x10]
or ecx, eax
or ecx, edx
mov dword [esp + 0x10], ecx
test esi, esi
je 0x43c28d
mov eax, dword [esp + 0x10]
lea ecx, [esi*4]
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 1
push dword [ebx + 0x14]
push ecx
push 1
push esi
push dword [esp + 0x28]
lea ecx, [esp + 0x48]
push 0
push dword [esp + 0x3c]
call fcn.0043b840
test al, al
je 0x43c358
push dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
shl eax, 2
push eax
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 1
mov edx, dword [ecx]
push 0
push ecx
call dword [edx + 0x30]
push esi
push dword [esp + 0x18]
mov ecx, 0x4fe450
sub esp, 0x10
push dword [esp + 0x4c]
push dword [ebx + 4]
call fcn.00440ca0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x43c336
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x44], 0x1c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x49], al
mov dword [esp + 0x4c], eax
mov byte [esp + 0x51], al
test edi, edi
je 0x43c36a
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x6c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43c540
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x43c571
push str.clsEx2Object12Renderer::InitializeSetUp
push str._s___pRenderVB_null
push 0x502660
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x43c599
push str.clsEx2Object12Renderer::InitializeSetUp
push str._s____pRenderVB_uninitialized
push 0x502660
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
movzx eax, byte [eax + 0x20]
lea ebx, [edi + 4]
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.004466b0
test al, al
jne 0x43c5d1
push str.clsEx2Object12Renderer::InitializeSetUp
push str._s____stEx12RenderCore::InitSetUp__failed
push 0x502660
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esi + 0x34]
xor bl, bl
mov byte [ebp + 0xc], bl
cmp byte [edx + 0x20], bl
jbe 0x43c700
nop word [eax + eax]
test byte [edi + 0x21e], 1
je 0x43c63b
movzx eax, bl
imul ecx, eax, 0x58
mov eax, dword [edx + 0x24]
movzx eax, word [ecx + eax + 0x40]
lea ecx, [edi + 4]
push eax
push dword [ebp + 0xc]
push 0
call fcn.00446c20
test al, al
jne 0x43c63b
push 0x502a60
push str._t_t_ObjRenderer::Regist_Decal_failed__s__n
push 0x502660
call fcn.0044d1b0
add esp, 0xc
push 0x502660
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [edi + 0x21e], 2
je 0x43c699
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x88], 3
jne 0x43c699
mov ecx, dword [eax + 0x8c]
test ecx, ecx
je 0x43c663
movzx eax, bl
movzx eax, word [ecx + eax*2]
jmp 0x43c665
xor eax, eax
push eax
push dword [ebp + 0xc]
lea ecx, [edi + 4]
push 1
call fcn.00446c20
test al, al
jne 0x43c699
push str._t_t_ObjRenderer::Regist_Normal_failed_n
push 0x200
push 0x502660
call fcn.00483128
add esp, 0xc
push 0x502660
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [edi + 0x21e], 4
je 0x43c6ef
mov eax, dword [esi + 0x34]
cmp byte [eax + 0x90], 0
je 0x43c6ef
mov eax, dword [eax + 0x94]
movzx ecx, bl
movzx eax, word [eax + ecx*2]
lea ecx, [edi + 4]
push eax
push dword [ebp + 0xc]
push 2
call fcn.00446c20
test al, al
jne 0x43c6ef
push str._t_t_ObjRenderer::Regist_Specular_n
push 0x200
push 0x502660
call fcn.00483128
add esp, 0xc
push 0x502660
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esi + 0x34]
inc bl
mov byte [ebp + 0xc], bl
cmp bl, byte [edx + 0x20]
jb 0x43c5f0
mov eax, dword [ebp + 8]
mov dword [edi + 0x220], eax
mov al, 1
mov dword [edi], esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x43f780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
push eax
mov edi, ecx
push esi
push 0x4dc30c
mov dword [ebp - 8], edi
call fcn.004523e0
mov ecx, eax
call fcn.004526f0
mov ebx, eax
test ebx, ebx
jne 0x43f7c8
lea edx, [ebp - 4]
mov ecx, esi
call fcn.0044eb80
mov ebx, eax
test ebx, ebx
jne 0x43f7c8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 4]
mov edx, 4
xor ecx, ecx
cmp esi, edx
jbe 0x43f7f8
nop word [eax + eax]
mov al, byte [ecx + 0x4dd238]
xor byte [edx + ebx], al
lea eax, [ecx + 1]
inc edx
cmp eax, 0x40
sbb ecx, ecx
and ecx, eax
cmp edx, esi
jb 0x43f7e0
cmp dword [ebx], 0x5655424f
je 0x43f809
mov byte [ebp + 0xf], 0
jmp 0x43f8fa
cmp dword [ebx + 4], 0
jne 0x43f800
mov cl, byte [ebx + 8]
mov byte [edi], cl
mov al, byte [ebx + 9]
mov byte [edi + 1], al
mov dl, byte [ebx + 0xa]
movzx eax, al
push 4
push 0x3000
test cl, cl
jne 0x43f857
shl eax, 3
push eax
push 0
mov byte [edi + 2], dl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
movzx ecx, byte [edi + 1]
shl ecx, 3
push ecx
lea ecx, [ebx + 0xb]
mov dword [edi + 4], eax
push ecx
push eax
call fcn.004803e0
add esp, 0xc
jmp 0x43f8f6
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push eax
push 0
mov byte [edi + 8], dl
call esi
mov dword [edi + 0xc], eax
movzx eax, byte [edi + 1]
push 4
push 0x3000
shl eax, 2
push eax
push 0
call esi
movzx esi, byte [edi + 8]
mov dword [edi + 0x10], eax
lea eax, [ebx + 0xb]
push esi
push eax
push dword [edi + 0xc]
call fcn.004803e0
xor cl, cl
lea eax, [esi + 0xb]
add esp, 0xc
mov dword [ebp - 4], eax
mov byte [ebp + 0xf], cl
cmp byte [edi + 1], cl
jbe 0x43f8f6
mov eax, edi
movzx eax, byte [eax + 8]
push 4
push 0x3000
shl eax, 3
push eax
push 0
movzx edi, cl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
mov dword [ecx + edi*4], eax
movzx esi, byte [edx + 8]
mov eax, dword [ebp - 4]
shl esi, 3
add eax, ebx
push esi
push eax
mov eax, dword [edx + 0x10]
push dword [eax + edi*4]
call fcn.004803e0
mov cl, byte [ebp + 0xf]
add esp, 0xc
mov eax, dword [ebp - 8]
inc cl
add dword [ebp - 4], esi
mov byte [ebp + 0xf], cl
cmp cl, byte [eax + 1]
jb 0x43f8a4
mov byte [ebp + 0xf], 1
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8