Function at 0x40df70
Capabilities:
Get file version info
Impersonate file version information

Disassembly:
push 0xffffffffffffffff
push 0x4545cf
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x467334]
xor eax, esp
mov dword [esp + 0x8b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467334]
xor eax, esp
push eax
lea eax, [esp + 0x8d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8e4]
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x8dc], ebx
cmp dword [esp + 0x904], 0x10
mov eax, dword [esp + 0x8f0]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
jae 0x40dfdf
lea eax, [esp + 0x8f0]
lea ecx, [esp + 0x54]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
mov dword [esp + 0x50], esi
cmp esi, ebx
je 0x40ef93
push esi
call fcn.0043b709
mov ecx, eax
mov eax, dword [esp + 0x8f4]
add esp, 4
cmp dword [esp + 0x904], 0x10
mov dword [esp + 0x24], ecx
jae 0x40e01f
lea eax, [esp + 0x8f0]
push ecx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40ef67
call fcn.00403c90
test eax, eax
je 0x40e03f
call fcn.00419f50
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x50]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
lea ebp, [esp + 0x4c]
mov dword [esp + 0x3c], esp
cmp eax, 0x10
jb 0x40e071
mov ecx, dword [edi]
jmp 0x40e073
mov ecx, edi
cmp ecx, 0x45b528
ja 0x40e0ae
cmp eax, 0x10
jb 0x40e084
mov ecx, dword [edi]
jmp 0x40e086
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45b528
jbe 0x40e0ae
cmp eax, 0x10
jb 0x40e09a
mov edi, dword [edi]
push 0x1a
mov eax, 0x45b528
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e0f1
cmp eax, 0x1a
jae 0x40e0c0
mov ecx, dword [esi + 0x14]
push ecx
push 0x1a
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e0cc
mov eax, dword [edi]
jmp 0x40e0ce
mov eax, edi
push 0x1a
push 0x45b528
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x1a
jb 0x40e0ee
mov edi, dword [edi]
mov byte [edi + 0x1a], bl
lea ecx, [esp + 0x7c]
call fcn.00406610
push eax
mov ecx, ebp
mov byte [esp + 0x8e8], 1
call fcn.00401fb0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40e119
mov eax, dword [eax + 4]
jmp 0x40e11c
add eax, 4
mov edx, dword [esp + 0x2c]
push eax
push edx
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
cmp dword [esp + 0x40], esi
jb 0x40e13c
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
xor ecx, ecx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
mov byte [esp + 0x8dc], cl
call fcn.00429050
call fcn.00417960
test eax, eax
je 0x40e171
call fcn.00406bb0
test edi, edi
je 0x40ef67
push 0x7fe
xor ebx, ebx
lea eax, [esp + 0xd2]
xor edx, edx
push ebx
push eax
mov word [esp + 0xd8], dx
call fcn.00444d20
add esp, 0xc
call fcn.00403c90
test eax, eax
je 0x40e1a9
call fcn.00406c80
mov eax, dword [esp + 0x4c]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
sub esp, 0x1c
mov esi, esp
mov ebp, 0xf
mov dword [esi + 0x18], ebp
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], esp
cmp eax, 0x10
jb 0x40e1e0
mov ecx, dword [edi]
jmp 0x40e1e2
mov ecx, edi
cmp ecx, 0x45b544
ja 0x40e21d
cmp eax, 0x10
jb 0x40e1f3
mov ecx, dword [edi]
jmp 0x40e1f5
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45b544
jbe 0x40e21d
cmp eax, 0x10
jb 0x40e209
mov edi, dword [edi]
push 0x1e
mov eax, 0x45b544
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e260
cmp eax, 0x1e
jae 0x40e22f
mov ecx, dword [esi + 0x14]
push ecx
push 0x1e
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e23b
mov eax, dword [edi]
jmp 0x40e23d
mov eax, edi
push 0x1e
push 0x45b544
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x1e
jb 0x40e25d
mov edi, dword [edi]
mov byte [edi + 0x1e], bl
lea ecx, [esp + 0x80]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8e8], 2
call fcn.00402300
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40e28a
mov eax, dword [eax + 4]
jmp 0x40e28d
add eax, 4
push eax
lea edx, [esp + 0xd8]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp dword [esp + 0x40], esi
jb 0x40e2b2
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
xor ecx, ecx
mov edi, 7
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
mov byte [esp + 0x8dc], cl
call fcn.00429050
lea eax, [esp + 0xcc]
lea ecx, [esp + 0xb0]
call fcn.0040f5d0
mov edx, dword [esp + 0x8e8]
mov eax, dword [esp + 0x20]
push edx
mov byte [esp + 0x8e0], 3
call fcn.0040f610
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
add eax, 0x38
push ebx
mov word [ecx + 4], dx
call fcn.004030c0
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x918], 4
mov dword [esi + 0x18], ebp
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x58], esp
cmp eax, 0x10
jb 0x40e350
mov ecx, dword [edi]
jmp 0x40e352
mov ecx, edi
cmp ecx, 0x45b564
ja 0x40e38d
cmp eax, 0x10
jb 0x40e363
mov ecx, dword [edi]
jmp 0x40e365
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45b564
jbe 0x40e38d
cmp eax, 0x10
jb 0x40e379
mov edi, dword [edi]
push 0xb
mov eax, 0x45b564
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e3d1
cmp eax, 0xb
jae 0x40e39f
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e3ab
mov eax, dword [edi]
jmp 0x40e3ad
mov eax, edi
push 0xb
push 0x45b564
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x40e3cd
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 5
call fcn.004028f0
mov byte [esp + 0x8f8], 6
cmp dword [eax + 0x18], 8
jb 0x40e3ff
mov eax, dword [eax + 4]
jmp 0x40e402
add eax, 4
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x54], esp
push edx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x914], 8
call fcn.0040efe0
cmp dword [esp + 0x40], 8
jb 0x40e442
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
xor ecx, ecx
mov edi, 7
xor ebx, ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
call fcn.00429050
call fcn.00431ed0
mov edx, dword [esp + 0x8e8]
mov eax, dword [esp + 0x20]
push edx
mov dword [esp + 0x8e0], 3
call fcn.0040f610
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
add eax, 0x54
push ebx
mov word [ecx + 4], dx
call fcn.004030c0
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x918], 0xb
mov ebp, 0xf
mov dword [esi + 0x18], ebp
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], esp
cmp eax, 0x10
jb 0x40e4d4
mov ecx, dword [edi]
jmp 0x40e4d6
mov ecx, edi
cmp ecx, 0x45b570
ja 0x40e510
cmp eax, 0x10
jb 0x40e4e7
mov ecx, dword [edi]
jmp 0x40e4e9
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45b570
jbe 0x40e510
cmp eax, 0x10
jb 0x40e4fd
mov edi, dword [edi]
push ebp
mov eax, 0x45b570
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e54c
cmp eax, ebp
jae 0x40e520
mov ecx, dword [esi + 0x14]
push ecx
push ebp
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e52c
mov eax, dword [edi]
jmp 0x40e52e
mov eax, edi
push ebp
push 0x45b570
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], ebp
jb 0x40e549
mov edi, dword [edi]
mov byte [edi + 0xf], bl
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0xc
call fcn.004028f0
mov byte [esp + 0x8f8], 0xd
cmp dword [eax + 0x18], 8
jb 0x40e57a
mov eax, dword [eax + 4]
jmp 0x40e57d
add eax, 4
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push edx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, dword [esp + 0x5c]
mov ebx, 0xf
mov byte [esp + 0x914], bl
call fcn.0040efe0
cmp dword [esp + 0x40], 8
jb 0x40e5c1
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
xor ecx, ecx
xor edi, edi
lea esi, [esp + 0x58]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], cx
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov ebp, dword [esp + 0x8e8]
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
add eax, 0xe0
push edi
mov word [ecx + 4], dx
call fcn.004030c0
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov byte [esp + 0x918], 0x10
mov esi, esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
lea edi, [esi + 4]
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], esp
cmp eax, 0x10
jb 0x40e64c
mov ecx, dword [edi]
jmp 0x40e64e
mov ecx, edi
cmp ecx, str._6_:U_
ja 0x40e689
cmp eax, 0x10
jb 0x40e65f
mov ecx, dword [edi]
jmp 0x40e661
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str._6_:U_
jbe 0x40e689
cmp eax, 0x10
jb 0x40e675
mov edi, dword [edi]
push 0xb
mov eax, str._6_:U_
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e6cd
cmp eax, 0xb
jae 0x40e69b
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e6a7
mov eax, dword [edi]
jmp 0x40e6a9
mov eax, edi
push 0xb
push str._6_:U_
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x40e6c9
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x11
call fcn.004020f0
mov byte [esp + 0x8f8], 0x12
cmp dword [eax + 0x18], 8
jb 0x40e6fb
mov eax, dword [eax + 4]
jmp 0x40e6fe
add eax, 4
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push edx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x914], 0x14
call fcn.0040efe0
cmp dword [esp + 0x40], 8
jb 0x40e73e
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c853
add esp, 4
xor ecx, ecx
mov edi, 7
xor ebx, ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
add eax, 0x70
push ebx
mov word [ecx + 4], dx
call fcn.004030c0
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x918], 0x15
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], esp
cmp eax, 0x10
jb 0x40e7c0
mov ecx, dword [edi]
jmp 0x40e7c2
mov ecx, edi
cmp ecx, 0x45b58c
ja 0x40e7fd
cmp eax, 0x10
jb 0x40e7d3
mov ecx, dword [edi]
jmp 0x40e7d5
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45b58c
jbe 0x40e7fd
cmp eax, 0x10
jb 0x40e7e9
mov edi, dword [edi]
push 0xc
mov eax, 0x45b58c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402ea0
jmp 0x40e840
cmp eax, 0xc
jae 0x40e80f
mov ecx, dword [esi + 0x14]
push ecx
push 0xc
mov ecx, esi
call fcn.00403800
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e81b
mov eax, dword [edi]
jmp 0x40e81d
mov eax, edi
push 0xc
push 0x45b58c
push ecx
push eax
call fcn.0043c85e
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xc
jb 0x40e83d
mov edi, dword [edi]
mov byte [edi + 0xc], bl
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x16
call fcn.00402300
mov byte [esp + 0x8f8], 0x17
cmp dword [eax + 0x18], 8
jb 0x40e86e
mov ebx, dword [eax + 4]
jmp 0x40e871
lea ebx, [eax + 4]
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00410620
add esp, 4
mov edi, dword [esp + 0x5c]
mov ecx, edi
mov byte [esp + 0x914], 0x19
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0x8c
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov byte [esp + 0x918], 0x1a
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xe
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push str.5_
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x1b
call fcn.004020f0
mov byte [esp + 0x8f8], 0x1c
cmp dword [eax + 0x18], 8
jb 0x40e934
mov eax, dword [eax + 4]
jmp 0x40e937
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x1e
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0x8c
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x1f
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xf
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45b5ac
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x20
call fcn.00402300
mov byte [esp + 0x8f8], 0x21
cmp dword [eax + 0x18], 8
jb 0x40e9f8
mov eax, dword [eax + 4]
jmp 0x40e9fb
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x23
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0xa8
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x24
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push pe_nt_image_headers32
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push str.6_3
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x25
call fcn.004020f0
mov byte [esp + 0x8f8], 0x26
cmp dword [eax + 0x18], 8
jb 0x40eabc
mov eax, dword [eax + 4]
jmp 0x40eabf
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x28
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0xa8
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x29
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xc
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45b5d0
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x2a
call fcn.00402590
mov byte [esp + 0x8f8], 0x2b
cmp dword [eax + 0x18], 8
jb 0x40eb80
mov eax, dword [eax + 4]
jmp 0x40eb83
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x2d
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0xc4
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x2e
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xb
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45b5e0
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x2f
call fcn.004028f0
mov byte [esp + 0x8f8], 0x30
cmp dword [eax + 0x18], 8
jb 0x40ec44
mov eax, dword [eax + 4]
jmp 0x40ec47
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x32
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0xe0
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x33
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xe
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45b5ec
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x34
call fcn.00402590
mov byte [esp + 0x8f8], 0x35
cmp dword [eax + 0x18], 8
jb 0x40ed08
mov eax, dword [eax + 4]
jmp 0x40ed0b
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x37
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 3
call fcn.00429050
mov eax, dword [esp + 0x20]
push ebp
call fcn.0040f610
sub esp, 0x1c
add eax, 0xe0
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
lea edx, [esp + 0x44]
push edx
sub esp, 0x1c
mov byte [esp + 0x918], 0x38
mov ecx, esp
mov dword [esp + 0x54], esp
xor eax, eax
push 0xc
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45b5fc
mov byte [ecx + 4], al
call fcn.004033f0
lea ecx, [esp + 0x94]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8fc], 0x39
call fcn.004020f0
mov byte [esp + 0x8f8], 0x3a
cmp dword [eax + 0x18], 8
jb 0x40edcc
mov eax, dword [eax + 4]
jmp 0x40edcf
add eax, 4
sub esp, 0x1c
lea ecx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push ecx
mov ebx, eax
call fcn.00410620
add esp, 4
mov ecx, edi
mov byte [esp + 0x914], 0x3c
call fcn.0040efe0
lea esi, [esp + 0x28]
call fcn.00402e00
mov bl, 3
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], bl
call fcn.00429050
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 2
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push 0x45b60c
mov byte [ecx + 4], 0
call fcn.004033f0
lea ecx, [esp + 0x80]
call fcn.00406610
mov ecx, eax
mov byte [esp + 0x8e8], 0x3d
call fcn.00402300
cmp dword [eax + 0x18], 8
jb 0x40ee70
mov eax, dword [eax + 4]
jmp 0x40ee73
add eax, 4
mov edx, dword [esp + 0x2c]
push eax
push edx
call sub.VERSION.dll_VerQueryValueW
lea esi, [esp + 0x28]
mov edi, eax
call fcn.00402e00
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], bl
call fcn.00429050
test edi, edi
je 0x40ef17
mov esi, dword [esp + 0x20]
push ebp
mov eax, esi
call fcn.0040f610
mov eax, dword [eax + 0xfc]
mov ecx, dword [esp + 0x44]
mov dword [ecx + 8], eax
push ebp
mov eax, esi
call fcn.0040f610
mov edx, dword [eax + 0x100]
mov eax, dword [esp + 0x44]
mov dword [eax + 0xc], edx
call fcn.00406870
test eax, eax
je 0x40eed9
call fcn.00439810
push ebp
mov eax, esi
call fcn.0040f610
mov ecx, dword [eax + 0xfc]
mov edx, dword [esp + 0x44]
push ebp
mov eax, esi
mov dword [edx + 0x10], ecx
call fcn.0040f610
mov eax, dword [eax + 0x100]
mov ecx, dword [esp + 0x44]
mov dword [ecx + 0x14], eax
call fcn.00417b10
sub eax, 1
jne 0x40ef17
call fcn.00418470
call fcn.00418470
cmp dword [esp + 0x904], 0x10
mov eax, dword [esp + 0x8f0]
jae 0x40ef2f
lea eax, [esp + 0x8f0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ebx, eax
test ebx, ebx
je 0x40ef5b
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
push edx
movzx edx, word [ecx]
push eax
push edx
push 1
push pe_nt_image_headers32
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
lea esi, [esp + 0xb0]
call fcn.00402e00
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40ef86
push eax
call fcn.0043cf4e
add esp, 4
call fcn.00417b10
test eax, eax
je 0x40ef86
call fcn.00406d20
test ebx, ebx
je 0x40ef93
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp dword [esp + 0x904], 0x10
jb 0x40efad
mov eax, dword [esp + 0x8f0]
push eax
call fcn.0043c853
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8b8]
xor ecx, esp
call fcn.0043c2d9
add esp, 0x8cc
ret 0x24