Function at 0x444526
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], ecx
lea ecx, [ebp + 8]
call fcn.00431e56
cmp dword [0x4ad0b8], 0
jne 0x444548
xor eax, eax
inc eax
jmp 0x444956
push ebx
push esi
push edi
lea ecx, [ebp + 8]
call fcn.0043208a
lea ecx, [ebp - 0x24]
call fcn.00435d62
lea ecx, [ebp - 0x3c]
call fcn.00435d62
lea ecx, [ebp - 0x38]
call fcn.00435d62
lea ecx, [ebp - 0x34]
call fcn.00435d62
push 2
pop edi
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x2c], 6
call fcn.00430961
push 0xf
push dword [ebp + 8]
mov byte [ebp - 1], 0
push 0x49ba40
call fcn.004318b1
add esp, 0x10
test al, al
je 0x444605
add dword [ebp + 8], 0x1e
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
test cx, cx
je 0x4445c6
mov eax, ecx
call fcn.0040bc38
test al, al
je 0x4445f6
mov byte [ebp - 1], 1
jmp 0x4445f6
mov eax, ecx
call fcn.0040bc38
test al, al
jne 0x4445fb
cmp cx, 0x2a
jne 0x4445e3
or byte [ebp - 1], 2
jmp 0x4445ed
cmp cx, 0x23
jne 0x4445ed
or byte [ebp - 1], 4
add dword [ebp + 8], edi
mov eax, dword [ebp + 8]
mov cx, word [eax]
test cx, cx
jne 0x4445cc
lea eax, [ebp + 8]
push eax
call fcn.00430961
pop ecx
or ebx, 0xffffffff
push ebx
lea eax, [ebp + 8]
push eax
push 0x49ba38
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x444621
mov dword [ebp - 0xc], ebx
push ebx
lea eax, [ebp + 8]
push eax
push 0x49ba30
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x44463e
mov dword [ebp - 0xc], 0xfffffffe
push ebx
lea eax, [ebp + 8]
push eax
push 0x49ba28
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x44465b
mov dword [ebp - 0xc], 0xfffffffc
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
mov byte [ebp - 2], 0
jne 0x444679
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 2], 1
call fcn.00430961
pop ecx
mov ecx, dword [ebp - 8]
push 0x3b
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
cmp byte [ebp - 1], 0
je 0x44484f
lea ecx, [ebp - 0xc]
call fcn.00435d62
mov ecx, dword [ebp - 8]
push 0x3b
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 4
xor esi, esi
xor ebx, ebx
call fcn.00402b8a
lea ecx, [ebp - 0x14]
call fcn.00435d62
mov edi, dword [ebp - 0x28]
test edi, edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov byte [ebp + 0xf], 1
mov dword [ebp - 0x10], esi
je 0x444737
cmp byte [edi], bl
je 0x444700
push edi
call dword [0x4ad100]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x444737
and dword [ebp - 0x1c], ebx
push edi
call dword [0x4ad104]
test eax, eax
je 0x444737
mov esi, dword [eax + 0xc]
cmp dword [esi], 0
mov cx, word [eax + 0xa]
mov word [ebp - 0x20], cx
mov dword [ebp - 0x10], esi
je 0x444737
mov al, byte [ebp - 1]
mov byte [ebp + 0xf], al
mov eax, dword [esi]
test eax, eax
je 0x444824
add esi, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
test byte [ebp - 1], 4
lea ecx, [ebp - 0x14]
je 0x4447aa
lea eax, [ebx + 0x3e]
push eax
call fcn.00435da9
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
lea eax, [eax + ebx*2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x2c], eax
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
movsx eax, word [ebp - 0x20]
cmp eax, 0x20
jbe 0x444773
push 0x20
pop eax
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x74]
push eax
call fcn.004102e0
push 0x49ba14
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.004752a8
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
mov dword [ebp + 8], eax
jmp 0x444806
movsx esi, word [ebp - 0x20]
lea eax, [esi + esi*2]
lea eax, [ebx + eax*2]
push eax
call fcn.00435da9
dec esi
mov eax, dword [ebp - 0x14]
lea ecx, [eax + ebx*2]
mov dword [ebp + 8], ecx
lea eax, [ecx + 2]
mov dword [ebp - 0x2c], ecx
js 0x4447fd
lea edi, [esi + 1]
mov esi, dword [ebp - 0x18]
movzx eax, byte [esi]
push eax
push 0x49ba0c
push ecx
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0xc
push dword [ebp + 8]
inc esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
dec edi
mov ecx, dword [ebp + 8]
lea ecx, [ecx + eax*2]
mov dword [ebp + 8], ecx
mov eax, ecx
jne 0x4447d2
mov esi, dword [ebp - 0x10]
dec eax
dec eax
and word [eax], 0
test byte [ebp + 0xf], 2
je 0x444824
cmp dword [esi], 0
je 0x444824
mov word [eax], 0x20
sub eax, dword [ebp - 0x2c]
inc eax
inc eax
sar eax, 1
add ebx, eax
jmp 0x444724
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.00435749
lea ecx, [ebp - 0x14]
call fcn.0043092f
lea ecx, [ebp - 0x28]
call fcn.0043092f
lea ecx, [ebp - 0xc]
call fcn.0043092f
jmp 0x44492f
cmp dword [ebp - 0xc], ebx
jne 0x44495a
mov eax, dword [ebp + 8]
mov cx, word [eax]
and cx, 0xffdf
cmp cx, 0x57
push 3
mov ebx, 0x80000000
pop esi
jne 0x444891
push 4
add eax, edi
mov ebx, 0xc0000000
pop esi
mov dword [ebp + 8], eax
jmp 0x444891
add eax, edi
cmp cx, 0x2c
mov dword [ebp + 8], eax
je 0x444899
cmp cx, 0x3b
je 0x444899
mov cx, word [eax]
test cx, cx
jne 0x444880
lea ecx, [ebp - 0x20]
call fcn.00435d62
mov ecx, dword [ebp - 8]
xor edi, edi
push edi
push 0x2c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
push dword [ebp - 0x20]
call fcn.0040eec0
pop ecx
push edi
push edi
push esi
push edi
push 7
push ebx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
call fcn.004045f9
mov ebx, eax
cmp ebx, edi
jne 0x4448e8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x20]
jmp 0x444c97
lea ecx, [ebp - 0x20]
call fcn.0043092f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x44490c
mov esi, dword [ebp - 8]
push esi
call fcn.0040e9a4
pop ecx
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x444bdf
cmp byte [ebp - 2], 0
mov eax, dword [ebp - 8]
jne 0x44491b
mov eax, dword [ecx + 0x150]
push dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push ebx
push edx
push eax
call fcn.004362ec
xor esi, esi
lea ecx, [ebp - 0x34]
call fcn.0043092f
lea ecx, [ebp - 0x38]
call fcn.0043092f
lea ecx, [ebp - 0x3c]
call fcn.0043092f
lea ecx, [ebp - 0x24]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp - 0xc], 0xfffffffe
jne 0x444b98
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov cx, word [eax]
and cx, 0xffdf
cmp cx, 0x57
push 4
mov dword [ebp - 0x28], edi
pop ebx
mov dword [ebp - 0x30], 0x80000000
jne 0x4449be
mov ecx, dword [ebp - 8]
push 6
add eax, edi
mov dword [ebp - 0x28], ebx
pop ebx
mov dword [ebp - 0x30], 0xc0000000
mov byte [ecx + 0x91], 4
mov dword [ebp + 8], eax
jmp 0x4449be
add eax, edi
cmp cx, si
mov dword [ebp + 8], eax
je 0x4449c6
cmp cx, 0x3b
je 0x4449c6
mov cx, word [eax]
test cx, cx
jne 0x4449ae
lea ecx, [ebp - 0x14]
call fcn.00435d62
lea ecx, [ebp - 0x18]
call fcn.00435d62
mov ecx, dword [ebp - 8]
push 0x3b
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x444a38
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043aabb
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
pop ecx
je 0x444a38
mov ecx, dword [ebp - 8]
add dword [ebp + 8], edi
push 0
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x444a38
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043aabb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp word [ecx], ax
je 0x444b8b
cmp dword [ebp - 0x48], eax
jl 0x444b8b
jg 0x444a5a
cmp dword [ebp - 0x4c], eax
jb 0x444b8b
cmp dword [ebp - 0x40], eax
jl 0x444b8b
jg 0x444a6e
cmp dword [ebp - 0x44], eax
jb 0x444b8b
or dword [ebp - 0x20], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00435d62
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x49b9f4
lea ecx, [ebp - 0x10]
call fcn.00435e1f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00435dd0
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
adc eax, dword [ebp - 0x40]
push dword [ebp - 0x10]
xor edi, edi
push edi
push ebx
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
mov ebx, eax
cmp ebx, edi
jne 0x444b27
mov eax, dword [ebp - 0x18]
cmp word [eax], di
je 0x444b0d
mov ecx, dword [ebp - 8]
movsx ebx, byte [ecx + 0x91]
push eax
call fcn.0040eec0
pop ecx
push edi
push edi
push ebx
push edi
push 7
push dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call fcn.004045f9
cmp eax, edi
mov dword [ebp - 0x20], eax
jne 0x444b0d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0043092f
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x14]
jmp 0x444c97
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x28]
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov ebx, eax
cmp ebx, edi
je 0x444b4c
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x44]
sar eax, 0x1f
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x40]
and eax, 4
or eax, 8
shr eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x444b5d
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x1c], edi
jne 0x444b73
cmp ebx, edi
je 0x444aed
cmp ebx, 0xffffffff
je 0x444aed
push ebx
call esi
jmp 0x444aed
lea ecx, [ebp - 0x10]
call fcn.0043092f
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x14]
jmp 0x4448eb
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x14]
jmp 0x444bda
cmp dword [ebp - 0xc], 0xfffffffc
jne 0x444cb9
lea ecx, [ebp - 0x10]
call fcn.00435d62
lea ecx, [ebp - 0x20]
call fcn.00435d62
mov ecx, dword [ebp - 8]
push 0x3b
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042c70d
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp word [eax], si
jne 0x444be9
lea ecx, [ebp - 0x20]
call fcn.0043092f
lea ecx, [ebp - 0x10]
call fcn.0043092f
mov esi, 0x80070057
jmp 0x444931
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
call fcn.004045b4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004045b4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004045b4
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00435d62
push ebx
push ebx
push 0x49b9dc
lea ecx, [ebp - 0x18]
call fcn.00435e1f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00435dd0
cmp dword [ebp - 0x28], esi
jne 0x444c5a
push dword [ebp - 0x18]
push dword [ebp - 0x30]
push 0x100002
call dword [sym.imp.KERNEL32.DLL_OpenEventW]
mov ebx, eax
cmp ebx, esi
jne 0x444ca1
push dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x28], esi
setne al
push eax
xor eax, eax
cmp dword [ebp - 0x14], esi
setne al
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov ebx, eax
cmp ebx, esi
jne 0x444ca1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0043092f
lea ecx, [ebp - 0x20]
call fcn.0043092f
lea ecx, [ebp - 0x10]
call fcn.0043092f
jmp 0x444931
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x20]
call fcn.0043092f
lea ecx, [ebp - 0x10]
jmp 0x4448eb
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x444d07
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
pop ecx
je 0x444d07
add dword [ebp + 8], edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
pop ecx
je 0x444d07
add dword [ebp + 8], edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
pop ecx
pop ecx
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
call dword [0x4ad0b8]
mov ebx, eax
test ebx, ebx
jg 0x4448f0
xor esi, esi
inc esi
jmp 0x444931