Function at 0x41dac0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x612881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x4b544
call fcn.005b6680
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041cb90
mov edx, eax
cmp edx, 0xffffffff
jne 0x41db5f
mov eax, dword [0x65329c]
lea ecx, [esp + 0x18]
push eax
push 0
push 0x646b7c
call fcn.004e9b90
mov dword [esp + 0x4b55c], 0
call fcn.004f0590
test eax, eax
je 0x41db58
mov edx, dword [eax]
push 0
push str.Please_select_a_channel_
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x41db38
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004e9b90
mov byte [esp + 0x4b55c], 1
jmp 0x41dbe4
mov eax, str.Please_select_a_channel_
jmp 0x41db38
mov eax, dword [esi + 0x154]
mov ecx, dword [eax + 0x2ec]
mov eax, edx
shl eax, 5
mov ecx, dword [ecx + 0x1c4]
sub eax, edx
mov bl, byte [ecx + eax*4 + 0x1d4]
test bl, bl
jne 0x41dc33
mov edx, dword [0x65329c]
lea ecx, [esp + 0x18]
push edx
push 0
push 0x646b7c
call fcn.004e9b90
mov dword [esp + 0x4b55c], 2
call fcn.004f0590
test eax, eax
je 0x41dc2c
mov edx, dword [eax]
push 0
push str.Selected_channel_has_been_disabled_
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x41dbc9
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004e9b90
mov byte [esp + 0x4b55c], 3
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x24]
push 5
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0046bc60
mov ecx, dword [esp + 0x2c]
mov esi, dword [sym.imp.MSVCRT.dll_free]
add esp, 0x18
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x41dc20
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x41dc20
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
jmp 0x41e5d3
mov eax, str.Selected_channel_has_been_disabled_
jmp 0x41dbc9
mov ecx, 0x12cc2
xor eax, eax
lea edi, [esp + 0x241]
mov byte [esp + 0x240], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x240]
push eax
push edx
call dword [sym.imp.DvrCore.dll__AmxGetRGBData_8]
or ecx, 0xffffffff
or eax, 0xffffffff
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1ac]
push ecx
mov dword [esp + 0x24], eax
call fcn.005046f0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.005052a0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x90]
lea edx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.DvrCore.dll__AmxGetVideoSize_8]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x64]
lea eax, [edi + edi]
lea ecx, [ebx + ebx]
mov dword [esp + 0x60], eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], eax
jle 0x41df13
mov dword [esp + 0x18], eax
lea eax, [ecx + ecx*2]
add eax, eax
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ecx
xor edx, edx
test ebx, ebx
mov dword [esp + 0x68], edx
jle 0x41deee
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
imul ecx, ebx
add ecx, edx
xor ebx, ebx
xor edx, edx
lea ecx, [ecx + ecx*2]
mov bl, byte [esp + ecx + 0x241]
mov dl, byte [esp + ecx + 0x240]
mov dword [esp + 0x44], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x242]
mov dword [esp + 0x4c], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x243]
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x244]
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x245]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ebx
imul ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
add ecx, ebx
xor ebx, ebx
lea ecx, [ecx + ecx*2]
mov bl, byte [esp + ecx + 0x240]
mov dword [esp + 0x94], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x241]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x242]
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x243]
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x244]
mov dword [esp + 0x38], ebx
xor ebx, ebx
mov bl, byte [esp + ecx + 0x245]
mov ecx, dword [esi + 0x150]
mov dword [esp + 0x40], ebx
mov bl, byte [esp + 0x44]
mov byte [eax + ecx], dl
mov ecx, dword [esi + 0x150]
mov byte [eax + ecx + 1], bl
mov ecx, dword [esi + 0x150]
mov bl, byte [esp + 0x4c]
mov byte [eax + ecx + 2], bl
mov ecx, dword [esp + 0x54]
mov ebx, dword [esi + 0x150]
add ecx, edx
sar ecx, 1
mov byte [eax + ebx + 3], cl
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
add ecx, ebx
mov ebx, dword [esi + 0x150]
sar ecx, 1
mov byte [eax + ebx + 4], cl
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
add ecx, ebx
mov ebx, dword [esi + 0x150]
sar ecx, 1
mov byte [eax + ebx + 5], cl
mov ecx, dword [esp + 0x94]
mov ebx, dword [esi + 0x150]
add ecx, edx
sar ecx, 1
mov byte [edi + ebx], cl
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
add ecx, ebx
mov ebx, dword [esi + 0x150]
sar ecx, 1
mov byte [edi + ebx + 1], cl
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
add ecx, ebx
mov ebx, dword [esi + 0x150]
sar ecx, 1
mov byte [edi + ebx + 2], cl
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x94]
add eax, 6
add ecx, ebx
mov ebx, dword [esp + 0x54]
add ecx, ebx
mov ebx, dword [esp + 0x2c]
add ecx, edx
mov edx, dword [esi + 0x150]
sar ecx, 2
mov byte [edi + edx + 3], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
add edi, 6
add ecx, edx
mov edx, dword [esp + 0x44]
add ecx, ebx
mov ebx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esi + 0x150]
sar ecx, 2
mov byte [edi + edx - 2], cl
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esi + 0x150]
add ecx, ebx
sar ecx, 2
mov byte [edi + edx - 1], cl
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
inc edx
cmp edx, ebx
mov dword [esp + 0x68], edx
jl 0x41dd03
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add edx, eax
inc ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
add edx, eax
cmp ecx, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
jl 0x41dced
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x50], eax
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x4b560], 4
call fcn.005049b0
push 0
lea ecx, [esp + 0x44]
call fcn.005049b0
push 0
lea ecx, [esp + 0x3c]
call fcn.005049b0
push 0
lea ecx, [esp + 0x38]
call fcn.005049b0
push 0
lea ecx, [esp + 0x14]
call fcn.005049b0
push 0
lea ecx, [esp + 0x34]
call fcn.005049b0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00505890
mov bx, word [eax + 2]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x1ec]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00505890
mov di, word [eax + 4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x1d0]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00505890
mov cx, word [eax + 6]
lea edx, [esp + 0x34]
lea eax, [esp + 0x208]
mov word [esp + 0x2c], cx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00505890
mov cx, word [eax + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x224]
mov word [esp + 0x28], cx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00505890
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x30]
lea eax, [esp + 0x1ac]
mov dword [esp + 0x54], ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00505890
mov ecx, dword [esp + 0x2c]
and ebx, 0xffff
and edi, 0xffff
push ebx
and ecx, 0xffff
push edi
push ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
and ecx, 0xffff
push ecx
mov ecx, dword [esp + 0x64]
inc ecx
push ecx
push eax
lea edx, [esp + 0x68]
push str._04d__02d__02d__02d:_02d:_02d
push edx
call fcn.004ec2c0
mov eax, dword [esi + 0x150]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
add esp, 0x20
push 1
push eax
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.00477040
xor edi, edi
mov dword [esp + 0x70], edi
lea eax, [esp + 0x98]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x4b564], 6
mov dword [esp + 0x74], vtable.wxBitmap.0
call fcn.00466ec0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4b55c], 7
call fcn.00408fc0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x4b55c], 8
call fcn.00408fb0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4b55c], 9
mov dword [esp + 0xa0], vtable.wxDC.0
call fcn.00409670
push edi
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4b560], 0xb
mov dword [esp + 0xa4], vtable.wxMemoryDC.1.0
mov dword [esp + method.wxMemoryDC.virtual_0], vtable.wxMemoryDC.0
call fcn.00473990
lea ecx, [esp + 0xa0]
call fcn.00473950
mov eax, dword [esp + 0x70]
mov byte [esp + 0x4b55c], 0xc
cmp eax, edi
je 0x41e132
cmp dword [eax + 0x14], edi
je 0x41e132
lea ecx, [esp + 0x6c]
call fcn.004e8d80
mov edx, dword [esp + 0x1a0]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1a4]
call dword [edx + 8]
lea ecx, [esp + 0x74]
call fcn.004091e0
push 0xff
push 0xff
push 0xff
push 0xff
lea ecx, [esp + 0x84]
mov byte [esp + 0x4b56c], 0xd
mov dword [esp + 0x84], vtable.wxColour.0
call dword [0x63ae80]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x13c]
push eax
mov byte [esp + 0x4b560], 0xe
call fcn.005c5080
mov ecx, dword [esp + 0x7c]
mov dl, byte [esp + 0x80]
mov al, byte [esp + 0x81]
mov dword [esp + 0x144], ecx
mov cl, byte [esp + 0x82]
mov byte [esp + 0x148], dl
mov dl, byte [esp + 0x83]
mov byte [esp + 0x149], al
mov al, byte [esp + 0x84]
mov byte [esp + 0x14a], cl
lea ecx, [esp + 0x74]
mov byte [esp + 0x14b], dl
mov byte [esp + 0x14c], al
mov byte [esp + 0x4b55c], 0xc
call fcn.0047d2b0
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x1c]
xor edi, edi
lea ebx, [ecx + 4]
lea edx, [edi + 9]
push ebx
push edx
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x58]
lea ecx, [esp + 0xa8]
push eax
call dword [edx + pe_nt_image_headers32]
inc edi
cmp edi, 2
jle 0x41e20d
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jle 0x41e204
lea ecx, [esp + 0x74]
call fcn.004091e0
push 0xff
push 0
push 0
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x4b56c], 0xf
mov dword [esp + 0x84], vtable.wxColour.0
call dword [0x63ae80]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x13c]
push eax
mov byte [esp + 0x4b560], 0x10
call fcn.005c5080
mov ecx, dword [esp + 0x7c]
mov dl, byte [esp + 0x80]
mov al, byte [esp + 0x81]
mov dword [esp + 0x144], ecx
mov cl, byte [esp + 0x82]
mov byte [esp + 0x148], dl
mov dl, byte [esp + 0x83]
mov byte [esp + 0x149], al
mov al, byte [esp + 0x84]
mov byte [esp + 0x14a], cl
lea ecx, [esp + 0x74]
mov byte [esp + 0x14b], dl
mov byte [esp + 0x14c], al
mov byte [esp + 0x4b55c], 0xc
call fcn.0047d2b0
mov edx, dword [esp + 0xa0]
push 5
lea ecx, [esp + 0x54]
push 0xa
push ecx
lea ecx, [esp + 0xac]
call dword [edx + pe_nt_image_headers32]
mov eax, dword [esi + 0x154]
mov ecx, dword [eax + 0x2ec]
mov edx, dword [ecx + 0x1d8]
mov eax, dword [edx + 0x1fc]
push eax
call fcn.004fa850
add esp, 4
test al, al
jne 0x41e356
mov eax, dword [esi + 0x154]
push 0x1ff
mov ecx, dword [eax + 0x2ec]
mov edx, dword [ecx + 0x1d8]
add edx, 0x1fc
push edx
call fcn.004fa7f0
add esp, 8
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x48], eax
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4b560], 0x11
call fcn.005049b0
push 0
lea ecx, [esp + 0x64]
call fcn.005049b0
push 0
lea ecx, [esp + 0x40]
call fcn.005049b0
push 0
lea ecx, [esp + 0x44]
call fcn.005049b0
push 0
lea ecx, [esp + 0x3c]
call fcn.005049b0
push 0
lea ecx, [esp + 0x38]
call fcn.005049b0
call fcn.004f0590
test eax, eax
je 0x41e3c6
mov edx, dword [eax]
push 0
push str.Camera
mov ecx, eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
jmp 0x41e3ce
mov dword [esp + 0x10], str.Camera
lea eax, [esp + 0x58]
lea ecx, [esp + 0x1ac]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00505890
mov di, word [eax + 2]
lea edx, [esp + 0x60]
lea eax, [esp + 0x224]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00505890
mov bx, word [eax + 4]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x208]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00505890
mov ax, word [eax + 6]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x1d0]
push ecx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x38], ax
call fcn.00505890
mov ax, word [eax + 8]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x1ec]
push ecx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x34], ax
call fcn.00505890
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
call fcn.00505890
mov edx, dword [eax + 0x10]
mov ecx, esi
call fcn.0041cb90
inc eax
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
and edi, 0xffff
and ebx, 0xffff
push edi
and eax, 0xffff
push ebx
push eax
mov eax, dword [esp + 0x40]
and eax, 0xffff
inc ecx
push eax
push ecx
push edx
mov edx, dword [esi + 0x154]
mov eax, dword [edx + 0x2ec]
mov ecx, dword [eax + 0x1d8]
lea eax, [esp + 0x68]
mov edx, dword [ecx + 0x1fc]
push edx
push str._s_04d__02d__02d__02d__02d__02d__s_d.bmp
push eax
call fcn.004ec2c0
add esp, 0x2c
lea ecx, [esp + 0x48]
push 0
push 1
push ecx
lea ecx, [esp + 0x78]
call fcn.004676f0
call fcn.004f0590
test eax, eax
je 0x41e5fc
mov edx, dword [eax]
push 0
push str.Save_to
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x41e50b
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
push ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.004e9b90
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x1c]
push 4
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x4b574], 0x12
call fcn.0046bc60
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.MSVCRT.dll_free]
add esp, 0x18
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x41e561
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x41e561
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x48]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x41e57d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x41e57d
push eax
call esi
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4b55c], 7
mov dword [esp + method.wxMemoryDCBase.virtual_0], vtable.wxMemoryDCBase.0
call fcn.0046f770
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4b55c], 5
call fcn.0047d2b0
lea ecx, [esp + 0x98]
mov byte [esp + 0x4b55c], 4
mov dword [esp + 0x98], vtable.wxObject.0
call fcn.004e8d50
mov eax, dword [esp + 0x50]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41e5e7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x41e5e7
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x4b554]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Save_to
jmp 0x41e50b