Function at 0x403bc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43400c]
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 edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [edi], vtable.sfc_window.0
mov dword [ebp - 0x30], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004102ca
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov word [edi + 0xc], 0
mov byte [edi + 0xe], 0
mov byte [edi + 0x44], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x48]
mov dword [edi], vtable.giffer.0
call fcn.00402b80
xor eax, eax
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov dword [edi + 0x120], eax
mov dword [edi + method.sfc_menu.virtual_0], vtable.sfc_menu.0
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], eax
mov dword [edi + method.sfc_window_dc.virtual_0], vtable.sfc_window_dc.0
mov dword [edi + 0x130], eax
push fcn.0040b419
push 0x40b3d7
push 2
push 0x20
lea eax, [edi + 0x134]
mov byte [ebp - 4], 5
push eax
call fcn.00410429
push fcn.004011c0
push 0x408f20
push 2
push 0x18
lea eax, [edi + 0x174]
mov byte [ebp - 4], 6
push eax
call fcn.00410429
xor eax, eax
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 7
mov word [edi + 0x1c0], ax
lea ebx, [edi + 0x208]
mov dword [ebp - 0x30], ebx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], al
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 7
mov word [ebx + 0x1c], ax
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea esi, [eax + 0x1c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0x42ec98
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004094c0
push 0
push 0x42ec98
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x64], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004094c0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00409190
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x403de4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403dda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ec7
push edx
push ecx
call fcn.004103f8
add esp, 8
mov dword [ebx + 0x80], 0
xorps xmm0, xmm0
mov dword [ebx], 0xffffffff
mov eax, edi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0
mov byte [ebx + 0x40], 1
mov dword [ebx + 0x44], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x10c], 0
mov word [edi + 0x118], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1e0], 0
movsd qword [edi + 0x1e8], xmm0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov word [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
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.004102b9
mov esp, ebp
pop ebp
ret
call fcn.00413f74
int3