Function at 0x4c9320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d329
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
call fcn.0040baa0
mov esi, eax
mov dword [ebp - 0x25c], esi
mov eax, dword [ebp + 0xc]
sub eax, 0x110
je 0x4c99ec
sub eax, 1
jne case.0x4c9477.6704
mov eax, ebx
shr eax, 0x10
mov ecx, 0x300
cmp ax, cx
jne 0x4c9568
movzx ebx, bx
lea eax, [ebx - 0x19d0]
cmp eax, 3
ja case.default.0x4c93a0
jmp dword [eax*4 + 0x4ca2b8]
push 0
push 0
push 0x19d0
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [esi + 0x1c8], eax
mov eax, 1
jmp 0x4ca29a
push 0
push 0
push 0x19d2
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [esi + 0x1d0], eax
mov eax, 1
jmp 0x4ca29a
push 0
push 0
push 0x19d1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [esi + 0x1cc], eax
mov eax, 1
jmp 0x4ca29a
push 0
push 0
push 0x19d3
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [esi + 0x1d4], eax
mov eax, 1
jmp 0x4ca29a
mov dword [edi + 0x2c], ebx
push 0x100
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x228]
push eax
push 0
push 0xc
push 0x1a46
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add ebx, 0xffffe5d3
cmp ebx, 0xd
ja case.0x4c9477.6704
movzx eax, byte [ebx + 0x4ca2e4]
jmp dword [eax*4 + 0x4ca2c8]
add esi, 0xf8
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
add esi, 0x110
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
add esi, 0x128
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
add esi, 0x160
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
add esi, 0x178
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
add esi, 0x190
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00403ef0
push esi
call fcn.004cbd30
add esp, 4
mov eax, 1
jmp 0x4ca29a
mov ecx, 0x100
cmp ax, cx
jne 0x4c96d2
movzx ecx, bx
mov dword [edi + 0x2c], ecx
lea eax, [ecx - 0x1a2d]
cmp eax, 0xd
ja case.0x4c9592.6704
movzx eax, byte [eax + 0x4ca310]
jmp dword [eax*4 + 0x4ca2f4]
mov ebx, 0x1a35
mov dword [ebp - 0x25c], 0x1a34
jmp 0x4c95e9
mov ebx, 0x1a36
mov dword [ebp - 0x25c], 0x1a34
jmp 0x4c95e9
mov ebx, 0x1a37
mov dword [ebp - 0x25c], 0x1a34
jmp 0x4c95e9
mov ebx, 0x1a40
jmp 0x4c95df
mov ebx, 0x1a41
jmp 0x4c95df
mov ebx, 0x1a42
mov dword [ebp - 0x25c], 0x1a3f
push 0x100
lea eax, [ebp - 0x228]
push eax
push ecx
push dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
call esi
lea eax, [ebp - 0x228]
push eax
push 0
push 0xc
push 0x1a46
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x100
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x25c]
push dword [edi + 0xc]
call esi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x240]
call fcn.004029a0
mov dword [ebp - 4], 0xb
push 0x5883bc
lea ecx, [ebp - 0x240]
call fcn.0040a2e0
push 0x100
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [edi + 0xc]
call esi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040a2e0
push 0x5872c4
lea ecx, [ebp - 0x240]
call fcn.0040a2e0
cmp dword [ebp - 0x22c], 8
mov eax, dword [ebp - 0x240]
jae 0x4c96a3
lea eax, [ebp - 0x240]
push eax
push 0
push 0xc
push 0x1a47
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004038c0
mov eax, 1
jmp 0x4ca29a
cmp ax, 1
jne 0x4c97f3
movzx eax, bx
mov dword [ebp - 0x260], eax
push 0
push 0
push 0x147
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, eax
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x260]
lea ecx, [eax - 0x1a30]
cmp ecx, 0xc
ja case.0x4c971c.6706
movzx ecx, byte [ecx + 0x4ca32c]
jmp dword [ecx*4 + 0x4ca320]
push 0
push edx
push 0x150
push eax
push dword [edi + 0xc]
mov eax, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
call eax
mov ecx, 0x1a30
push eax
cmp bx, cx
jne 0x4c9756
lea ecx, [esi + 0x140]
call fcn.00403ef0
mov eax, 1
jmp 0x4ca29a
lea ecx, [esi + 0x1a8]
call fcn.00403ef0
mov eax, 1
jmp 0x4ca29a
push 0
push edx
push 0x149
push eax
push dword [edi + 0xc]
mov eax, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
call eax
cmp eax, 3
jae case.0x4c9592.6704
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x264]
push 0x148
mov eax, dword [ebp - 0x260]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, 0x1a31
xor eax, eax
cmp bx, cx
setne al
dec eax
and eax, 0xffffff98
add eax, 0x170
add esi, eax
cmp word [ebp - 0x1c], 0
jne 0x4c97d6
mov dword [esi + 0x54], 0
mov eax, 1
jmp 0x4ca29a
push 0xa
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0055456f
add esp, 0xc
mov dword [esi + 0x54], eax
mov eax, 1
jmp 0x4ca29a
add ebx, 0xffffe637
cmp ebx, 0x7a
ja case.0x4c9809.6602
movzx eax, byte [ebx + 0x4ca368]
jmp dword [eax*4 + 0x4ca33c]
push 0
push 0
push 0xf0
push 0x19c9
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
sete al
mov byte [esi + 0xf0], al
mov eax, 1
jmp 0x4ca29a
mov dword [esi + 0xf4], 0
mov eax, 1
jmp 0x4ca29a
mov dword [esi + 0xf4], 1
mov eax, 1
jmp 0x4ca29a
mov dword [esi + 0xf4], 2
mov eax, 1
jmp 0x4ca29a
mov dword [esi + 0xf4], 3
mov eax, 1
jmp 0x4ca29a
xor dword [esi + 0x158], 1
mov eax, 1
jmp 0x4ca29a
xor dword [esi + 0x158], 2
mov eax, 1
jmp 0x4ca29a
xor dword [esi + 0x1c0], 1
mov eax, 1
jmp 0x4ca29a
xor dword [esi + 0x1c0], 2
mov eax, 1
jmp 0x4ca29a
mov dword [ebp - 4], 0xc
cmp dword [edi + 0x2c], 0
je case.0x4c9592.6704
push 0
push 0
push 0x147
push 0x1a44
push dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
call esi
push 0
push eax
push 0x150
push 0x1a44
push dword [edi + 0xc]
call esi
mov ebx, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
push eax
push 0xb0
push dword [edi + 0x2c]
push dword [edi + 0xc]
call esi
lea eax, [ebp - 0x228]
push eax
push 0x100
push 0xd
push dword [edi + 0x2c]
push dword [edi + 0xc]
call esi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x240]
call fcn.004029a0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x230]
cmp ecx, edx
ja 0x4c9984
mov eax, dword [ebp - 0x25c]
cmp eax, edx
jbe 0x4c9994
mov eax, edx
mov dword [ebp - 0x25c], eax
mov ecx, edx
mov dword [ebp - 0x260], ecx
push ebx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x240]
call fcn.004c4190
cmp dword [ebp - 0x22c], 8
mov eax, dword [ebp - 0x240]
jae 0x4c99b9
lea eax, [ebp - 0x240]
push eax
push dword [edi + 0x2c]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x240]
call fcn.004038c0
mov dword [ebp - 4], 0xffffffff
mov eax, 1
jmp 0x4ca29a
push 0
movzx eax, byte [esi + 0xf0]
push eax
push 0xf1
push 0x19c9
push dword [edi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
call ebx
xor eax, eax
mov ecx, dword [esi + 0xf4]
cmp ecx, 3
ja case.default.0x4c9a18
jmp dword [ecx*4 + 0x4ca3e4]
mov eax, 0x19cb
jmp case.default.0x4c9a18
mov eax, 0x19cc
jmp case.default.0x4c9a18
mov eax, 0x19cd
jmp case.default.0x4c9a18
mov eax, 0x19ce
push 0
push 1
push 0xf1
push eax
push dword [edi + 0xc]
call ebx
push 0
push dword [esi + 0x1c8]
push 0x19d0
push dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemInt]
call esi
push 0
mov eax, dword [ebp - 0x25c]
push dword [eax + 0x1d0]
push 0x19d2
push dword [edi + 0xc]
call esi
push 0
mov eax, dword [ebp - 0x25c]
push dword [eax + 0x1cc]
push 0x19d1
push dword [edi + 0xc]
call esi
push 0
mov eax, dword [ebp - 0x25c]
push dword [eax + 0x1d4]
push 0x19d3
push dword [edi + 0xc]
call esi
mov esi, dword [ebp - 0x25c]
lea eax, [esi + 0xf8]
cmp dword [eax + 0x14], 8
jb 0x4c9abc
mov eax, dword [eax]
push eax
push 0x1a2d
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esi + 0x110]
cmp dword [eax + 0x14], 8
jb 0x4c9ad9
mov eax, dword [eax]
push eax
push 0x1a2e
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esi + 0x128]
cmp dword [eax + 0x14], 8
jb 0x4c9af6
mov eax, dword [eax]
push eax
push 0x1a2f
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esi + 0x160]
cmp dword [eax + 0x14], 8
jb 0x4c9b13
mov eax, dword [eax]
push eax
push 0x1a38
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esi + 0x178]
cmp dword [eax + 0x14], 8
jb 0x4c9b30
mov eax, dword [eax]
push eax
push 0x1a39
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esi, 0x190
cmp dword [esi + 0x14], 8
jb 0x4c9b4d
mov esi, dword [esi]
push esi
push 0x1a3a
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, 6
push esi
push 0x588ddc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0
push 0x143
push 0x1a31
push dword [edi + 0xc]
call ebx
lea eax, [ebp - 0x28]
push eax
push 0
push 0x143
push 0x1a3c
push dword [edi + 0xc]
call ebx
inc esi
cmp esi, 0xf
jb 0x4c9b61
mov esi, dword [ebp - 0x25c]
mov ecx, dword [esi + 0x231b4]
sub ecx, dword [esi + 0x231b0]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x264], ecx
je 0x4c9ca4
xor esi, esi
jmp 0x4c9be0
mov eax, dword [ebp - 0x25c]
mov eax, dword [eax + 0x231b0]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x4c9bf6
mov eax, dword [eax]
push eax
push 0
push 0x143
push 0x1a30
push dword [edi + 0xc]
call ebx
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x25c]
mov ecx, dword [eax + 0x231b0]
add ecx, esi
cmp dword [ecx + 0x14], 8
jb 0x4c9c24
mov ecx, dword [ecx]
push ecx
push 0
push 0x143
push 0x1a3b
push dword [edi + 0xc]
call ebx
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ecx + 0x231b0]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x4c9c4c
mov eax, dword [eax]
push eax
push dword [ebp - 0x260]
push 0x151
push 0x1a30
push dword [edi + 0xc]
call ebx
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ecx + 0x231b0]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x4c9c78
mov eax, dword [eax]
push eax
push dword [ebp - 0x260]
push 0x151
push 0x1a3b
push dword [edi + 0xc]
call ebx
add esi, 0x18
sub dword [ebp - 0x264], 1
jne 0x4c9be0
mov esi, dword [ebp - 0x25c]
lea eax, [esi + 0x140]
cmp dword [eax + 0x14], 8
jb 0x4c9cb2
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push 0x158
push 0x1a30
push dword [edi + 0xc]
call ebx
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push 0
push ecx
push 0x14e
push 0x1a30
push dword [edi + 0xc]
call ebx
lea eax, [esi + 0x1a8]
cmp dword [eax + 0x14], 8
jb 0x4c9ced
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push 0x158
push 0x1a3b
push dword [edi + 0xc]
call ebx
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push 0
push ecx
push 0x14e
push 0x1a3b
push dword [edi + 0xc]
call ebx
push dword [esi + 0x15c]
push 0x588ddc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x14d
push 0x1a31
push dword [edi + 0xc]
call ebx
push dword [esi + 0x1c4]
push 0x588ddc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x14d
push 0x1a3c
push dword [edi + 0xc]
call ebx
push 0
mov eax, dword [esi + 0x158]
and eax, 1
push eax
push 0xf1
push 0x1a32
push dword [edi + 0xc]
call ebx
push 0
mov eax, dword [esi + 0x158]
and eax, 1
push eax
push 0xf1
push 0x1a33
push dword [edi + 0xc]
call ebx
push 0
mov eax, dword [esi + 0x1c0]
and eax, 1
push eax
push 0xf1
push 0x1a3d
push dword [edi + 0xc]
call ebx
push 0
mov eax, dword [esi + 0x1c0]
and eax, 1
push eax
push 0xf1
push 0x1a3e
push dword [edi + 0xc]
call ebx
push str.__FULL_CURRENT_PATH_
push str.Full_file_name_path
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov ecx, eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x24]
cmp ecx, edx
jae 0x4c9f63
mov eax, dword [edi + 0x20]
cmp eax, ecx
ja 0x4c9f63
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x264], eax
mov ecx, dword [edi + 0x24]
cmp ecx, dword [edi + 0x28]
jne 0x4c9e4b
push 1
lea ecx, [edi + 0x20]
call fcn.004bf280
mov eax, dword [ebp - 0x264]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x260], edx
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [edi + 0x20]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x4ca086
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
xor eax, eax
mov word [edx], ax
cmp dword [ecx + 0x14], 8
jae 0x4c9eaa
mov eax, dword [ecx + 0x10]
add eax, 1
je 0x4c9eb4
add eax, eax
push eax
push ecx
push edx
call fcn.00543060
add esp, 0xc
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x260]
jmp 0x4c9eb4
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4c9ed8
mov eax, dword [ecx]
jmp 0x4c9eda
mov eax, ecx
xor ebx, ebx
mov word [eax], bx
mov byte [ebp - 4], 1
add ecx, 0x18
mov dword [ebp - 0x264], ecx
add edx, 0x18
mov dword [ebp - 0x260], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], ebx
xor eax, eax
mov word [edx], ax
cmp dword [ecx + 0x14], 8
jae 0x4c9f2d
mov eax, dword [ecx + 0x10]
add eax, 1
je 0x4c9f37
add eax, eax
push eax
push ecx
push edx
call fcn.00543060
add esp, 0xc
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x260]
jmp 0x4c9f37
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4c9f59
mov ecx, dword [ecx]
xor eax, eax
mov word [ecx], ax
jmp 0x4ca07c
cmp edx, dword [edi + 0x28]
jne 0x4c9f78
push 1
lea ecx, [edi + 0x20]
call fcn.004bf280
mov ecx, dword [ebp - 0x264]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x4ca086
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
xor eax, eax
mov word [edx], ax
cmp dword [ecx + 0x14], 8
jae 0x4c9fc8
mov eax, dword [ecx + 0x10]
add eax, 1
je 0x4c9fd2
add eax, eax
push eax
push ecx
push edx
call fcn.00543060
add esp, 0xc
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x260]
jmp 0x4c9fd2
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4c9ff6
mov eax, dword [ecx]
jmp 0x4c9ff8
mov eax, ecx
xor ebx, ebx
mov word [eax], bx
mov byte [ebp - 4], 3
add ecx, 0x18
mov dword [ebp - 0x264], ecx
add edx, 0x18
mov dword [ebp - 0x260], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], ebx
xor eax, eax
mov word [edx], ax
cmp dword [ecx + 0x14], 8
jae 0x4ca04b
mov eax, dword [ecx + 0x10]
add eax, 1
je 0x4ca055
add eax, eax
push eax
push ecx
push edx
call fcn.00543060
add esp, 0xc
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x260]
jmp 0x4ca055
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], 0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4ca077
mov ecx, dword [ecx]
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add dword [edi + 0x24], 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__FILE_NAME_
push str.File_name
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 5
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__CURRENT_DIRECTORY_
push str.File_directory
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 6
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__CURRENT_PRINTING_PAGE_
push str.Page
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 7
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__SHORT_DATE_
push str.Short_date_format
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 8
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__LONG_DATE_
push str.Long_date_format
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 9
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
push str.__TIME_
push str.Time
lea ecx, [ebp - 0x258]
call fcn.004c2740
mov dword [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x20]
call fcn.004c3f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0050efd0
mov ecx, dword [edi + 0x24]
sub ecx, dword [edi + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x264], eax
je 0x4ca26e
xor ecx, ecx
mov dword [ebp - 0x260], ecx
lea ecx, [ecx]
mov eax, dword [edi + 0x20]
add eax, ecx
cmp dword [eax + 0x14], 8
jb 0x4ca21d
mov eax, dword [eax]
push eax
push 0
push 0x143
push 0x1a44
push dword [edi + 0xc]
call ebx
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0x260]
add edx, 0x18
add ecx, edx
cmp dword [ecx + 0x14], 8
jb 0x4ca245
mov ecx, dword [ecx]
push ecx
push eax
push 0x151
push 0x1a44
push dword [edi + 0xc]
call ebx
mov ecx, dword [ebp - 0x260]
add ecx, 0x30
mov dword [ebp - 0x260], ecx
sub dword [ebp - 0x264], 1
jne 0x4ca210
push 0
push 0
push 0x14e
push 0x1a44
push dword [edi + 0xc]
call ebx
mov eax, dword [ebp - 0x25c]
mov eax, dword [eax + 0x231dc]
test eax, eax
je case.0x4c9477.6704
push 6
push dword [edi + 0xc]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10