Function at 0x44cf50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x483230]
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x238], ecx
movzx eax, word [ebp + 0xc]
cmp eax, 4
je 0x44cf78
xor al, al
jmp 0x44d169
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x238]
add ecx, 0x2768
call fcn.00452a10
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x23c]
call dword [edx + 0x2c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44cfbc
mov al, 1
jmp 0x44d169
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0x94]
mov byte [ebp - 1], al
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0xc]
cmp ecx, 2
jne 0x44cff2
movzx edx, byte [ebp - 1]
cmp edx, 1
je 0x44cff2
mov al, 1
jmp 0x44d169
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0xc]
cmp ecx, 3
jne 0x44d005
mov al, 1
jmp 0x44d169
mov dx, word [0x474244]
mov word [ebp - 0x218], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0x30]
push eax
push 0x474248
push pe_nt_image_headers32
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 0x7cd0
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x7cd0]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x1a]
test edx, edx
je 0x44d167
call fcn.00408ea0
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x219], 0
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x44d0c7
push 0
push 0x474264
push 0x474270
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
mov byte [ebp - 0x219], al
movzx ecx, byte [ebp - 0x219]
test ecx, ecx
jne 0x44d167
push 0x474284
push 0x474290
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x44d167
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x44d15a
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x234], eax
push 7
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00430470
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0x14]
call fcn.00460cbd
pop edi
mov esp, ebp
pop ebp
ret 8