Function at 0x403bf0
Capabilities:
Create directory
Encode data using xor
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x427dfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x750
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], 0
mov byte [esp + 0x378], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x379]
push 0x3e8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x37c]
mov dword [esp + 0x28], ebp
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x378]
push 0x5c
push ecx
call fcn.0040dd40
add esp, 8
lea edx, [esp + 0x378]
add ebp, 0x2b3c
mov byte [eax], 0
push str.__TOOL.ini
push edx
push str._s_s
push ebp
call fcn.0041b42d
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.00420df6
mov eax, dword [ebp]
push 0
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x774], 0
call fcn.00420f08
test eax, eax
jne 0x403cca
push eax
push eax
push str.Setting_File_Error
call fcn.004236c6
jmp 0x404e85
lea ecx, [esp + 0x38]
call fcn.00421123
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x11], eax
lea edx, [esp + 0x74]
mov word [esp + 0x15], ax
mov byte [esp + 0x18], al
mov eax, dword [ebp]
xor ecx, ecx
push eax
push 7
push edx
push str.0x09A6
mov dword [esp + 0x29], ecx
push str.VENDOR_ID
push str.ID_2201
mov byte [esp + 0x28], 0
mov word [esp + 0x35], cx
call ebx
lea eax, [esp + 0x74]
push eax
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push 7
push ecx
push str.0x8001
push str.PRODUCT_ID
push str.ID_2201
call ebx
lea edx, [esp + 0x74]
push edx
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
xor edi, edi
lea eax, [ecx + 0x120]
mov ecx, eax
xor edx, edx
mov word [ecx], dx
mov byte [ecx + 2], dl
lea edx, [eax + 3]
mov esi, edx
xor ecx, ecx
mov word [esi], cx
mov byte [esi + 2], cl
mov cl, byte [esp + 0x10]
cmp cl, 0x30
jne 0x40403f
cmp byte [esp + 0x11], 0x58
jne 0x40403f
cmp byte [esp + 0x18], 0x30
jne 0x40403f
cmp byte [esp + 0x19], 0x58
jne 0x40403f
xor esi, esi
mov cl, byte [esp + esi + 0x12]
cmp cl, 0x2f
jle 0x403e26
cmp cl, 0x3a
jge 0x403e26
cmp esi, 3
ja case.default.0x403e3d
jmp dword [esi*4 + 0x404f60]
mov cl, byte [esp + 0x12]
shl cl, 4
or byte [eax], cl
jmp case.default.0x403e3d
mov cl, byte [esp + 0x13]
and cl, 0xf
or byte [eax], cl
jmp case.default.0x403e3d
mov cl, byte [esp + 0x14]
shl cl, 4
jmp 0x403e7c
mov cl, byte [esp + 0x15]
jmp 0x403e79
cmp cl, 0x3f
jle 0x404052
cmp cl, 0x47
jge 0x404052
cmp esi, 3
ja case.default.0x403e3d
jmp dword [esi*4 + 0x404f70]
mov cl, byte [esp + 0x12]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [eax], cl
jmp case.default.0x403e3d
mov cl, byte [esp + 0x13]
sub cl, 7
and cl, 0xf
or byte [eax], cl
jmp case.default.0x403e3d
mov cl, byte [esp + 0x14]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x403e7c
mov cl, byte [esp + 0x15]
sub cl, 7
and cl, 0xf
or byte [eax + 1], cl
mov cl, byte [esp + esi + 0x1a]
cmp cl, 0x2f
jle 0x403ec2
cmp cl, 0x3a
jge 0x403ec2
cmp esi, 3
ja case.default.0x403ed9
jmp dword [esi*4 + 0x404f80]
mov cl, byte [esp + 0x1a]
shl cl, 4
or byte [edx], cl
jmp case.default.0x403ed9
mov cl, byte [esp + 0x1b]
and cl, 0xf
or byte [edx], cl
jmp case.default.0x403ed9
mov cl, byte [esp + 0x1c]
shl cl, 4
jmp 0x403f18
mov cl, byte [esp + 0x1d]
jmp 0x403f15
cmp cl, 0x3f
jle 0x40403f
cmp cl, 0x47
jge 0x40403f
cmp esi, 3
ja case.default.0x403ed9
jmp dword [esi*4 + 0x404f90]
mov cl, byte [esp + 0x1a]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [edx], cl
jmp case.default.0x403ed9
mov cl, byte [esp + 0x1b]
sub cl, 7
and cl, 0xf
or byte [edx], cl
jmp case.default.0x403ed9
mov cl, byte [esp + 0x1c]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x403f18
mov cl, byte [esp + 0x1d]
sub cl, 7
and cl, 0xf
or byte [eax + 4], cl
inc esi
cmp esi, 4
jl 0x403de3
inc edi
add eax, 0x43c
cmp edi, 8
jl 0x403d9c
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 7
push ecx
push str.0x0EF5
push str.VENDOR_ID
push str.ID_2202
call ebx
lea edx, [esp + 0x74]
push edx
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push 7
push ecx
push str.0x2202
push str.PRODUCT_ID
push str.ID_2202
call ebx
lea edx, [esp + 0x74]
push edx
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
mov bl, byte [esp + 0x15]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
xor edi, edi
lea eax, [ecx + 0x126]
mov ecx, eax
xor edx, edx
mov word [ecx], dx
mov byte [ecx + 2], dl
lea edx, [eax + 3]
mov esi, edx
xor ecx, ecx
mov word [esi], cx
mov byte [esi + 2], cl
mov cl, byte [esp + 0x10]
cmp cl, 0x30
jne 0x40403f
cmp byte [esp + 0x11], 0x58
jne 0x40403f
cmp byte [esp + 0x18], 0x30
jne 0x40403f
cmp byte [esp + 0x19], 0x58
jne 0x40403f
xor esi, esi
mov cl, byte [esp + esi + 0x12]
cmp cl, 0x2f
jle 0x404091
cmp cl, 0x3a
jge 0x404091
cmp esi, 3
ja case.default.0x4040a0
jmp dword [esi*4 + 0x404fa0]
mov cl, byte [esp + 0x12]
shl cl, 4
or byte [eax], cl
jmp case.default.0x4040a0
push 0
push 0
push str.Invalid_ID
call fcn.004236c6
jmp 0x404e85
push 0
push 0
push str.Invalid_ID
call fcn.004236c6
mov edx, dword [esp + 0x24]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x404e85
mov cl, byte [esp + 0x13]
and cl, 0xf
or byte [eax], cl
jmp case.default.0x4040a0
mov cl, byte [esp + 0x14]
shl cl, 4
jmp 0x4040dd
mov cl, bl
jmp 0x4040da
cmp cl, 0x3f
jle 0x404052
cmp cl, 0x47
jge 0x404052
cmp esi, 3
ja case.default.0x4040a0
jmp dword [esi*4 + 0x404fb0]
mov cl, byte [esp + 0x12]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [eax], cl
jmp case.default.0x4040a0
mov cl, byte [esp + 0x13]
sub cl, 7
and cl, 0xf
or byte [eax], cl
jmp case.default.0x4040a0
mov cl, byte [esp + 0x14]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x4040dd
mov cl, bl
sub cl, 7
and cl, 0xf
or byte [eax + 1], cl
mov cl, byte [esp + esi + 0x1a]
cmp cl, 0x2f
jle 0x404123
cmp cl, 0x3a
jge 0x404123
cmp esi, 3
ja case.default.0x40413a
jmp dword [esi*4 + 0x404fc0]
mov cl, byte [esp + 0x1a]
shl cl, 4
or byte [edx], cl
jmp case.default.0x40413a
mov cl, byte [esp + 0x1b]
and cl, 0xf
or byte [edx], cl
jmp case.default.0x40413a
mov cl, byte [esp + 0x1c]
shl cl, 4
jmp 0x404179
mov cl, byte [esp + 0x1d]
jmp 0x404176
cmp cl, 0x3f
jle 0x40403f
cmp cl, 0x47
jge 0x40403f
cmp esi, 3
ja case.default.0x40413a
jmp dword [esi*4 + 0x404fd0]
mov cl, byte [esp + 0x1a]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [edx], cl
jmp case.default.0x40413a
mov cl, byte [esp + 0x1b]
sub cl, 7
and cl, 0xf
or byte [edx], cl
jmp case.default.0x40413a
mov cl, byte [esp + 0x1c]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x404179
mov cl, byte [esp + 0x1d]
sub cl, 7
and cl, 0xf
or byte [eax + 4], cl
inc esi
cmp esi, 4
jl 0x404013
inc edi
add eax, 0x43c
cmp edi, 8
jl 0x403fdc
mov eax, dword [ebp]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x78]
push 7
push ecx
push str.0x0EF5
push str.VENDOR_ID
push str.ID_2366
call ebx
lea edx, [esp + 0x74]
push edx
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push 7
push ecx
push str.0x2366
push str.PRODUCT_ID
push str.ID_2366
call ebx
lea edx, [esp + 0x74]
push edx
call fcn.0041af12
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
mov bl, byte [esp + 0x15]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
xor edi, edi
lea eax, [ecx + 0x12c]
mov ecx, eax
xor edx, edx
mov word [ecx], dx
mov byte [ecx + 2], dl
lea edx, [eax + 3]
mov esi, edx
xor ecx, ecx
mov word [esi], cx
mov byte [esi + 2], cl
mov cl, byte [esp + 0x10]
cmp cl, 0x30
jne 0x40403f
cmp byte [esp + 0x11], 0x58
jne 0x40403f
cmp byte [esp + 0x18], 0x30
jne 0x40403f
cmp byte [esp + 0x19], 0x58
jne 0x40403f
xor esi, esi
mov cl, byte [esp + esi + 0x12]
cmp cl, 0x2f
jle 0x4042cb
cmp cl, 0x3a
jge 0x4042cb
cmp esi, 3
ja case.default.0x4042e2
jmp dword [esi*4 + 0x404fe0]
mov cl, byte [esp + 0x12]
shl cl, 4
or byte [eax], cl
jmp case.default.0x4042e2
mov cl, byte [esp + 0x13]
and cl, 0xf
or byte [eax], cl
jmp case.default.0x4042e2
mov cl, byte [esp + 0x14]
shl cl, 4
jmp 0x40431f
mov cl, bl
jmp 0x40431c
cmp cl, 0x3f
jle 0x404052
cmp cl, 0x47
jge 0x404052
cmp esi, 3
ja case.default.0x4042e2
jmp dword [esi*4 + 0x404ff0]
mov cl, byte [esp + 0x12]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [eax], cl
jmp case.default.0x4042e2
mov cl, byte [esp + 0x13]
sub cl, 7
and cl, 0xf
or byte [eax], cl
jmp case.default.0x4042e2
mov cl, byte [esp + 0x14]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x40431f
mov cl, bl
sub cl, 7
and cl, 0xf
or byte [eax + 1], cl
mov cl, byte [esp + esi + 0x1a]
cmp cl, 0x2f
jle 0x404365
cmp cl, 0x3a
jge 0x404365
cmp esi, 3
ja case.default.0x40437c
jmp dword [esi*4 + 0x405000]
mov cl, byte [esp + 0x1a]
shl cl, 4
or byte [edx], cl
jmp case.default.0x40437c
mov cl, byte [esp + 0x1b]
and cl, 0xf
or byte [edx], cl
jmp case.default.0x40437c
mov cl, byte [esp + 0x1c]
shl cl, 4
jmp 0x4043bb
mov cl, byte [esp + 0x1d]
jmp 0x4043b8
cmp cl, 0x3f
jle 0x40403f
cmp cl, 0x47
jge 0x40403f
cmp esi, 3
ja case.default.0x40437c
jmp dword [esi*4 + 0x405010]
mov cl, byte [esp + 0x1a]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
or byte [edx], cl
jmp case.default.0x40437c
mov cl, byte [esp + 0x1b]
sub cl, 7
and cl, 0xf
or byte [edx], cl
jmp case.default.0x40437c
mov cl, byte [esp + 0x1c]
shl cl, 4
sub cl, 0x61
and cl, 0xf0
jmp 0x4043bb
mov cl, byte [esp + 0x1d]
sub cl, 7
and cl, 0xf
or byte [eax + 4], cl
inc esi
cmp esi, 4
jl 0x40428a
inc edi
add eax, 0x43c
cmp edi, 8
jl 0x404243
mov ecx, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x10], 8
lea eax, [ecx + 0x13b]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov ecx, 8
xor eax, eax
lea edi, [edx - 0xcb]
lea esi, [edx - 9]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [edx - 0xaa]
mov ecx, 8
xor eax, eax
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [esp + 0x74]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov byte [ecx + 8], al
mov dword [edx], eax
mov ecx, 0x19
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
rep stosd dword es:[edi], eax
mov byte [edx + 0x10], al
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x78]
push 0x64
push ecx
push 0x437b70
push str.VENDOR_INFO
push str.INFORMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esi], edx
mov dword [esi + 4], eax
mov esi, dword [esp + 0x24]
push 0x400
mov ecx, esi
call fcn.0041eb9c
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.0041ec2d
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
push 0x64
push edx
push 0x437b70
push str.PRODUCT_INFO
push str.INFORMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x401
mov ecx, esi
call fcn.0041eb9c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov dword [ecx], edx
mov edx, dword [esp + 0x78]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.0041ec2d
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
lea edx, [esp + 0x78]
push 0x64
push edx
push 0x437b70
push str.MANUFACTURER_STR
push str.INFORMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x402
mov ecx, esi
call fcn.0041eb9c
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.0041ec2d
lea edi, [esp + 0x74]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x74]
mov eax, ecx
lea edi, [edx - 0xcb]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x19
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push 0x437b70
push str.PRODUCT_STR
push str.INFORMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x24]
push 0x403
call fcn.0041eb9c
lea edx, [esp + 0x74]
mov ecx, eax
push edx
call fcn.0041ec2d
lea edi, [esp + 0x74]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x74]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
lea edi, [eax - 0xaa]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
push eax
push 0
push str.TYPE
push str.FILE_SYSTEM
call ebx
mov ecx, dword [esp + 0x20]
mov dword [ecx - 0x23], eax
mov eax, dword [esp + 0x10]
add ecx, 0x43c
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
jne 0x4043f3
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x55], ecx
mov dword [esp + 0x49], eax
mov dword [esp + 0x59], ecx
push str.TransInfo.dll
mov dword [esp + 0x61], ecx
mov byte [esp + 0x4c], 0
mov word [esp + 0x65], cx
mov dword [esp + 0x51], eax
mov byte [esp + 0x58], al
mov byte [esp + 0x67], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40468e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetInfo
push esi
call edi
push str.GetInfo
push esi
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [esp + 0x24]
mov edi, eax
lea eax, [ecx + 0x13b]
add ecx, 0x132
push eax
push ecx
push str.Password.exe
call dword [esp + 0x24]
lea edx, [esp + 0x60]
lea eax, [esp + 0x54]
push edx
push eax
push str.Password.exe
call edi
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x433ed8]
mov dword [esp + 0x28], ecx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov byte [esp + 0x768], 1
push eax
push 0x64
push edx
push 0x437b70
push str.DIRECTORY
push 0x43399c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x24]
mov ecx, 0x19
add eax, 0x2248
lea esi, [esp + 0x74]
mov edi, eax
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push 0x433998
push str.EXTENSION
push 0x43399c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x74]
push edx
push 0x4337ec
lea eax, [esi + 0x22ac]
push eax
call fcn.0041b42d
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x80]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push 0x437b70
push str.METHOD
push str.SERIAL_NO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x74]
lea eax, [esi + 0x22b0]
push edx
push 0x4337ec
push eax
call fcn.0041b42d
add esp, 0xc
add esi, 0x14c
mov dword [esp + 0x10], 8
mov eax, dword [ebp]
push eax
push 1
push str.LVDE
push 0x433978
call ebx
mov byte [esi + 2], al
mov eax, dword [ebp]
push eax
push 1
push 0x433974
push 0x433978
call ebx
mov byte [esi + 3], al
mov eax, dword [ebp]
push eax
push 0
push str.LED0_IDLE
push 0x433964
call ebx
mov cl, byte [esi]
shl al, 4
and cl, 0xf
or al, cl
mov byte [esi], al
mov eax, dword [ebp]
push eax
push 0
push str.LED0_BUSY
push 0x433964
call ebx
mov cl, byte [esi]
mov dl, cl
xor dl, al
and dl, 0xf
xor dl, cl
mov byte [esi], dl
mov eax, dword [ebp]
push eax
push 0
push str.LED1_IDLE
push 0x433964
call ebx
mov cl, byte [esi + 1]
shl al, 4
and cl, 0xf
or al, cl
mov byte [esi + 1], al
mov eax, dword [ebp]
push eax
push 0
push str.LED1_BUSY
push 0x433964
call ebx
mov cl, byte [esi + 1]
mov dl, cl
xor dl, al
and dl, 0xf
xor dl, cl
mov byte [esi + 1], dl
mov eax, dword [ebp]
push eax
push 0
push str.VALUE
push str.FIXED_DISK_SIZE
call ebx
shl eax, 0xa
mov dword [esi + 8], eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
push 0xa
push str.PERCENT
push str.AVAILABLE_BAD_MEMORY
call ebx
mov dword [esi - 0x44], eax
mov eax, dword [ebp]
push eax
push 0
push str.ISFULL
push str.FORMAT
call ebx
mov dword [esi - 0x3c], eax
mov eax, dword [ebp]
push eax
push 0
push str.MODE
push str.SW_PROTECT
call ebx
mov dword [esi - 0x38], eax
mov eax, dword [esp + 0x10]
add esi, 0x43c
dec eax
mov dword [esp + 0x10], eax
jne 0x40478d
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
lea eax, [esp + 0x78]
push 0x64
push eax
push 0x437b70
push str.DATA
push str.USERDATA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x64]
call fcn.00420df6
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x179]
mov byte [esp + 0x178], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x78]
push 0
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x774], 2
stosb byte es:[edi], al
call fcn.00420f08
test eax, eax
je 0x40493e
lea edx, [esp + 0x178]
push 0x200
push edx
lea ecx, [esp + 0x6c]
call fcn.00421025
lea ecx, [esp + 0x64]
call fcn.00421123
jmp 0x40494e
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x178]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov edx, 8
add eax, 0x158
mov edi, eax
mov ecx, 0x80
lea esi, [esp + 0x178]
add eax, 0x43c
dec edx
rep movsd dword es:[edi], dword [esi]
jne 0x40495c
mov esi, dword [esp + 0x24]
push str.MANUAL
mov eax, dword [esi + 0x22b0]
mov dword [esi + 0x2b40], 0
push eax
call fcn.0040db9f
add esp, 8
test eax, eax
je 0x4049ba
mov eax, dword [ebp]
push eax
push 0
push str.AUTO
push 0x4338cc
call ebx
test eax, eax
je 0x4049ba
mov dword [esi + 0x2b40], 1
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push str.Unsafe_Removal_of_Device
push str.MESSAGE
push str.REMOVAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x74]
lea eax, [esi + 0x2b44]
push edx
push 0x4337ec
push eax
call fcn.0041b42d
add esp, 0xc
add esi, 0x384
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], esi
mov eax, dword [ebp]
push eax
push 0
push str.COUNT
push str.ZONE
call ebx
mov ecx, dword [esp + 0x20]
cmp eax, 1
mov dword [ecx - 0x2c], eax
jl 0x404ea0
cmp eax, 8
jg 0x404ea0
mov edi, ecx
xor esi, esi
lea eax, [edi + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
push 0x437b70
lea ecx, [edi - 0x20]
call fcn.00420b31
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push 0
mov byte [edx + esi - 0x28], 0
mov dword [edi], 0
call fcn.0041b873
push 0x437b70
lea ecx, [edi + 0xc0]
call fcn.00420b31
push 0x437b70
lea ecx, [edi + 0xe0]
call fcn.00420b31
push 0x437b70
lea ecx, [edi + 0x100]
call fcn.00420b31
mov ecx, dword [esp + 0x2c]
inc esi
add edi, 4
add ecx, 0x14
cmp esi, 8
mov dword [esp + 0x2c], ecx
jl 0x404a4c
mov eax, dword [0x433ed8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x768], 3
mov dword [esp + 0x30], 0
mov eax, dword [ecx - 0x2c]
test eax, eax
jle 0x404dbf
mov eax, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
push ecx
push str.ZONE
push str._s_d
push edx
call fcn.0041b42d
mov eax, dword [ebp]
mov ecx, dword [esp + 0x38]
add esp, 0x10
push eax
lea eax, [esp + 0x78]
push 0x64
push eax
push 0x437b70
push str.TYPE
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, str.NORMAL
lea edi, [esp + 0x74]
mov dl, byte [edi]
mov cl, byte [esi]
mov al, dl
cmp dl, cl
jne 0x404b69
test al, al
je 0x404b65
mov cl, byte [edi + 1]
mov dl, byte [esi + 1]
mov al, cl
cmp cl, dl
jne 0x404b69
add edi, 2
add esi, 2
test al, al
jne 0x404b41
xor eax, eax
jmp 0x404b6e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404b84
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov byte [eax + edx - 0x28], 0
jmp 0x404d57
mov edi, str.SECURITY
lea esi, [esp + 0x74]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x404bb5
test al, al
je 0x404bb1
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x404bb5
add esi, 2
add edi, 2
test al, al
jne 0x404b8d
xor eax, eax
jmp 0x404bba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404ccb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov byte [ecx + eax - 0x28], 1
mov eax, dword [ebp]
push eax
push 0
push str.SECURITY_COUNT
push edx
call ebx
mov ecx, dword [esp + 0x2c]
xor esi, esi
test eax, eax
mov dword [ecx], eax
jle 0x404c4d
push esi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x78]
push str.FILE
lea edx, [esp + 0x3c]
push str._s_d
push edx
rep stosd dword es:[edi], eax
call fcn.0041b42d
mov eax, dword [ebp]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
add esp, 0x10
push eax
lea eax, [esp + 0x78]
push 0x64
push eax
push 0x437b70
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0041b9bc
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, dword [eax]
jl 0x404bed
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
mov edx, dword [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push 0x437b70
push str.PASSWORD
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x74]
push eax
lea ecx, [esi + 0xc0]
call fcn.00420b31
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
mov edx, dword [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push 0x64
push ecx
push 0x437b70
push str.HINT
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x74]
lea ecx, [esi + 0xe0]
push eax
jmp 0x404d52
mov edi, str.PRIVATE
lea esi, [esp + 0x74]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x404cfc
test al, al
je 0x404cf8
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x404cfc
add esi, 2
add edi, 2
test al, al
jne 0x404cd4
xor eax, eax
jmp 0x404d01
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404e44
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x74]
lea edx, [esp + 0x74]
mov byte [ecx + eax - 0x28], 2
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
mov eax, dword [esp + 0x2c]
push 0x64
push edx
push 0x437b70
push str.DATA
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [edx + 0x100]
call fcn.00420b31
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push 0x64
push eax
push 0x437b70
push str.SIZE
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x74]
push edx
lea ecx, [esi - 0x20]
call fcn.00420b31
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add esi, 4
inc eax
mov edx, dword [ecx - 0x2c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], eax
add esi, 0x14
cmp eax, edx
mov dword [esp + 0x10], esi
jl 0x404aef
lea ecx, [esp + 0x34]
mov byte [esp + 0x768], 2
call fcn.004209a8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc eax
add edx, 0x43c
cmp eax, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jl 0x404a12
mov edi, dword [esp + 0x24]
push str.MANUAL
mov eax, dword [edi + 0x22b0]
push eax
call fcn.0040db9f
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
test eax, eax
mov esi, 0x4330e0
jne 0x404ee8
mov edx, dword [esi]
mov ecx, edi
push edx
call fcn.0041eb9c
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0xcf
push eax
call ebx
add esi, 4
cmp esi, 0x433100
jl 0x404e1b
jmp 0x404f0c
push 0
push 0
push str.Invalid_Zone_Type
call fcn.004236c6
lea ecx, [esp + 0x34]
mov byte [esp + 0x768], 2
call fcn.004209a8
lea ecx, [esp + 0x64]
mov byte [esp + 0x768], 1
call fcn.00420e4b
lea ecx, [esp + 0x28]
mov byte [esp + 0x768], 0
call fcn.004209a8
lea ecx, [esp + 0x38]
mov dword [esp + 0x768], 0xffffffff
call fcn.00420e4b
xor eax, eax
jmp 0x404f47
push 0
push 0
push str.Invalid_Zone_Count
call fcn.004236c6
lea ecx, [esp + 0x64]
mov byte [esp + 0x768], 1
call fcn.00420e4b
lea ecx, [esp + 0x28]
mov byte [esp + 0x768], 0
call fcn.004209a8
lea ecx, [esp + 0x38]
mov dword [esp + 0x768], 0xffffffff
call fcn.00420e4b
xor eax, eax
jmp 0x404f47
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.0041eb9c
mov edx, dword [eax + 0x1c]
push 0
push 1
push 0xcf
push edx
call ebx
add esi, 4
cmp esi, 0x433100
jl 0x404ee8
lea ecx, [esp + 0x64]
mov byte [esp + 0x768], 1
call fcn.00420e4b
lea ecx, [esp + 0x28]
mov byte [esp + 0x768], 0
call fcn.004209a8
lea ecx, [esp + 0x38]
mov dword [esp + 0x768], 0xffffffff
call fcn.00420e4b
mov eax, 1
mov ecx, dword [esp + 0x760]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x75c
ret