Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x11c
push 0
push 0x4b8b94
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x4b8b98], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x4b8b94], eax
call fcn.004046ad
call fcn.00434b70
call fcn.00434ad0
call fcn.00434838
call fcn.00433b3b
call fcn.00433394
call fcn.00431bc3
call fcn.004297a0
call fcn.00429706
call fcn.00429460
call fcn.0042759c
call fcn.00426e40
call fcn.004258c4
call fcn.0042580b
call fcn.00424d9c
call fcn.00424695
call fcn.00422ed9
call fcn.0040d454
call fcn.0040d02f
call fcn.00407900
call fcn.004065d0
call fcn.0040641a
call fcn.00404f9f
call fcn.00404dbf
call fcn.004046c9
push 4
push 0x4b4154
call fcn.0040d04e
push 6
push str.GADGET_SelectDestination
call fcn.0040d04e
push 2
push str.GADGET_ProcessAll
call fcn.0040d04e
push 1
push str.GADGET_Destination
call fcn.0040d04e
push 3
push str.GADGET_Start
call fcn.0040d04e
push 5
push 0x4b4070
call fcn.0040d04e
push 0
push str.GADGET_Source
call fcn.0040d04e
push 7
push str.GADGET_Compression
call fcn.0040d04e
mov edx, str.PureLibrariesMaker.log
lea ecx, [0x4b8c54]
call fcn.00404008
push 7
push 0x4b505c
lea eax, [0x4b8c98]
push eax
push 0x10d
call fcn.00433b5a
push 8
push 0x4b5054
lea eax, [0x4b8ca0]
push eax
push 4
call fcn.00433b5a
push 7
xor eax, eax
push eax
lea eax, [0x4b8ca8]
push eax
push 8
call fcn.00433b5a
push 0x4b8c80
push 0x4b5054
push 8
push 0x3e9
push 4
call fcn.00434861
push dword [0x4bd900]
push dword [0x4bd900]
call fcn.00404f53
lea eax, [0x4b8c34]
push eax
call fcn.00434bf0
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4b8c34]
call fcn.00432700
add dword [0x4bd900], 2
mov edx, str._ALL
mov ecx, dword [esp]
add ecx, dword [0x4b5068]
call fcn.00404040
je 0x401210
mov dword [0x4b8bbc], 1
jmp 0x401300
mov edx, 0x4b460a
mov ecx, dword [esp]
add ecx, dword [0x4b5068]
call fcn.00404040
je 0x401247
push dword [0x4bd900]
push dword [0x4bd900]
call fcn.00404f53
lea eax, [0x4b8b9c]
push eax
call fcn.00434bf0
jmp 0x401300
mov edx, str._COMPRESSED
mov ecx, dword [esp]
add ecx, dword [0x4b5068]
call fcn.00404040
je 0x401270
mov ebx, dword [0x4b8c74]
or ebx, 1
mov dword [0x4b8c74], ebx
jmp 0x401300
mov edx, str._CONSTANT
mov ecx, dword [esp]
add ecx, dword [0x4b5068]
call fcn.00404040
je 0x4012b2
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
call fcn.00404f53
mov edx, dword [0x4b5068]
add dword [esp], edx
call fcn.00403561
pop dword [0x4bd900]
jmp 0x401300
mov edx, str._NOLOG
mov ecx, dword [esp]
add ecx, dword [0x4b5068]
call fcn.00404040
je 0x4012d3
mov dword [0x4b8be8], 1
jmp 0x401300
mov edx, dword [0x4b8c34]
xor ecx, ecx
call fcn.00404040
jne 0x401300
mov edx, dword [0x4b8c34]
push dword [0x4bd900]
push edx
call fcn.00434c70
lea eax, [0x4b8bb8]
push eax
call fcn.00434bf0
pop dword [0x4bd900]
push dword [0x4b8c34]
mov edx, 0x4b4028
pop ecx
call fcn.00404040
je 0x4011b1
mov edx, dword [0x4b8bb8]
xor ecx, ecx
call fcn.00404040
jne 0x401373
mov dword [0x4b8c68], 1
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4b8bb8]
call fcn.00422826
lea eax, [0x4b8c20]
push eax
call fcn.00434bf0
cmp dword [0x4b8bbc], 0
je 0x401369
call fcn.00401811
jmp 0x40136e
call fcn.004018bb
jmp 0x40180c
mov eax, str.LibraryMaker.prefs
push eax
call fcn.0040539c
push dword [0x4bd900]
push dword [0x4bd900]
mov eax, 0x4b4028
push eax
mov eax, str.SourcePath
push eax
call fcn.004053da
lea eax, [0x4b8c20]
push eax
call fcn.00434bf0
push dword [0x4bd900]
push dword [0x4bd900]
mov eax, 0x4b4028
push eax
mov eax, str.DestinationPath
push eax
call fcn.004053da
lea eax, [0x4b8b9c]
push eax
call fcn.00434bf0
push 0
mov eax, str.ProcessAll
push eax
call fcn.004054ce
mov dword [0x4b8bbc], eax
push 1
mov eax, str.Compression
push eax
call fcn.004054ce
mov dword [0x4b8c08], eax
call fcn.00405503
push dword [0x4bd900]
mov edx, str._window_id0_textPureBasic_Libraries_Maker_v6.11_width450_minwidthauto_minheightauto_maxheightauto_flagsPB_Window_ScreenCentered__PB_Window_SystemMenu__PB_Window_MinimizeGadget__PB_Window_SizeGadget____vbox______gridbox_columns3_colexpanditem:2________text_textObjects_path_:_________string_idGADGET_Source_text
push edx
call fcn.00434c70
mov edx, dword [0x4b8c20]
push edx
call fcn.00434c70
mov edx, str._________button_idGADGET_SelectSource_text..._________text_textPureBasic_libraries_path_:_________string_idGADGET_Destination_text
push edx
call fcn.00434c70
mov edx, dword [0x4b8b9c]
push edx
call fcn.00434c70
mov edx, str._________button_idGADGET_SelectDestination_text...________gridbox______hbox________checkbox_idGADGET_ProcessAll_textProcess_the_whole_directory_________checkbox_idGADGET_Compression_textEnable_compression________hbox______hbox________button_idGADGET_Start_textStart_________button_idGADGET_Quit_textQuit________hbox_____vbox___window_
push edx
call fcn.00434c70
lea eax, [0x4b8c30]
push eax
call fcn.00434bf0
push 2
push 0
push dword [0x4b8c30]
call fcn.00432770
push eax
mov eax, dword [0x4b8c30]
push eax
push 0
call fcn.00431cbb
and eax, eax
je 0x40148b
push 0
call fcn.00431e2b
mov ebx, eax
and ebx, ebx
jne 0x40148b
mov eax, 1
jmp 0x40148d
xor eax, eax
and eax, eax
je 0x40180c
push 0
call fcn.00407950
and eax, eax
je 0x4014c3
mov eax, 0x4b4028
push eax
push 0
push 0
call fcn.00407b60
and eax, eax
je 0x4014c3
mov eax, 1
jmp 0x4014c5
xor eax, eax
and eax, eax
je 0x40180a
push dword [0x4b8bbc]
push 2
call fcn.0040d4fa
push dword [0x4b8c08]
push 7
call fcn.0040d4fa
call fcn.0042306f
mov dword [0x4b8bac], eax
mov ebx, dword [0x4b8bac]
cmp ebx, 0x332c
jne 0x40173b
call fcn.004247af
push eax
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401639
push 2
call fcn.0040d532
mov dword [0x4b8c68], eax
push dword [0x4bd900]
push dword [0x4bd900]
push 0
call fcn.0040d55f
lea eax, [0x4b8c20]
push eax
call fcn.00434bf0
push dword [0x4bd900]
push dword [0x4bd900]
push 1
call fcn.0040d55f
lea eax, [0x4b8b9c]
push eax
call fcn.00434bf0
push dword [0x4bd900]
push dword [0x4bd900]
push 1
push dword [0x4b8c20]
call fcn.004327a0
add dword [0x4bd900], 2
mov edx, 0x4b410a
pop ecx
mov dword [0x4bd900], ecx
add ecx, dword [0x4b5068]
call fcn.00404040
jne 0x4015d5
mov edx, dword [0x4b8c20]
push dword [0x4bd900]
push edx
call fcn.00434c70
mov edx, 0x4b410a
push edx
call fcn.00434c70
lea eax, [0x4b8c20]
push eax
call fcn.00434bf0
push 1
push 3
call fcn.0040d5c7
mov dword [0x4b8c74], 0
push 7
call fcn.0040d532
and eax, eax
je 0x40160b
mov ebx, dword [0x4b8c74]
or ebx, 1
mov dword [0x4b8c74], ebx
push 2
call fcn.0040d532
and eax, eax
je 0x401620
call fcn.00401811
jmp 0x401625
call fcn.00401881
push 0
push 3
call fcn.0040d5c7
jmp 0x40173a
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401652
mov dword [0x4b8bac], 0x333c
jmp 0x40173a
mov ebx, 5
cmp ebx, dword [esp]
jne 0x4016c7
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push 0
call fcn.0040d55f
add dword [0x4bd900], 2
mov eax, str.Select_the_source_directory
push eax
mov edx, dword [0x4b5068]
add dword [esp + 4], edx
call fcn.00404746
lea eax, [0x4b8c48]
push eax
call fcn.00434bf0
mov edx, dword [0x4b8c48]
xor ecx, ecx
call fcn.00404040
jne 0x4016c5
push dword [0x4b8c48]
push 0
call fcn.0040d5f2
jmp 0x40173a
mov ebx, 6
cmp ebx, dword [esp]
jne 0x40173a
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push 1
call fcn.0040d55f
add dword [0x4bd900], 2
mov eax, str.Select_the_destination_directory
push eax
mov edx, dword [0x4b5068]
add dword [esp + 4], edx
call fcn.00404746
lea eax, [0x4b8c48]
push eax
call fcn.00434bf0
mov edx, dword [0x4b8c48]
xor ecx, ecx
call fcn.00404040
jne 0x40173a
push dword [0x4b8c48]
push 1
call fcn.0040d5f2
pop eax
mov ebx, dword [0x4b8bac]
cmp ebx, 0x333c
jne 0x4014ed
mov eax, str.LibraryMaker.prefs
push eax
call fcn.0040557c
and eax, eax
je 0x401808
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push 0
call fcn.0040d55f
add dword [0x4bd900], 2
mov eax, str.SourcePath
push eax
mov edx, dword [0x4b5068]
add dword [esp + 4], edx
call fcn.0040558a
pop dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push dword [0x4bd900]
push 1
call fcn.0040d55f
add dword [0x4bd900], 2
mov eax, str.DestinationPath
push eax
mov edx, dword [0x4b5068]
add dword [esp + 4], edx
call fcn.0040558a
pop dword [0x4bd900]
push 2
call fcn.0040d532
push eax
mov eax, str.ProcessAll
push eax
call fcn.004055e6
push 7
call fcn.0040d532
push eax
mov eax, str.Compression
push eax
call fcn.004055e6
jmp 0x40180a
jmp 0x40180c
jmp 0x403165
push 0
call 0x403184
call fcn.00434bc0
push dword [0x4b8b94]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.00404f8d
call fcn.0040640e
call fcn.004065c0
call fcn.004078d0
call fcn.0040d3fe
call fcn.00422ba1
call fcn.00422eb6
call fcn.00424677
call fcn.00424d9b
call fcn.0042580a
call fcn.004258b8
call fcn.00429480
call fcn.00429794
call fcn.00431b33
call fcn.00433fc0
call fcn.00434ac0
ret