Function at 0x40e230
Capabilities:
Check for time delay via gettickcount
Get file version info
Impersonate file version information

Disassembly:
push 0xffffffffffffffff
push 0x44c9cf
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x8b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x8d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8e4]
mov dword [esp + 0x24], eax
xor ebx, ebx
mov dword [esp + 0x8dc], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebx
call ebp
sub eax, 2
je 0x40e2a6
sub eax, 2
je 0x40e2a6
sub eax, 4
je 0x40e2a6
xor eax, eax
jmp 0x40e2b5
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov eax, 1
sub eax, 1
jne 0x40e2c4
call fcn.00406c60
call fcn.00406d20
cmp dword [esp + 0x904], 0x10
mov eax, dword [esp + 0x8f0]
jae 0x40e2dc
lea eax, [esp + 0x8f0]
lea ecx, [esp + 0x50]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
push ebx
mov dword [esp + 0x58], esi
call fcn.00439283
add esp, 4
push ebx
call fcn.00439283
add esp, 4
cmp esi, ebx
je 0x40f33f
push esi
call fcn.00436f89
mov ecx, dword [esp + 0x8f4]
add esp, 4
cmp dword [esp + 0x904], 0x10
mov dword [esp + 0x1c], eax
jae 0x40e32c
lea ecx, [esp + 0x8f0]
push eax
push esi
push ebx
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, ebx
je 0x40f30b
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x904], ebx
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 + 0x48], esp
cmp eax, 0x10
jb 0x40e377
mov ecx, dword [edi]
jmp 0x40e379
mov ecx, edi
cmp ecx, 0x4545d8
ja 0x40e3b4
cmp eax, 0x10
jb 0x40e38a
mov ecx, dword [edi]
jmp 0x40e38c
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x4545d8
jbe 0x40e3b4
cmp eax, 0x10
jb 0x40e3a0
mov edi, dword [edi]
push 0x1a
mov eax, 0x4545d8
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40e3f7
cmp eax, 0x1a
jae 0x40e3c6
mov ecx, dword [esi + 0x14]
push ecx
push 0x1a
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e3d2
mov eax, dword [edi]
jmp 0x40e3d4
mov eax, edi
push 0x1a
push 0x4545d8
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x1a
jb 0x40e3f4
mov edi, dword [edi]
mov byte [edi + 0x1a], bl
lea ecx, [esp + 0x80]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8e8], 3
call fcn.00401c70
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40e421
mov eax, dword [eax + 4]
jmp 0x40e424
add eax, 4
mov edx, dword [esp + 0x24]
push eax
push edx
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
cmp dword [esp + 0x40], esi
jb 0x40e444
mov eax, dword [esp + 0x2c]
push eax
call fcn.00437f8b
add esp, 4
xor ecx, ecx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
mov byte [esp + 0x8dc], bl
call fcn.00429620
call ebp
sub eax, 2
je 0x40e47c
sub eax, 2
je 0x40e47c
sub eax, 4
je 0x40e47c
xor ecx, ecx
jmp 0x40e488
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, 1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x17
jle 0x40e4b4
push 0x17
call esi
call fcn.00435230
call fcn.00406df0
call fcn.004069f0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
cmp eax, 0x40
jle 0x40e4d5
push 0x40
call esi
call fcn.004353a0
call fcn.004197b0
cmp edi, ebx
je 0x40f30b
call fcn.00435140
test eax, eax
je 0x40e4f0
call fcn.004353a0
call fcn.00406e60
push 0x7fe
lea edx, [esp + 0xd2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xd8], cx
call fcn.0043e780
mov eax, dword [esp + 0x58]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
add esp, 0xc
push ecx
push edx
lea eax, [esp + 0x30]
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]
mov dword [esp + 0x48], esp
cmp eax, 0x10
jb 0x40e546
mov ecx, dword [edi]
jmp 0x40e548
mov ecx, edi
cmp ecx, 0x4545f4
ja 0x40e583
cmp eax, 0x10
jb 0x40e559
mov ecx, dword [edi]
jmp 0x40e55b
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x4545f4
jbe 0x40e583
cmp eax, 0x10
jb 0x40e56f
mov edi, dword [edi]
push 0x1e
mov eax, 0x4545f4
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40e5c6
cmp eax, 0x1e
jae 0x40e595
mov ecx, dword [esi + 0x14]
push ecx
push 0x1e
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e5a1
mov eax, dword [edi]
jmp 0x40e5a3
mov eax, edi
push 0x1e
push 0x4545f4
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x1e
jb 0x40e5c3
mov edi, dword [edi]
mov byte [edi + 0x1e], bl
lea ecx, [esp + 0x80]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8e8], 4
call fcn.00401ed0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40e5f0
mov eax, dword [eax + 4]
jmp 0x40e5f3
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 0x40e618
mov eax, dword [esp + 0x2c]
push eax
call fcn.00437f8b
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], bl
call fcn.00429620
lea eax, [esp + 0xcc]
lea ecx, [esp + 0xb0]
call fcn.0040f980
mov ebp, dword [esp + 0x8e8]
mov eax, dword [esp + 0x24]
push ebp
mov byte [esp + 0x8e0], 5
call fcn.0040fa20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], 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.00402f60
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x918], 6
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 0x40e6b9
mov ecx, dword [edi]
jmp 0x40e6bb
mov ecx, edi
cmp ecx, 0x454614
ja 0x40e6f6
cmp eax, 0x10
jb 0x40e6cc
mov ecx, dword [edi]
jmp 0x40e6ce
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x454614
jbe 0x40e6f6
cmp eax, 0x10
jb 0x40e6e2
mov edi, dword [edi]
push 0xb
mov eax, 0x454614
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40e739
cmp eax, 0xb
jae 0x40e708
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e714
mov eax, dword [edi]
jmp 0x40e716
mov eax, edi
push 0xb
push 0x454614
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x40e736
mov edi, dword [edi]
mov byte [edi + 0xb], bl
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 7
call fcn.00401c70
mov byte [esp + 0x8f8], 8
cmp dword [eax + 0x18], 8
jb 0x40e767
mov eax, dword [eax + 4]
jmp 0x40e76a
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0xa
call fcn.0040f390
cmp dword [esp + 0x40], 8
jb 0x40e7ab
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00437f8b
add esp, 4
xor edx, edx
mov edi, 7
xor ebx, ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
mov byte [esp + 0x8dc], 5
call fcn.00429620
mov eax, dword [esp + 0x24]
push ebp
call fcn.0040fa20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], 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.00402f60
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 0x40e82e
mov ecx, dword [edi]
jmp 0x40e830
mov ecx, edi
cmp ecx, 0x454620
ja 0x40e86a
cmp eax, 0x10
jb 0x40e841
mov ecx, dword [edi]
jmp 0x40e843
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x454620
jbe 0x40e86a
cmp eax, 0x10
jb 0x40e857
mov edi, dword [edi]
push ebp
mov eax, 0x454620
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40e8a6
cmp eax, ebp
jae 0x40e87a
mov ecx, dword [esi + 0x14]
push ecx
push ebp
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e886
mov eax, dword [edi]
jmp 0x40e888
mov eax, edi
push ebp
push 0x454620
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], ebp
jb 0x40e8a3
mov edi, dword [edi]
mov byte [edi + 0xf], bl
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0xc
call fcn.00401c70
mov byte [esp + 0x8f8], 0xd
cmp dword [eax + 0x18], 8
jb 0x40e8d4
mov eax, dword [eax + 4]
jmp 0x40e8d7
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
mov ebx, 0xf
push eax
mov byte [esp + 0x918], bl
call fcn.0040f390
cmp dword [esp + 0x40], 8
jb 0x40e91c
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00437f8b
add esp, 4
xor edx, edx
mov edi, 7
xor ebp, ebp
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], dx
mov byte [esp + 0x8dc], 5
call fcn.00429620
mov eax, dword [esp + 0x8e8]
push eax
mov eax, dword [esp + 0x28]
call fcn.0040fa20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
add eax, 0xe0
push ebp
mov word [ecx + 4], dx
call fcn.00402f60
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x918], 0x10
mov dword [esi + 0x18], ebx
lea edi, [esi + 4]
mov dword [esi + 0x14], ebp
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], esp
cmp eax, 0x10
jb 0x40e9a4
mov ecx, dword [edi]
jmp 0x40e9a6
mov ecx, edi
cmp ecx, 0x454630
ja 0x40e9e1
cmp eax, 0x10
jb 0x40e9b7
mov ecx, dword [edi]
jmp 0x40e9b9
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x454630
jbe 0x40e9e1
cmp eax, 0x10
jb 0x40e9cd
mov edi, dword [edi]
push 0xb
mov eax, 0x454630
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40ea25
cmp eax, 0xb
jae 0x40e9f3
mov ecx, dword [esi + 0x14]
push ecx
push 0xb
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40e9ff
mov eax, dword [edi]
jmp 0x40ea01
mov eax, edi
push 0xb
push 0x454630
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xb
jb 0x40ea21
mov edi, dword [edi]
mov byte [edi + 0xb], 0
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x11
call fcn.004023a0
mov byte [esp + 0x8f8], 0x12
cmp dword [eax + 0x18], 8
jb 0x40ea53
mov eax, dword [eax + 4]
jmp 0x40ea56
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x14
call fcn.0040f390
cmp dword [esp + 0x40], 8
jb 0x40ea97
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00437f8b
add esp, 4
xor edx, edx
mov edi, 7
xor ebx, ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
mov byte [esp + 0x8dc], 5
call fcn.00429620
mov ebp, dword [esp + 0x8e8]
mov eax, dword [esp + 0x24]
push ebp
call fcn.0040fa20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], 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.00402f60
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 0x40eb20
mov ecx, dword [edi]
jmp 0x40eb22
mov ecx, edi
cmp ecx, 0x45463c
ja 0x40eb5d
cmp eax, 0x10
jb 0x40eb33
mov ecx, dword [edi]
jmp 0x40eb35
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45463c
jbe 0x40eb5d
cmp eax, 0x10
jb 0x40eb49
mov edi, dword [edi]
push 0xc
mov eax, 0x45463c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x40eba0
cmp eax, 0xc
jae 0x40eb6f
mov ecx, dword [esi + 0x14]
push ecx
push 0xc
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x40eb7b
mov eax, dword [edi]
jmp 0x40eb7d
mov eax, edi
push 0xc
push 0x45463c
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0xc
jb 0x40eb9d
mov edi, dword [edi]
mov byte [edi + 0xc], bl
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x16
call fcn.00402100
mov byte [esp + 0x8f8], 0x17
cmp dword [eax + 0x18], 8
jb 0x40ebce
mov ebx, dword [eax + 4]
jmp 0x40ebd1
lea ebx, [eax + 4]
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov esi, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x19
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
mov edi, dword [esp + 0x24]
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0x8c
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x1a
xor eax, eax
push 0xe
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45464c
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x1b
call fcn.00401c70
mov byte [esp + 0x8f8], 0x1c
cmp dword [eax + 0x18], 8
jb 0x40ec95
mov eax, dword [eax + 4]
jmp 0x40ec98
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x1e
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
call fcn.00429620
call fcn.0042f900
mov dword [esp + 0x8dc], 5
call fcn.00417de0
test eax, eax
je 0x40ecfa
call fcn.00406f10
call fcn.00406fe0
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0x8c
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x21
xor eax, eax
push 0xf
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45465c
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x22
call fcn.00401ed0
mov byte [esp + 0x8f8], 0x23
cmp dword [eax + 0x18], 8
jb 0x40ed75
mov eax, dword [eax + 4]
jmp 0x40ed78
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x25
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0xa8
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x26
xor eax, eax
push pe_nt_image_headers32
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45466c
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x27
call fcn.004023a0
mov byte [esp + 0x8f8], 0x28
cmp dword [eax + 0x18], 8
jb 0x40ee3a
mov eax, dword [eax + 4]
jmp 0x40ee3d
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x2a
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0xa8
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x2b
xor eax, eax
push 0xc
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x454680
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x2c
call fcn.00401c70
mov byte [esp + 0x8f8], 0x2d
cmp dword [eax + 0x18], 8
jb 0x40eeff
mov eax, dword [eax + 4]
jmp 0x40ef02
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x2f
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0xc4
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x30
xor eax, eax
push 0xb
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x454690
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x31
call fcn.004023a0
mov byte [esp + 0x8f8], 0x32
cmp dword [eax + 0x18], 8
jb 0x40efc4
mov eax, dword [eax + 4]
jmp 0x40efc7
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x34
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
call fcn.00417e10
test eax, eax
je 0x40f01c
call fcn.00406fe0
call fcn.00417960
test eax, eax
je 0x40f02a
call fcn.004070b0
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0xe0
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x35
xor eax, eax
push 0xe
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x45469c
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x36
call fcn.004023a0
mov byte [esp + 0x8f8], 0x37
cmp dword [eax + 0x18], 8
jb 0x40f0a5
mov eax, dword [eax + 4]
jmp 0x40f0a8
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x39
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
push ebp
mov eax, edi
call fcn.0040fa20
sub esp, 0x1c
add eax, 0xe0
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402cb0
lea ecx, [esp + 0x44]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x918], 0x3a
xor eax, eax
push 0xc
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push 0x4546ac
mov byte [ecx + 4], al
call fcn.00403090
lea ecx, [esp + 0x94]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8fc], 0x3b
call fcn.00402770
mov byte [esp + 0x8f8], 0x3c
cmp dword [eax + 0x18], 8
jb 0x40f16a
mov eax, dword [eax + 4]
jmp 0x40f16d
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.004109a0
add esp, 4
mov eax, dword [esp + 0x54]
push eax
mov byte [esp + 0x918], 0x3e
call fcn.0040f390
lea esi, [esp + 0x28]
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
call fcn.004179f0
test eax, eax
je 0x40f1c2
call fcn.00406c60
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
xor ebx, ebx
push 2
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4546bc
mov byte [ecx + 4], bl
call fcn.00403090
lea ecx, [esp + 0x80]
call fcn.00406790
mov ecx, eax
mov byte [esp + 0x8e8], 0x3f
call fcn.00402100
cmp dword [eax + 0x18], 8
jb 0x40f21b
mov eax, dword [eax + 4]
jmp 0x40f21e
add eax, 4
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
lea esi, [esp + 0x28]
mov edi, eax
call fcn.00402ce0
lea esi, [esp + 0x58]
mov byte [esp + 0x8dc], 5
call fcn.00429620
cmp edi, ebx
je 0x40f2a1
mov esi, dword [esp + 0x24]
push ebp
mov eax, esi
call fcn.0040fa20
mov edx, dword [eax + 0xfc]
mov eax, dword [esp + 0x44]
mov dword [eax + 8], edx
push ebp
mov eax, esi
call fcn.0040fa20
mov ecx, dword [eax + 0x100]
mov edx, dword [esp + 0x44]
push ebp
mov eax, esi
mov dword [edx + 0xc], ecx
call fcn.0040fa20
mov eax, dword [eax + 0xfc]
mov ecx, dword [esp + 0x44]
mov dword [ecx + 0x10], eax
push ebp
mov eax, esi
call fcn.0040fa20
mov edx, dword [eax + 0x100]
mov eax, dword [esp + 0x44]
mov dword [eax + 0x14], edx
cmp dword [esp + 0x904], 0x10
mov eax, dword [esp + 0x8f0]
jae 0x40f2b9
lea eax, [esp + 0x8f0]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x40f2f6
call fcn.00417d60
test eax, eax
je 0x40f2d9
call fcn.00419f60
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push ecx
movzx ecx, word [eax]
push edx
push ecx
push 1
push pe_nt_image_headers32
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
lea esi, [esp + 0xb0]
mov byte [esp + 0x8dc], bl
call fcn.00402ce0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40f32f
push eax
call fcn.004395ee
add esp, 4
call fcn.00417cd0
test eax, eax
je 0x40f32f
call fcn.00407140
call fcn.004197b0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40f33f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp dword [esp + 0x904], 0x10
jb 0x40f359
mov edx, dword [esp + 0x8f0]
push edx
call fcn.00437f8b
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.00437983
add esp, 0x8cc
ret 0x24