Function at 0x7b326060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x7b342800]
test eax, eax
je 0x7b3261f0
test byte [0x7b33c120], 8
jne 0x7b3261a3
mov eax, 0x7b342828
xor ebx, ebx
jmp 0x7b32609f
add ebx, 1
add eax, 0x14
cmp ebx, 0x14
je 0x7b326191
mov edi, dword [eax]
test edi, edi
jne 0x7b326090
lea edi, [ebx + ebx*4]
mov dword [esp], esi
shl edi, 2
lea ecx, [edi + 0x7b342820]
mov dword [edi + 0x7b342820], edx
mov dword [ebp - 0x14], ecx
call sym._LockResource_4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
sub esp, 4
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
test byte [0x7b33c120], 8
jne 0x7b326210
lea eax, [ebx + ebx*4]
xor esi, esi
mov edi, dword [eax*4 + 0x7b342828]
lea esi, [esi]
mov dword [esp], edi
call sym._lstrlenW_4
lea edi, [edi + eax*2 + 2]
sub esp, 4
movzx eax, word [edi + 4]
add edi, 6
test ax, ax
jne 0x7b326110
add esi, 1
jmp 0x7b3260f0
cmp ax, 6
jne 0x7b3260f0
call sym._GetProcessHeap_0
movzx edi, si
mov dword [esp + 4], 0
lea esi, [ebx + ebx*4]
lea edx, [edi*4]
mov dword [esp], eax
xor ebx, ebx
mov dword [esp + 8], edx
call sym._HeapAlloc_12
lea edx, [esi*4 + 0x7b342820]
mov dword [edx + 0x10], eax
sub esp, 0xc
mov dword [edx + 0xc], edi
mov edi, dword [edx + 8]
mov dword [esp], edi
call sym._lstrlenW_4
lea eax, [edi + eax*2 + 2]
sub esp, 4
movzx edx, word [eax + 4]
add eax, 6
test dx, dx
jne 0x7b326180
mov edx, dword [esi*4 + 0x7b342830]
movzx ecx, bx
add ebx, 1
mov dword [edx + ecx*4], edi
mov edi, eax
jmp 0x7b326151
cmp dx, 6
jne 0x7b32617c
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x14], 0xffff
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x7b33e01a
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], str.MCI_SetCommandTable
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
mov dword [ebp - 0x14], edx
call sym._ros_dbg_log
mov edx, dword [ebp - 0x14]
jmp 0x7b326085
xor eax, eax
mov dword [ebp - 0x14], edx
mov dword [0x7b342800], 1
call sym._MCI_GetCommandTable
mov edx, dword [ebp - 0x14]
jmp 0x7b326078
mov dword [esp], 0x7b33c120
mov dword [ebp - 0x18], ecx
call sym.___wine_dbg_get_channel_flags
mov ecx, dword [ebp - 0x18]
test al, 8
je 0x7b3260de
mov esi, dword [ecx + 8]
test byte [0x7b33c120], 8
jne 0x7b3263ba
test esi, esi
je 0x7b3262e7
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x18], ebx
nop
mov dword [esp], esi
add edi, 1
call sym._lstrlenW_4
lea eax, [esi + eax*2 + 2]
sub esp, 4
movzx edx, word [eax + 4]
mov ebx, dword [eax]
add eax, 6
cmp dx, 0xc
ja case.default.0x7b326274
movzx ecx, dx
jmp dword [ecx*4 + 0x7b33e068]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne case.default.0x7b326274
mov dword [ebp - 0x1c], 1
mov esi, eax
jmp 0x7b326250
cmp word [esi], 0
je case.default.0x7b326274
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jne case.default.0x7b326274
mov dword [ebp - 0x1c], 0
mov esi, eax
jmp 0x7b326250
cmp word [esi], 0
mov eax, ebx
mov ebx, dword [ebp - 0x18]
jne 0x7b3262e7
test eax, eax
jne 0x7b3262e7
lea eax, [ebx + ebx*4]
mov esi, dword [eax*4 + 0x7b342828]
nop
mov dword [esp], esi
call sym._lstrlenW_4
lea eax, [esi + eax*2 + 2]
sub esp, 4
cmp word [eax + 4], 6
lea esi, [eax + 6]
jne 0x7b3262c0
jmp 0x7b3260de
cmp word [esi], 0
jne 0x7b326289
mov ebx, dword [ebp - 0x18]
test byte [0x7b33c120], 2
je 0x7b3260de
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], str.Ooops:__d_is_not_valid_n
mov dword [esp + 0x10], 0x26e
mov dword [esp + 0xc], str.MCI_DumpCommandTable
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x7b3260de
cmp word [esi], 0
jne case.default.0x7b326274
cmp edi, 1
jne case.default.0x7b326274
mov esi, eax
jmp 0x7b326250
cmp word [esi], 0
jne case.default.0x7b326274
test ebx, ebx
jne case.default.0x7b326274
xor edi, edi
mov esi, eax
jmp 0x7b326250
cmp word [esi], 0
je case.default.0x7b326274
cmp dx, 6
jne 0x7b326289
mov ebx, dword [ebp - 0x18]
jmp 0x7b3262b4
cmp word [esi], 0
jne case.default.0x7b326274
test ebx, ebx
jne case.default.0x7b326274
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x7b32629a
jmp case.default.0x7b326274
mov esi, dword [ebp - 0x1c]
test esi, esi
jne case.default.0x7b326274
mov esi, eax
jmp 0x7b326250
cmp word [esi], 0
je case.default.0x7b326274
test ebx, ebx
je case.default.0x7b326274
xor edi, edi
jmp 0x7b32634f
mov eax, dword [edi + 0x7b342820]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], str.Dumping_cmdTbl_d__lpTable_p_devType_d__n
mov dword [esp + 0x10], 0x241
mov dword [esp + 0xc], str.MCI_IsCommandTableValid
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 8]
jmp 0x7b32623a