Function at 0x424eb0
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4db06c]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], eax
mov esi, dword [edi + 0x8e0]
test esi, esi
je 0x424f1b
cmp dword [eax + 0xc], 0
jl 0x424f1b
jg 0x424ef0
cmp dword [eax + 8], 0x80000
jb 0x424f1b
mov ecx, dword [edi + 0x6a4]
xor eax, eax
mov edx, dword [edi + 0x6a0]
and ecx, 0x40
or eax, ecx
jne 0x424f11
test dword [edi + 0x8d8], 0x2000
jne 0x424f1b
mov dword [esp + 0x4c], 1
jmp 0x424f29
mov edx, dword [edi + 0x6a0]
mov dword [esp + 0x4c], 0
mov eax, dword [edi + 0x6a4]
and edx, 2
or edx, 0
mov dword [esp + 0x1c], eax
mov ecx, 0x8000000
jne 0x424f45
mov ecx, 0x28000000
xor eax, eax
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x4c], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
cmove esi, eax
mov eax, dword [edi + 0x898]
neg eax
sbb eax, eax
and eax, 0x2000000
or esi, eax
mov eax, dword [edi + 0xd98]
or esi, ecx
lea ecx, [edi + 0xd94]
cmp eax, ecx
je 0x425027
test eax, eax
je 0x425027
mov eax, dword [esp + 0x28]
test eax, eax
je 0x424fd4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + 0x20]
lea eax, [esp + 0x50]
push eax
push str.x_p
movups xmmword [esp + 0x78], xmm0
call fcn.0045f780
int3
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push str.n_p
call fcn.0045f780
int3
mov ecx, edi
call fcn.0041ab10
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x20], 1
je 0x42560b
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, ecx
or eax, edx
je 0x42509f
push 5
push ecx
push esi
mov esi, dword [esp + 0x34]
sub esp, 8
mov ecx, edi
push 3
push SysReAllocString
lea eax, [esi + 0x28]
push eax
call fcn.00428c60
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x42508b
mov eax, dword [esi + 0x1c]
mov ecx, edi
add eax, 0x14
push 0
lea eax, [esi + eax*2]
push eax
push str.OpenFile_src_digest_
call fcn.0041a620
jmp 0x42560b
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL30.dll_GetFileSizeEx]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
jmp 0x4250a3
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x18], ecx
jne 0x425561
cmp dword [esp + 0x1c], edx
jne 0x425561
or ecx, edx
jne 0x425107
push ecx
push esi
mov ecx, edi
call fcn.00425680
mov dword [esp + 0x40], eax
test eax, eax
je 0x425536
lea esi, [edi + 0x118c]
mov dword [eax + 0x24], 0
push esi
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
push ecx
lea ecx, [edi + 0x1188]
mov dword [eax + 0x1c], 2
call fcn.0045eba0
push esi
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
jmp 0x425536
cmp dword [esp + 0x1c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x40], xmm0
jl 0x425536
jg 0x42512e
cmp dword [esp + 0x18], 0
jbe 0x425536
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
cmp dword [edi + 0x100c], 0
mov esi, 0xa
jne 0x425524
mov ecx, dword [edi + 0x1004]
test ecx, ecx
je 0x42518c
mov eax, dword [edi + 0x6a0]
and eax, 0x100
or eax, 0
je 0x42518c
cmp esi, ecx
sbb edx, edx
and edx, 0xfff40000
add edx, 0x100000
jmp 0x425192
mov edx, dword [edi + 0x8d0]
cmp dword [esp + 0x4c], 0
je 0x4251d6
mov eax, dword [edi + 0x6cc]
mov ecx, 0x14
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [edi + 0x6c8]
imul eax, ecx
cmp dword [esp + 0x1c], 0
jg 0x4251d6
jl 0x4251c1
cmp dword [esp + 0x18], eax
jae 0x4251d6
push dword [esp + 0x1c]
lea ecx, [edi + 0x690]
push dword [esp + 0x1c]
call fcn.00412d60
mov edx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x24]
js 0x4251ee
jg 0x4251f0
cmp eax, edx
ja 0x4251f0
mov edx, eax
mov ecx, dword [edi + 0x8b4]
lea esi, [ecx - 1]
add esi, edx
xor edx, edx
mov eax, esi
div ecx
sub esi, edx
lea edx, [edi + 0xd88]
mov dword [esp + 0x20], esi
mov esi, dword [edx + 4]
cmp esi, edx
jne 0x425218
xor esi, esi
jmp 0x425243
test esi, esi
je 0x425243
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x425227
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x425233
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [esi + 4], 0
mov dword [esi], 0
dec dword [edx + 8]
mov eax, dword [edi + 0xd94]
lea ecx, [edi + 0xd94]
push dword [esp + 0x20]
mov dword [esi + 4], ecx
push dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [ecx]
mov dword [eax + 4], esi
inc dword [ecx + 8]
mov eax, dword [esp + 0x44]
mov dword [ecx], esi
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x1c]
mov dword [esi + 0x24], ecx
mov ecx, edi
adc eax, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
call fcn.00425680
mov dword [esi + 0x18], eax
test eax, eax
je 0x425520
cmp dword [edi + 0x100c], 0
jne 0x425520
push esi
push dword [esp + 0x24]
mov ecx, edi
push dword [eax + 0x68]
push dword [esp + 0x38]
call fcn.00422c80
test eax, eax
je 0x425504
mov ecx, dword [esp + 0x38]
add ecx, dword [esi + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
adc eax, 0
mov dword [esp + 0x38], ecx
add ecx, edx
mov dword [esp + 0x3c], eax
adc eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jg 0x4252ee
jl 0x4252e4
cmp ecx, dword [esp + 0x18]
jae 0x4252ee
cmp byte [esi + 0x10], 0
je 0x4252ee
xor ecx, ecx
jmp 0x4252f3
mov ecx, 1
lea eax, [edi + 0xd88]
mov dword [esp + 0x20], ecx
cmp dword [eax + 4], eax
je 0x425306
test ecx, ecx
je 0x425350
mov eax, 1
nop dword [eax + eax]
mov esi, dword [edi + 0xd98]
lea ecx, [edi + 0xd94]
cmp esi, ecx
je 0x42533f
test esi, esi
je 0x42533f
push eax
push esi
push dword [esp + 0x34]
mov ecx, edi
call fcn.004189f0
mov dword [esp + 0x40], eax
cmp eax, 1
je 0x425373
cmp eax, 2
jne 0x42539b
cmp dword [edi + 0x100c], 0
mov edx, dword [esp + 0x14]
jne 0x425524
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jg 0x425536
jl 0x42514e
cmp edx, dword [esp + 0x18]
jae 0x425536
jmp 0x42514e
mov eax, dword [esp + 0x14]
add eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
adc dword [esp + 0x24], 0
sub eax, dword [esi + 8]
mov dword [esp + 0x38], eax
sbb dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
mov ecx, dword [edi + 0xd98]
lea edx, [edi + 0xd94]
cmp ecx, edx
je 0x4253e5
test ecx, ecx
je 0x4253e5
cmp dword [ecx + 4], 0
je 0x4253c2
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [edx], eax
lea edx, [edi + 0xd94]
cmp dword [ecx], 0
je 0x4253d5
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
lea edx, [edi + 0xd94]
mov dword [ecx + 4], 0
mov dword [ecx], 0
dec dword [edx + 8]
mov eax, dword [edi + 0xd88]
lea ecx, [edi + 0xd88]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov dword [eax + 4], esi
inc dword [ecx + 8]
cmp dword [esp + 0x40], 0
mov dword [ecx], esi
je 0x4254b5
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x24], eax
mov ecx, dword [edi + 0xb60]
mov eax, dword [esi + 0xc]
add dword [ecx + 0x50], eax
mov eax, dword [esp + 0x24]
adc dword [ecx + 0x54], 0
cmp eax, dword [esp + 0x1c]
jl 0x42544c
jg 0x425442
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jb 0x42544c
mov dword [esp + 0x40], 2
jmp 0x425454
mov dword [esp + 0x40], 1
mov esi, dword [esi + 0x18]
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
test esi, esi
je 0x42546f
mov eax, dword [esp + 0x40]
mov dword [esi + 0x1c], eax
push ecx
lea ecx, [edi + 0x1188]
call fcn.0045eba0
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.0041ab10
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4254a3
cmp dword [edi + 0x1004], ecx
je 0x42533f
cmp dword [edi + 0x100c], 0
jne 0x425520
mov eax, dword [esp + 0x30]
jmp 0x425310
mov esi, dword [esi + 0x18]
test esi, esi
je 0x4254ed
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
test esi, esi
je 0x4254d4
mov dword [esi + 0x1c], 5
push ecx
lea ecx, [edi + 0x1188]
call fcn.0045eba0
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x28]
push 0
mov eax, dword [esi + 0x1c]
add eax, 0x14
lea eax, [esi + eax*2]
push eax
push str.ReadFile_src_digest2_
jmp 0x425519
mov ecx, dword [esp + 0x28]
push 0
mov eax, dword [ecx + 0x1c]
add ecx, 0x28
lea eax, [ecx + eax*2]
push eax
push str.ReadFile_src_digest_
mov ecx, edi
call fcn.0041a620
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jg 0x425536
jl 0x425579
cmp edx, dword [esp + 0x18]
jb 0x425579
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x425546
push eax
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x1c]
mov ecx, edi
add eax, 0x14
push 2
lea eax, [esi + eax*2]
push eax
push str.Size_is_changed_src_digest_
call fcn.0041a620
cmp dword [esp + 0x2c], 0xffffffff
je 0x42560b
mov esi, dword [edi + 0xd98]
lea eax, [edi + 0xd94]
cmp esi, eax
je 0x4255f1
test esi, esi
je 0x4255f1
cmp esi, eax
je 0x4255f1
test esi, esi
je 0x4255f1
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4255e0
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4255c7
mov dword [eax + 0x1c], 5
push ecx
lea ecx, [edi + 0x1188]
call fcn.0045eba0
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov esi, dword [esi + 4]
lea eax, [edi + 0xd94]
cmp esi, eax
je 0x4255f1
test esi, esi
jne 0x4255a0
mov esi, dword [esp + 0x2c]
lea eax, [edi + 0xd84]
push eax
push esi
mov ecx, edi
call fcn.004192f0
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
xor eax, eax
push 0
push ecx
cmp dword [ecx + 0x20], 1
mov ecx, edi
setne al
add eax, 3
mov dword [esp + 0x38], eax
call fcn.00425680
mov esi, eax
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_EnterCriticalSection]
test esi, esi
je 0x425643
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
push ecx
lea ecx, [edi + 0x1188]
call fcn.0045eba0
lea eax, [edi + 0x118c]
push eax
call dword [sym.imp.KERNEL30.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret 4