Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x114
push 0
push 0x466960
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x466964], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x466960], eax
mov eax, str.MR552ZM_A
mov dword [0x466990], eax
call fcn.0040334c
call fcn.0040fd30
call fcn.0040fcb0
call fcn.0040fa19
call fcn.0040e73d
call fcn.0040e12b
call fcn.0040db50
call fcn.0040da6a
call fcn.0040d9d0
call fcn.0040d370
call fcn.0040b4a4
call fcn.0040ac30
call fcn.0040a13a
call fcn.00408ebe
call fcn.00408e05
call fcn.0040869d
call fcn.004073bc
call fcn.004039bd
call fcn.00403368
mov eax, 0x200
push eax
lea eax, [0x466a70]
push eax
push 0x4382f0
push 7
push 0x14
call fcn.0040e75c
push 0x466a48
push 0x4382f0
push 7
push 0x186a1
push 0x14
call fcn.0040fa42
push 0x466a50
push 0x4382e8
push 8
push 0x186a1
push 4
call fcn.0040fa42
mov dword [0x4669b8], 0
mov edx, 0x438028
lea ecx, [0x4669b4]
call fcn.00403008
mov edx, 0x438028
lea ecx, [0x46697c]
call fcn.00403008
mov edx, 0x438028
lea ecx, [0x466980]
call fcn.00403008
mov edx, 0x438028
lea ecx, [0x4669e0]
call fcn.00403008
mov edx, 0x438028
lea ecx, [0x466970]
call fcn.00403008
mov edx, 0x438028
lea ecx, [0x466984]
call fcn.00403008
mov dword [0x4669c0], 0
mov dword [0x466a0c], 0
mov dword [0x4669ac], 0
push 0x466a58
push 0x4382e8
push 8
push 0x1389
push 4
call fcn.0040fa42
push 0x466a60
push 0x4382e8
push 8
push 0x1389
push 4
call fcn.0040fa42
push 0x466a68
push 0x4382e8
push 8
push 0x1389
push 4
call fcn.0040fa42
mov edx, dword [0x4669b4]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov edx, str._LOB___Description___Part_Number___Quantity___BOX_
push edx
call fcn.0040fdb0
lea eax, [0x4669b4]
push eax
call fcn.0040fe10
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, 0x4380b2
lea ecx, [ebp]
call fcn.00403008
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, 0x4380b2
lea ecx, [ebp + 4]
call fcn.00403008
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, 0x4380b2
lea ecx, [ebp + 8]
call fcn.00403008
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, 0x4380b2
lea ecx, [ebp + 0xc]
call fcn.00403008
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, 0x4380b2
lea ecx, [ebp + 0x10]
call fcn.00403008
call fcn.004038a6
mov eax, str.D:Program_FilesPureBasicTES.png
push eax
push 0xffffffff
call fcn.00408f5e
mov dword [0x466974], eax
push 0x258
push 0x3ac
push 0
push 0
call fcn.0040207a
mov dword [0x4669c4], 0
mov edx, 0x438028
lea ecx, [0x466978]
call fcn.00403008
mov eax, str.MR552ZM_A
mov dword [0x466990], eax
lea ecx, [0x466978]
mov edx, dword [0x466990]
call fcn.00403008
add dword [0x466990], eax
mov ebx, dword [0x4669c4]
mov ebp, dword [0x466a58]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov edx, dword [0x466978]
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669c4]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.0040fe10
mov ebx, dword [0x4669c4]
inc ebx
mov dword [0x4669c4], ebx
push dword [0x466978]
mov edx, 0x43810e
pop ecx
call fcn.00403040
je 0x4012fd
push dword [0x4669c4]
pop dword [0x4669c0]
mov dword [0x4669c4], 0
mov edx, 0x438028
lea ecx, [0x466978]
call fcn.00403008
mov eax, str.APPLE_PENCIL_LE_CASE_RED_ZML
mov dword [0x466990], eax
lea ecx, [0x466978]
mov edx, dword [0x466990]
call fcn.00403008
add dword [0x466990], eax
mov ebx, dword [0x4669c4]
mov ebp, dword [0x466a60]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov edx, dword [0x466978]
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669c4]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.0040fe10
mov ebx, dword [0x4669c4]
inc ebx
mov dword [0x4669c4], ebx
push dword [0x466978]
mov edx, 0x43810e
pop ecx
call fcn.00403040
je 0x4013a2
mov dword [0x4669c4], 0
mov edx, 0x438028
lea ecx, [0x466978]
call fcn.00403008
mov eax, 0x45c3fc
mov dword [0x466990], eax
lea ecx, [0x466978]
mov edx, dword [0x466990]
call fcn.00403008
add dword [0x466990], eax
mov ebx, dword [0x4669c4]
mov ebp, dword [0x466a68]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov edx, dword [0x466978]
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669c4]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.0040fe10
mov ebx, dword [0x4669c4]
inc ebx
mov dword [0x4669c4], ebx
push dword [0x466978]
mov edx, 0x43810e
pop ecx
call fcn.00403040
je 0x40143b
push 0x15e
mov eax, str.Description
push eax
push 2
push dword [0x4669a4]
call fcn.00403a63
push 0x64
mov eax, str.Part_Number
push eax
push 4
push dword [0x4669a4]
call fcn.00403a63
push 0x50
mov eax, str.Quantity
push eax
push 5
push dword [0x4669a4]
call fcn.00403a63
push 0x64
mov eax, 0x43827a
push eax
push 6
push dword [0x4669a4]
call fcn.00403a63
call fcn.00407552
push eax
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x40165c
push dword [0x466f48]
push dword [0x466f48]
call fcn.0040f68f
push eax
mov eax, str._yyyy_mm_dd
push eax
call fcn.0040f935
lea eax, [0x4669cc]
push eax
call fcn.0040fe10
push dword [0x466f48]
push dword [0x466f48]
call fcn.0040f68f
push eax
mov eax, str._hh_ii_ss
push eax
call fcn.0040f935
lea eax, [0x466a40]
push eax
call fcn.0040fe10
push dword [0x466f48]
mov edx, 0x438028
push edx
call fcn.0040fdb0
mov edx, dword [0x4669cc]
push edx
call fcn.0040fdb0
mov edx, dword [0x466a40]
push edx
call fcn.0040fdb0
mov edx, str.Apple.csv
push edx
call fcn.0040fdb0
lea eax, [0x46697c]
push eax
call fcn.0040fe10
push dword [0x46697c]
push 0
call fcn.0040dd50
and eax, eax
je 0x401641
push dword [0x4669b4]
push 0
call fcn.0040de20
mov dword [0x46699c], 0
jmp 0x4015f2
mov eax, dword [0x4669b8]
cmp eax, dword [0x46699c]
jl 0x401624
mov ebx, dword [0x46699c]
mov ebp, dword [0x466a50]
shl ebx, 2
push dword [ebp + ebx]
push 0
call fcn.0040de20
inc dword [0x46699c]
jno 0x4015f2
push 0
call fcn.0040da80
mov eax, str.Liste_ist_gespeichert
push eax
mov eax, str.Information
push eax
call fcn.004033d2
jmp 0x401652
mov eax, str.Liste_konnte_nicht_gespeichert_werden_
push eax
mov eax, str.Achtung_
push eax
call fcn.004033d2
jmp 0x40201e
jmp 0x402016
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x401eb7
call fcn.0040e245
push eax
mov ebx, 0x6f
cmp ebx, dword [esp]
jne 0x401eb1
call fcn.00403a9e
push eax
mov ebx, dword [0x4669f4]
cmp ebx, dword [esp]
jne 0x40182d
push dword [0x466f48]
push dword [0x466f48]
push dword [0x4669f4]
call fcn.00403bdf
lea eax, [0x466978]
push eax
call fcn.0040fe10
push dword [0x466978]
mov edx, 0x438028
pop ecx
call fcn.00403040
je 0x4016f4
push 0xff
push 2
push dword [0x4669f4]
call fcn.00403c47
mov eax, 0x438028
push eax
push dword [0x4669f4]
call fcn.00403c72
jmp 0x401657
push dword [0x466978]
call fcn.0040d620
mov ebx, eax
cmp ebx, 9
jle 0x40172e
push dword [0x466f48]
push dword [0x466f48]
push 4
push dword [0x466978]
call fcn.0040d6e0
lea eax, [0x466978]
push eax
call fcn.0040fe10
mov dword [0x466998], 0
jmp 0x40173a
mov eax, dword [0x4669c0]
cmp eax, dword [0x466998]
jl 0x4017dc
push dword [0x466978]
mov ebx, dword [0x466998]
mov ebp, dword [0x466a58]
shl ebx, 2
mov edx, dword [ebp + ebx]
pop ecx
call fcn.00403040
je 0x4017d0
push dword [0x466f48]
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov edx, dword [0x466978]
push edx
call fcn.0040fdb0
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
lea eax, [ebp + 8]
push eax
call fcn.0040fe10
push 0xff00
push 2
push dword [0x4669f4]
call fcn.00403c47
push dword [0x466968]
call fcn.00403cbd
jmp 0x401828
inc dword [0x466998]
jno 0x40173a
push dword [0x466978]
mov ebx, dword [0x466998]
mov ebp, dword [0x466a58]
shl ebx, 2
mov edx, dword [ebp + ebx]
pop ecx
call fcn.00403040
jne 0x401828
push 0xff
push 2
push dword [0x4669f4]
call fcn.00403c47
mov eax, 0x438028
push eax
push dword [0x4669f4]
call fcn.00403c72
jmp 0x401657
jmp 0x401eb0
mov ebx, dword [0x466968]
cmp ebx, dword [esp]
jne 0x4018c2
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466968]
call fcn.00403bdf
lea eax, [0x466978]
push eax
call fcn.0040fe10
push dword [0x466978]
mov edx, 0x438028
pop ecx
call fcn.00403040
je 0x40189d
push 0xff
push 2
push dword [0x466968]
call fcn.00403c47
mov eax, 0x438028
push eax
push dword [0x466968]
call fcn.00403c72
jmp 0x401657
push 0xff00
push 2
push dword [0x466968]
call fcn.00403c47
push dword [0x466a44]
call fcn.00403cbd
jmp 0x401eb0
mov ebx, dword [0x466a44]
cmp ebx, dword [esp]
jne 0x401eb0
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466a44]
call fcn.00403bdf
lea eax, [0x466978]
push eax
call fcn.0040fe10
push dword [0x466978]
call fcn.0040d730
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x40190d
cmp edi, 0
je 0x401911
xor eax, eax
jmp 0x401916
mov eax, 1
or eax, eax
je 0x401945
push 0xff
push 2
push dword [0x466a44]
call fcn.00403c47
mov eax, 0x438028
push eax
push dword [0x466a44]
call fcn.00403c72
jmp 0x401657
push 0xff00
push 2
push dword [0x466a44]
call fcn.00403c47
push dword [0x466f48]
push dword [0x466f48]
push dword [0x4669f4]
call fcn.00403bdf
lea eax, [0x466978]
push eax
call fcn.0040fe10
push dword [0x466978]
call fcn.0040d620
mov ebx, eax
cmp ebx, 9
jle 0x4019b7
push dword [0x466f48]
push dword [0x466f48]
push 4
push dword [0x466978]
call fcn.0040d6e0
lea eax, [0x466978]
push eax
call fcn.0040fe10
mov dword [0x466998], 0
jmp 0x4019c3
mov eax, dword [0x4669c0]
cmp eax, dword [0x466998]
jl 0x401aaf
mov ebx, dword [0x466998]
mov ebp, dword [0x466a58]
shl ebx, 2
push dword [ebp + ebx]
mov edx, dword [0x466978]
pop ecx
call fcn.00403040
je 0x401aa3
push dword [0x466f48]
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x466998]
mov ebp, dword [0x466a68]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.0040fdb0
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
lea eax, [ebp]
push eax
call fcn.0040fe10
push dword [0x466f48]
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x466998]
mov ebp, dword [0x466a60]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.0040fdb0
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
lea eax, [ebp + 4]
push eax
call fcn.0040fe10
mov dword [0x466a0c], 1
jmp 0x401aaf
inc dword [0x466998]
jno 0x4019c3
mov ebx, dword [0x466a0c]
and ebx, ebx
jne 0x401abe
jmp 0x401657
mov edx, 0x438028
lea ecx, [0x466978]
call fcn.00403008
mov dword [0x466a0c], 0
push dword [0x466f48]
mov edx, 0x43807c
push edx
call fcn.0040fdb0
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466a44]
call fcn.00403bdf
mov edx, dword [0x465544]
add dword [esp], edx
call fcn.0040d730
pop dword [0x466f48]
push edx
push eax
push dword [0x466f48]
push dword [0x466f48]
mov edx, dword [esp + 0xc]
push edx
mov eax, dword [esp + 0xc]
push eax
call fcn.0040d870
add esp, 8
pop eax
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
lea eax, [ebp + 0xc]
push eax
call fcn.0040fe10
push dword [0x466f48]
mov edx, 0x43807c
push edx
call fcn.0040fdb0
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466968]
call fcn.00403bdf
pop eax
mov edx, 0x43807c
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
lea eax, [ebp + 0x10]
push eax
call fcn.0040fe10
push 0xff00
push 2
push dword [0x466a44]
call fcn.00403c47
push dword [0x466f48]
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov edx, 0x43802a
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 4]
push edx
call fcn.0040fdb0
mov edx, 0x43802a
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 8]
push edx
call fcn.0040fdb0
mov edx, 0x43802a
push edx
call fcn.0040fdb0
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466a44]
call fcn.00403bdf
mov edx, dword [0x465544]
add dword [esp], edx
call fcn.0040d730
pop dword [0x466f48]
push edx
push eax
push dword [0x466f48]
push dword [0x466f48]
mov edx, dword [esp + 0xc]
push edx
mov eax, dword [esp + 0xc]
push eax
call fcn.0040d870
add esp, 8
pop eax
mov edx, 0x43802a
push edx
call fcn.0040fdb0
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466968]
call fcn.00403bdf
pop eax
add dword [0x466f48], 2
push 0xffffffff
push dword [0x4669a4]
mov edx, dword [0x465544]
add dword [esp + 8], edx
call fcn.00403cf8
pop dword [0x466f48]
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a50]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x466f48]
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp]
push edx
call fcn.0040fdb0
mov edx, 0x4380a0
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 4]
push edx
call fcn.0040fdb0
mov edx, 0x4380a0
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 8]
push edx
call fcn.0040fdb0
mov edx, 0x4380a0
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040fdb0
mov edx, 0x4380a0
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a48]
imul ebx, ebx, 0x14
add ebp, ebx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040fdb0
mov ebx, dword [0x4669b8]
mov ebp, dword [0x466a50]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.0040fe10
mov ebx, dword [0x4669b8]
shl ebx, 2
push dword [ebp + ebx]
push dword [0x466a08]
call fcn.00403c72
mov eax, 0x438028
push eax
push dword [0x4669f4]
call fcn.00403c72
mov eax, 0x438028
push eax
push dword [0x466a44]
call fcn.00403c72
mov eax, 0x438028
push eax
push dword [0x466968]
call fcn.00403c72
push 0xffffffff
push 2
push dword [0x4669f4]
call fcn.00403c47
push 0xffffffff
push 2
push dword [0x466a44]
call fcn.00403c47
push 0xffffffff
push 2
push dword [0x466968]
call fcn.00403c47
mov ebx, dword [0x4669b8]
inc ebx
mov dword [0x4669b8], ebx
mov ebx, dword [0x4669ac]
inc ebx
mov dword [0x4669ac], ebx
push dword [0x466f48]
push dword [0x466f48]
push dword [0x466f48]
mov eax, dword [0x4669ac]
cdq
push edx
push eax
call fcn.0040d870
add dword [0x466f48], 2
push dword [0x46698c]
mov edx, dword [0x465544]
add dword [esp + 4], edx
call fcn.00403c72
pop dword [0x466f48]
push dword [0x4669f4]
call fcn.00403cbd
pop eax
pop eax
jmp 0x402016
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x402016
call fcn.0040e254
push eax
mov ebx, 0x3e7
cmp ebx, dword [esp]
jne 0x402015
push dword [0x466f48]
push dword [0x466f48]
call fcn.0040f68f
push eax
mov eax, str._yyyy_mm_dd
push eax
call fcn.0040f935
lea eax, [0x4669cc]
push eax
call fcn.0040fe10
push dword [0x466f48]
push dword [0x466f48]
call fcn.0040f68f
push eax
mov eax, str._hh_ii_ss
push eax
call fcn.0040f935
lea eax, [0x466a40]
push eax
call fcn.0040fe10
push dword [0x466f48]
mov edx, 0x438028
push edx
call fcn.0040fdb0
mov edx, dword [0x4669cc]
push edx
call fcn.0040fdb0
mov edx, dword [0x466a40]
push edx
call fcn.0040fdb0
mov edx, str.Apple.csv
push edx
call fcn.0040fdb0
lea eax, [0x46697c]
push eax
call fcn.0040fe10
push dword [0x46697c]
push 0
call fcn.0040dd50
and eax, eax
je 0x401fea
push dword [0x4669b4]
push 0
call fcn.0040de20
mov dword [0x46699c], 0
jmp 0x401f9b
mov eax, dword [0x4669b8]
cmp eax, dword [0x46699c]
jl 0x401fcd
mov ebx, dword [0x46699c]
mov ebp, dword [0x466a50]
shl ebx, 2
push dword [ebp + ebx]
push 0
call fcn.0040de20
inc dword [0x46699c]
jno 0x401f9b
push 0
call fcn.0040da80
mov eax, str.Liste_ist_gespeichert
push eax
mov eax, str.Information
push eax
call fcn.004033d2
jmp 0x401ffb
mov eax, str.Liste_konnte_nicht_gespeichert_werden_
push eax
mov eax, str.Achtung
push eax
call fcn.004033d2
push 0
push 0x3e7
call fcn.00403d59
push dword [0x4669f4]
call fcn.00403cbd
pop eax
pop eax
jmp 0x40151c
push 0
call 0x40203d
call fcn.0040fd80
push dword [0x466960]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.00403967
call fcn.00407145
call fcn.00407399
call fcn.0040869c
call fcn.00408e04
call fcn.00408eb2
call fcn.0040d390
call fcn.0040da5e
call fcn.0040db40
call fcn.0040e10d
call fcn.0040ed02
call fcn.0040fca0
ret