Function at 0x403418
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x182
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
cmp eax, 0xffffffff
setne al
test al, al
jne 0x403421
mov dword [esp], 0x416700
call method.cMensorInstrument.IsConnected__
test al, al
je 0x403550
mov dword [esp], 0x416700
call method.cMensorInstrument.GetTimeElecModelType__
test al, al
je 0x403498
mov dword [esp + 8], 0x416040
mov dword [esp + 4], str._spackagescpc3000.pkg
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._wsprintfA
jmp 0x40356e
mov dword [esp], 0x416700
call method.cMensorInstrument.GetBeamexModelType__
test al, al
je 0x4034cb
mov dword [esp + 8], 0x416040
mov dword [esp + 4], str._spackagesBEAMEX.pkg
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._wsprintfA
jmp 0x40356e
mov dword [esp], 0x416700
call method.cMensorInstrument.GetModel__
mov dword [esp + 4], str.CPA2501_
mov dword [esp], eax
call sym._strstr
test eax, eax
setne al
test al, al
je 0x403520
mov dword [esp], 0x416700
call method.cMensorInstrument.GetModel__
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x416040
mov dword [esp + 4], str._spackagescpg2500ii.pkg
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._wsprintfA
jmp 0x40356e
mov dword [esp], 0x416700
call method.cMensorInstrument.GetModel__
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x416040
mov dword [esp + 4], str._spackages_s.pkg
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._wsprintfA
jmp 0x40356e
mov dword [esp + 8], 0x416040
mov dword [esp + 4], str._spackages.pkg
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._wsprintfA
lea eax, [ebp - 0x274]
mov dword [esp + 4], eax
lea eax, [ebp - 0x132]
mov dword [esp], eax
call sym._FindFirstFileA_8
sub esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 0x18], 0xffffffff
je 0x403612
mov dword [ebp - 0x14], 1
jmp 0x4035f9
lea eax, [ebp - 0x274]
add eax, 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x180
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
mov dword [ebp - 0x10], 1
inc dword [ebp - 0xc]
lea eax, [ebp - 0x274]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._FindNextFileA_8
sub esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
setne al
test al, al
jne 0x4035a9
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
cmp dword [ebp - 0x10], 0
je 0x403641
mov dword [esp], 0x416700
call method.cMensorInstrument.IsConnected__
test al, al
je 0x403641
mov al, 1
jmp 0x403643
mov al, 0
test al, al
je 0x40366e
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x186
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
jmp 0x403694
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x186
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
leave
ret