Function at 0x44dd60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x485230]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x180], ecx
movzx eax, word [ebp + 0xc]
cmp eax, 0x14a
je 0x44dd89
xor al, al
jmp 0x44e059
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44ddca
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, 0x8108
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x8108]
call dword [eax + 0x44]
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x13
jne 0x44de05
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, 0x8108
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 0x8108]
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 + 0x28]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 2], eax
jne 0x44de82
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 0x44de65
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 0x44de82
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.0044a850
movzx ecx, al
test ecx, ecx
je 0x44df0d
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.0043c5d0
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 0x44e057
call fcn.00408d70
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 0x44df94
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x12
jne 0x44df63
mov dword [ebp - 0x184], 0x476300
jmp 0x44df6d
mov dword [ebp - 0x184], 0x47630c
push 0
push 0x4762f4
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 0x44e057
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x12
jne 0x44dfba
mov dword [ebp - 0x188], str.BUGLE
jmp 0x44dfc4
mov dword [ebp - 0x188], str.BUGLE_EX
push 0x476320
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 0x44e057
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 0x44e04a
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.00430380
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0x10]
call fcn.00462b3d
mov esp, ebp
pop ebp
ret 8