Function at 0x482010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov ecx, dword [0x621c80]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
push edi
push eax
push 0xbc94
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
call sym.vidcap60.exe__SfGetString_8
push eax
lea edx, [esp + 0x178]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esi + 0x50]
add esp, 0xc
cmp eax, ebx
jne 0x48205b
mov eax, 7
test al, 1
je 0x48206f
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
test ah, 2
je 0x482081
mov dword [esp + ebx*4 + 0x14], 9
inc ebx
mov dword [esp + 0x10], ebx
test al, 2
je 0x482092
mov dword [esp + ebx*4 + 0x14], 1
inc ebx
mov dword [esp + 0x10], ebx
test al, 4
je 0x4820a3
mov dword [esp + ebx*4 + 0x14], 2
inc ebx
mov dword [esp + 0x10], ebx
test al, 8
je 0x4820b4
mov dword [esp + ebx*4 + 0x14], 3
inc ebx
mov dword [esp + 0x10], ebx
test al, 0x10
je 0x4820c5
mov dword [esp + ebx*4 + 0x14], 4
inc ebx
mov dword [esp + 0x10], ebx
test al, 0x20
je 0x4820d6
mov dword [esp + ebx*4 + 0x14], 5
inc ebx
mov dword [esp + 0x10], ebx
test al, 0x40
je 0x4820e7
mov dword [esp + ebx*4 + 0x14], 6
inc ebx
mov dword [esp + 0x10], ebx
test al, al
jns 0x4820f8
mov dword [esp + ebx*4 + 0x14], 7
inc ebx
mov dword [esp + 0x10], ebx
test ah, 4
je 0x48210a
mov dword [esp + ebx*4 + 0x14], 0xa
inc ebx
mov dword [esp + 0x10], ebx
test ah, 8
je 0x48211c
mov dword [esp + ebx*4 + 0x14], 0xb
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
and edx, 0x100
je 0x482133
mov dword [esp + ebx*4 + 0x14], 8
inc ebx
mov dword [esp + 0x10], ebx
test ah, 0x10
je 0x482145
mov dword [esp + ebx*4 + 0x14], 0xc
inc ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov ecx, 0x2f
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x64
mov eax, dword [ebp + 8]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xec], 1
jb 0x482174
mov ecx, 0x64
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
je 0x48219f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x60]
test eax, eax
jne 0x48219f
mov dword [esp + 0xd8], 3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
dec eax
je 0x482213
dec eax
je 0x4821fb
dec eax
je 0x4821d8
xor eax, eax
xor ecx, ecx
test ebx, ebx
jle 0x482226
mov edx, dword [0x617ee8]
jmp 0x4821c0
mov esi, dword [esp + eax*4 + 0x14]
cmp edx, dword [esi*8 + 0x6102c8]
je 0x4821d4
inc eax
cmp eax, ebx
jl 0x4821c0
jmp 0x482226
mov ecx, eax
jmp 0x482226
push 3
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.0047fc00
test eax, eax
jne 0x4821f4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 2
jmp 0x482226
push 2
push ebx
lea ecx, [esp + 0x1c]
push ecx
call fcn.0047fc00
test eax, eax
je 0x4821e9
mov ecx, 1
jmp 0x482226
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
call fcn.0047fc00
test eax, eax
je 0x4821e9
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, dword [0x621c78]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x170]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0x13c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x100], 0x34
mov dword [esp + 0x104], 0x80
mov dword [esp + 0x10c], edx
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], ecx
jle 0x482322
nop
mov esi, dword [esp + ebx*4 + 0x14]
mov eax, dword [0x621c80]
push 0
shl esi, 3
movzx edx, word [esi + 0x6102c8]
push 5
push edx
push eax
call sym.vidcap60.exe__SfLoadResourceCustom_16
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
xor eax, eax
mov ecx, 0xc
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [0x621c78]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x6102cc]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x78]
push ecx
mov dword [esp + 0x4c], 0x30
mov dword [esp + 0x50], 1
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call dword [sym.imp.COMCTL32.dll_CreatePropertySheetPageW]
test eax, eax
mov dword [esp + ebx*4 + 0x13c], eax
je 0x482315
inc dword [esp + 0x118]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x482290
lea edx, [esp + 0x100]
push edx
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
mov eax, dword [esp + 0xf0]
pop edi
pop esi
mov dword [0x617ee8], eax
mov eax, dword [esp + 0xdc]
pop ebx
mov esp, ebp
pop ebp
ret 0xc