Function at 0x434758
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9b4
xor eax, eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x1ff
mov edx, dword [ebp + 0xc]
lea esi, [ebx + 0x5ac]
add edx, 4
push edx
push esi
call fcn.004989f4
add esp, 0xc
mov byte [ebx + 0x7ab], 0
push esi
call fcn.00454ca4
cmp byte [ebx + 0x5ac], 0
pop ecx
jne 0x4347e7
push 0xa0
lea eax, [ebp - 0xf4]
push eax
push 0x469
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0xf4]
push ecx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
push 0x20
lea esi, [ebx + 0x5ac]
push esi
call fcn.004988ed
add esp, 8
mov dword [ebp - 0x28], eax
test eax, eax
je 0x434a23
push esi
call fcn.004987e8
pop ecx
cmp eax, 0x10
jb 0x434a23
mov edx, dword [ebp - 0x28]
sub edx, esi
cmp edx, 0xe
jl 0x434a23
mov esi, 1
xor edx, edx
lea eax, [ebx + 0x5ac]
movsx ecx, byte [eax]
test byte [ecx*2 + str.________________________________H], 4
jne 0x43483d
xor esi, esi
inc edx
inc eax
cmp edx, 0xe
jl 0x43482e
test esi, esi
je 0x434974
push 4
lea eax, [ebx + 0x5ac]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x30], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 8], eax
push 2
lea eax, [ebx + 0x5b0]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x32], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 0xc], eax
push 2
lea eax, [ebx + 0x5b2]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x32], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 0x10], eax
push 2
lea eax, [ebx + 0x5b4]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x32], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 0x14], eax
push 2
lea eax, [ebx + 0x5b6]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x32], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 0x18], eax
push 2
lea eax, [ebx + 0x5b8]
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x32], 0
push ecx
call fcn.004a2f54
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0x7bc
jl 0x434972
cmp dword [ebp - 8], 0x81b
jg 0x434972
cmp dword [ebp - 0xc], 1
jl 0x434972
cmp dword [ebp - 0xc], 0xc
jg 0x434972
cmp dword [ebp - 0x10], 1
jl 0x434972
cmp dword [ebp - 0x10], 0x1f
jg 0x434972
cmp dword [ebp - 0x18], 0
jl 0x434972
cmp dword [ebp - 0x18], 0x3b
jg 0x434972
cmp dword [ebp - 0x1c], 0
jl 0x434972
cmp dword [ebp - 0x1c], 0x3b
jle 0x434974
xor esi, esi
test esi, esi
je 0x4349f7
movsx eax, byte [ebx + 0x5ba]
cmp eax, 0x20
je 0x4349e9
movsx eax, byte [ebx + 0x5ba]
cmp eax, 0x2d
je 0x434995
cmp eax, 0x2b
jne 0x4349e9
xor edx, edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x54], ecx
lea eax, [ebx + 0x5ba]
jmp 0x4349b3
mov ecx, dword [ebp - 0x54]
mov edi, ecx
mov cl, byte [eax]
mov byte [edi], cl
inc edx
inc dword [ebp - 0x54]
inc eax
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x4349a5
mov byte [ebp + edx - 0x34], 0
lea eax, [ebp - 0x34]
push eax
call fcn.004a2f54
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffc18
jl 0x4349df
cmp dword [ebp - 0x20], 0x3e8
jle 0x4349e3
xor esi, esi
jmp 0x4349f7
mov byte [ebp - 2], 1
jmp 0x4349f7
movsx eax, byte [ebx + 0x5ba]
cmp eax, 0x20
je 0x4349f7
xor esi, esi
test esi, esi
je 0x434a23
mov byte [ebp - 1], 1
lea esi, [ebx + 0x5ac]
push esi
call fcn.004987e8
pop ecx
inc eax
push eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
push esi
call fcn.004985e4
add esp, 0xc
push esi
call fcn.00454ca4
pop ecx
cmp dword [ebx + 0x194], 0
setne dl
and edx, 1
push edx
push 0
push 0
lea ecx, [ebx + 0x3ac]
push ecx
lea eax, [ebx + 0x1ac]
push eax
lea esi, [ebx + 0x5ac]
push esi
lea eax, [ebp - 0x21]
push eax
call fcn.004054cc
add esp, 0x1c
mov edx, dword [ebx + 0xab]
mov dword [ebp - 0x2fa], edx
mov dword [ebp - 0x538], 0x15
cmp byte [ebp - 1], 0
je 0x434a7c
mov dword [ebp - 0x538], 7
lea ecx, [ebx + 0xbac]
xor eax, eax
mov edi, ecx
push esi
or ecx, 0xffffffff
lea esi, [ebp - 0x530]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
push esi
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x4fa]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebx + 0xc97]
mov dword [ebp - 0x4fe], eax
mov edx, dword [0x4b4a78]
mov dword [ebp - 0x534], edx
lea ecx, [ebp - 0x538]
push ecx
push 0
push 0x404
mov eax, dword [ebx + 0x3f]
push eax
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x534], 0
jne 0x434b37
push 0xa0
lea edx, [ebp - 0xf4]
push edx
push 0x46a
mov ecx, dword [ebx + 0x3b]
push ecx
call sub.USER32.dll_LoadStringA
lea eax, [ebp - 0xf4]
push eax
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
lea edi, [ebx + 0x5ac]
push edi
call fcn.00454ec8
pop ecx
test eax, eax
jne 0x434bbb
push edi
call fcn.00454f50
pop ecx
test eax, eax
jne 0x434bbb
push 0xa0
lea eax, [ebp - 0xf4]
push eax
push 0x46b
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0x194], 0
setne cl
and ecx, 1
lea eax, [ebx + 0x3ac]
push ecx
push eax
push edi
lea edx, [ebp - 0x21]
push edx
call fcn.004057fc
add esp, 0x10
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea eax, [ebp - 0x2f4]
push eax
call fcn.0049d914
add esp, 0xc
lea edx, [ebp - 0x2f4]
push edx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
cmp byte [ebp - 1], 0
je 0x434e0d
push 0
push 0
push 3
push 0
push 1
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x434c49
push 0xa0
lea eax, [ebp - 0xf4]
push eax
push 0x46b
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0x194], 0
setne cl
and ecx, 1
lea eax, [ebx + 0x3ac]
push ecx
push eax
push edi
lea edx, [ebp - 0x21]
push edx
call fcn.004057fc
add esp, 0x10
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea eax, [ebp - 0x2f4]
push eax
call fcn.0049d914
add esp, 0xc
lea edx, [ebp - 0x2f4]
push edx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
mov byte [ebp - 0x35], 0
mov cx, word [ebp - 8]
mov word [ebp - 0x548], cx
mov ax, word [ebp - 0xc]
mov word [ebp - 0x546], ax
mov dx, word [ebp - 0x10]
mov word [ebp - 0x542], dx
mov cx, word [ebp - 0x14]
mov word [ebp - 0x540], cx
lea ecx, [ebp - 0x40]
mov ax, word [ebp - 0x18]
mov word [ebp - 0x53e], ax
lea eax, [ebp - 0x548]
mov dx, word [ebp - 0x1c]
mov word [ebp - 0x53c], dx
mov word [ebp - 0x53a], 0
mov word [ebp - 0x544], 0
push ecx
push eax
call sub.KERNEL32.dll_SystemTimeToFileTime
test eax, eax
je 0x434d93
cmp byte [ebp - 2], 0
je 0x434d4e
lea edx, [ebp - 0x5f4]
push edx
call sub.KERNEL32.dll_GetTimeZoneInformation
mov edi, eax
cmp eax, 0xffffffff
je 0x434d4e
cmp edi, 1
jne 0x434ce7
mov edx, dword [ebp - 0x5a0]
add dword [ebp - 0x5f4], edx
cmp edi, 2
jne 0x434cf8
mov ecx, dword [ebp - 0x54c]
add dword [ebp - 0x5f4], ecx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x5f4]
neg eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov edx, eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
xor edx, edx
add dword [ebp - 0x50], eax
adc dword [ebp - 0x4c], edx
push 0
push 0x23c34600
mov eax, dword [ebp - 0x20]
cdq
call fcn.004a2af4
add dword [ebp - 0x50], eax
adc dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x50]
and eax, 0xffffffff
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov eax, edx
xor edx, edx
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x40]
push ecx
call sub.KERNEL32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x434d93
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x48]
push ecx
push esi
call sub.KERNEL32.dll_SetFileTime
test eax, eax
je 0x434d93
push 0xa0
lea eax, [ebp - 0x2f4]
push eax
push 0x489
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
mov byte [ebp - 0x35], 1
cmp byte [ebp - 0x35], 0
jne 0x434df2
push 0xa0
lea ecx, [ebp - 0xf4]
push ecx
push 0x48a
mov eax, dword [ebx + 0x3b]
push eax
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0x194], 0
setne dl
and edx, 1
push edx
lea ecx, [ebx + 0x3ac]
push ecx
lea eax, [ebx + 0x5ac]
push eax
lea edx, [ebp - 0x21]
push edx
call fcn.004057fc
add esp, 0x10
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea eax, [ebp - 0x2f4]
push eax
call fcn.0049d914
add esp, 0xc
push esi
call sub.KERNEL32.dll_CloseHandle
lea edx, [ebp - 0x2f4]
push edx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
lea ecx, [ebp - 0x64c]
push ecx
lea esi, [ebx + 0x5ac]
push esi
call fcn.0049f51c
add esp, 8
test eax, eax
jne 0x434f19
lea eax, [ebp - 0x632]
push eax
call fcn.004a9328
pop ecx
test eax, eax
jne 0x434ea1
push 0xa0
lea edx, [ebp - 0xf4]
push edx
push 0x46d
mov ecx, dword [ebx + 0x3b]
push ecx
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0x194], 0
setne al
and eax, 1
lea edx, [ebx + 0x3ac]
push eax
push edx
push esi
lea ecx, [ebp - 0x21]
push ecx
call fcn.004057fc
add esp, 0x10
push eax
lea eax, [ebp - 0xf4]
push eax
lea edx, [ebp - 0x2f4]
push edx
call fcn.0049d914
add esp, 0xc
lea ecx, [ebp - 0x2f4]
push ecx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434f19
mov edx, dword [eax]
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax + 8]
push edx
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x628]
mov edx, dword [eax + 0x10]
inc edx
push edx
mov eax, dword [eax + 0x14]
add eax, 0x76c
push eax
push str._04d_02d_02d_02d_02d_02d
push ecx
call fcn.0049d914
add esp, 0x20
push 0xa0
lea eax, [ebp - 0xf4]
push eax
push 0x46c
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0x628]
push ecx
lea eax, [ebp - 0xf4]
push eax
lea edx, [ebp - 0x2f4]
push edx
call fcn.0049d914
add esp, 0xc
lea ecx, [ebp - 0x2f4]
push ecx
push ebx
call fcn.0042d938
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret