Function at 0x44b0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x47f1f0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x180], ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x14a
je 0x44b0e9
xor al, al
jmp 0x44b3b9
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44b12a
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, 0x7618
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x7618]
call dword [eax + 0x44]
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x13
jne 0x44b165
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, 0x7618
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x7618]
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 0x44b1e2
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 0x44b1c5
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 0x44b1e2
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.004480c0
movzx ecx, al
test ecx, ecx
je 0x44b26d
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 0x100
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.0043ab90
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 0x44b3b7
call fcn.00408560
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 0x44b2f4
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x12
jne 0x44b2c3
mov dword [ebp - 0x184], 0x470c48
jmp 0x44b2cd
mov dword [ebp - 0x184], 0x470c54
push 0
push 0x470c3c
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 0x44b3b7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44b31a
mov dword [ebp - 0x188], str.BUGLE
jmp 0x44b324
mov dword [ebp - 0x188], str.BUGLE_EX
push 0x470c68
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 0x44b3b7
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 0x44b3aa
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.0042f4c0
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0x10]
call fcn.0045d95d
mov esp, ebp
pop ebp
ret 8