Function at 0x44d190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x483230]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x180], ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x14a
je 0x44d1b9
xor al, al
jmp 0x44d489
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44d1fa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 6]
push edx
mov eax, dword [ebp - 4]
add eax, 0x4a
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
mov ecx, dword [ebp - 0x180]
add ecx, 0x7cd0
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x7cd0]
call dword [eax + 0x44]
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x13
jne 0x44d235
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 6]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x4a
push edx
mov eax, dword [ebp - 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 0x180]
add ecx, 0x7cd0
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x7cd0]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x180]
mov edx, dword [ecx + 0xb8]
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax + 0xb8]
mov edx, dword [edx]
call dword [edx + 0x24]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 2], eax
jne 0x44d2b2
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0xb8]
mov ecx, dword [ebp - 0x180]
mov ecx, dword [ecx + 0xb8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x12
jne 0x44d295
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
sub ax, 1
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x13
jne 0x44d2b2
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 2]
sub dx, 1
mov eax, dword [ebp - 0xc]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0x180]
call fcn.00449f90
movzx ecx, al
test ecx, ecx
je 0x44d33d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 2]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 4]
mov dx, word [ecx]
mov word [ebp - 0x160], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 6]
mov dword [ebp - 0x158], ecx
push 0x40
mov edx, dword [ebp - 4]
add edx, 0xa
push edx
lea eax, [ebp - 0x154]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push pe_nt_image_headers32
mov ecx, dword [ebp - 4]
add ecx, 0x4a
push ecx
lea edx, [ebp - 0x114]
push edx
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push 0x14c
lea eax, [ebp - 0x160]
push eax
push 0x68
push 5
mov ecx, dword [ebp - 0x180]
add ecx, 0x1cec
call fcn.0043c6f0
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x1a]
test edx, edx
je 0x44d487
call fcn.00408ea0
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x161], 0
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x44d3c4
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x12
jne 0x44d393
mov dword [ebp - 0x184], 0x4742b0
jmp 0x44d39d
mov dword [ebp - 0x184], 0x4742bc
push 0
push 0x4742a4
mov edx, dword [ebp - 0x184]
push edx
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
mov byte [ebp - 0x161], al
movzx ecx, byte [ebp - 0x161]
test ecx, ecx
jne 0x44d487
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44d3ea
mov dword [ebp - 0x188], str.BUGLE
jmp 0x44d3f4
mov dword [ebp - 0x188], str.BUGLE_EX
push 0x4742d0
mov ecx, dword [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x44d487
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x44d47a
mov edx, dword [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x17c], eax
push 7
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x174]
push edx
call fcn.00430470
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0x10]
call fcn.00460cbd
mov esp, ebp
pop ebp
ret 8