Function at 0x407410
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x70]
mov eax, 0x22d4
call fcn.0042ed50
lea ecx, [ebp + 0x54]
call fcn.0041bc40
mov eax, dword [ebp + 0x7c]
movzx ecx, word [eax]
test ecx, ecx
je 0x407447
mov edx, dword [ebp + 0x7c]
movzx eax, word [edx]
cmp eax, 0x20
ja 0x407447
mov ecx, dword [ebp + 0x7c]
add ecx, 2
mov dword [ebp + 0x7c], ecx
jmp 0x407427
lea edx, [ebp + 0x54]
push edx
mov eax, dword [ebp + 0x7c]
push eax
call fcn.00406190
add esp, 8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 0xffffffff
mov dword [ebp + 0x6c], 0xffffffff
mov ecx, dword [ebp + 0x78]
push ecx
lea ecx, [ebp + 0x68]
call fcn.004194c0
movzx edx, al
test edx, edx
je 0x40749c
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xf0], eax
push 1
mov ecx, dword [ebp - 0xf0]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.00419420
movzx edx, al
test edx, edx
jne 0x4074d0
mov byte [ebp + 0x38], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x38]
jmp 0x408236
lea edx, [ebp + 0x64]
push edx
push 0x40
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp + 0x68]
call fcn.00419630
movzx ecx, al
test ecx, ecx
je 0x4074f2
cmp dword [ebp + 0x64], 0x40
je 0x407526
mov byte [ebp + 0x36], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x36]
jmp 0x408236
movzx ecx, word [ebp - 0x164]
cmp ecx, 0x5a4d
je 0x407569
mov byte [ebp + 0x35], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x35]
jmp 0x408236
lea ecx, [ebp + 0x64]
push ecx
push 0x40
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx eax, al
test eax, eax
je 0x40758b
cmp dword [ebp + 0x64], 0x40
je 0x4075b9
mov byte [ebp + 0x2f], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x2f]
jmp 0x408236
cmp dword [ebp - 0x128], 0x40
jae 0x4075f0
mov byte [ebp + 0x53], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x53]
jmp 0x408236
mov dword [ebp + 0x60], 0x40
mov edx, dword [ebp + 0x60]
cmp edx, dword [ebp - 0x128]
jge 0x4076d8
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp + 0x60]
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0x2000
jbe 0x407622
mov dword [ebp + 0x18], 0x2000
lea ecx, [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x2264]
push eax
lea ecx, [ebp + 0x68]
call fcn.00419630
movzx ecx, al
test ecx, ecx
je 0x407648
mov edx, dword [ebp + 0x64]
cmp edx, dword [ebp + 0x18]
je 0x407676
mov byte [ebp + 0x52], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x52]
jmp 0x408236
lea edx, [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x2264]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx edx, al
test edx, edx
je 0x40769c
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x18]
je 0x4076ca
mov byte [ebp + 0x51], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x51]
jmp 0x408236
mov eax, dword [ebp + 0x60]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x60], eax
jmp 0x4075f7
push 0x432508
mov ecx, dword [ebp + 0x7c]
push ecx
call fcn.00408520
add esp, 8
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], 0
je 0x4078a0
lea ecx, [ebp - 0x20]
call fcn.0041bc40
mov edx, dword [ebp + 0x28]
movzx eax, word [edx]
test eax, eax
je 0x40771e
mov ecx, dword [ebp + 0x28]
movzx edx, word [ecx]
cmp edx, 0x20
ja 0x40771e
mov eax, dword [ebp + 0x28]
add eax, 2
mov dword [ebp + 0x28], eax
jmp 0x4076fe
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0x28]
push edx
call fcn.00406190
add esp, 8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x24], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp + 0x24]
call fcn.004194c0
movzx edx, al
test edx, edx
jne 0x407799
mov byte [ebp + 0x50], 0
lea ecx, [ebp + 0x24]
call fcn.00419380
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x50]
jmp 0x408236
lea ecx, [ebp + 4]
push ecx
push 0x2000
lea edx, [ebp - 0x2264]
push edx
lea ecx, [ebp + 0x24]
call fcn.00419630
movzx eax, al
test eax, eax
jne 0x407800
mov byte [ebp + 0x4f], 0
lea ecx, [ebp + 0x24]
call fcn.00419380
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4f]
jmp 0x408236
lea edx, [ebp + 0x64]
push edx
mov eax, dword [ebp + 4]
push eax
lea ecx, [ebp - 0x2264]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx edx, al
test edx, edx
je 0x407826
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 4]
je 0x40786e
mov byte [ebp + 0x4e], 0
lea ecx, [ebp + 0x24]
call fcn.00419380
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4e]
jmp 0x408236
mov edx, dword [ebp + 0x60]
add edx, dword [ebp + 0x64]
mov dword [ebp + 0x60], edx
cmp dword [ebp + 0x64], 0
jne 0x407799
lea ecx, [ebp + 0x24]
call fcn.00419380
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0042eaf0
add esp, 4
jmp 0x4076d8
lea edx, [ebp + 0x64]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 0x68]
call fcn.00419630
movzx ecx, al
test ecx, ecx
je 0x4078c8
cmp dword [ebp + 0x64], 0xf8
je 0x4078f6
mov byte [ebp + 0x4d], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4d]
jmp 0x408236
cmp dword [ebp - 0x264], 0x4550
je 0x407930
mov byte [ebp + 0x4c], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4c]
jmp 0x408236
movzx eax, word [ebp - 0x250]
cmp eax, 0xe0
je 0x40796c
mov byte [ebp + 0x4b], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4b]
jmp 0x408236
mov eax, dword [ebp + 0x60]
sub eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x228]
sub ecx, 1
and eax, ecx
mov dword [ebp], eax
je 0x407a03
mov edx, dword [ebp - 0x228]
sub edx, dword [ebp]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
push eax
push 0
lea ecx, [ebp - 0x2264]
push ecx
call fcn.0042be30
add esp, 0xc
lea edx, [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2264]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx edx, al
test edx, edx
je 0x4079cc
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x10]
je 0x4079fa
mov byte [ebp + 0x4a], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x4a]
jmp 0x408236
mov eax, dword [ebp + 0x60]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x60], eax
mov ecx, dword [ebp + 0x60]
sub ecx, dword [ebp - 0x128]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp - 0x210]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x22c]
jbe 0x407a5a
mov byte [ebp + 0x49], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x49]
jmp 0x408236
mov dword [ebp - 0x20c], 0
lea eax, [ebp + 0x64]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx edx, al
test edx, edx
je 0x407a8c
cmp dword [ebp + 0x64], 0xf8
je 0x407aba
mov byte [ebp + 0x48], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x48]
jmp 0x408236
mov dword [ebp + 0xc], 0
jmp 0x407acc
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movzx eax, word [ebp - 0x25e]
cmp dword [ebp + 0xc], eax
jge 0x407bc9
lea ecx, [ebp + 0x64]
push ecx
push 0x28
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp + 0x68]
call fcn.00419630
movzx eax, al
test eax, eax
je 0x407afe
cmp dword [ebp + 0x64], 0x28
je 0x407b2c
mov byte [ebp + 0x47], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x47]
jmp 0x408236
cmp dword [ebp - 0x110], 0
je 0x407b44
mov eax, dword [ebp - 0x110]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x407b5c
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x108], 0
je 0x407b74
mov edx, dword [ebp - 0x108]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x108], edx
lea eax, [ebp + 0x64]
push eax
push 0x28
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx edx, al
test edx, edx
je 0x407b96
cmp dword [ebp + 0x64], 0x28
je 0x407bc4
mov byte [ebp + 0x46], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x46]
jmp 0x408236
jmp 0x407ac3
lea edx, [ebp - 4]
push edx
push 0x2000
lea eax, [ebp - 0x2264]
push eax
lea ecx, [ebp + 0x68]
call fcn.00419630
movzx ecx, al
test ecx, ecx
jne 0x407c16
mov byte [ebp + 0x45], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x45]
jmp 0x408236
lea ecx, [ebp + 0x64]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x2264]
push eax
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx ecx, al
test ecx, ecx
je 0x407c3c
mov edx, dword [ebp + 0x64]
cmp edx, dword [ebp - 4]
je 0x407c70
mov byte [ebp + 0x44], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x44]
jmp 0x408236
cmp dword [ebp + 0x64], 0
jne 0x407bc9
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp + 0x60]
je 0x407d2b
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x128], eax
lea ecx, [ebp + 0x6c]
call fcn.00419780
movzx ecx, al
test ecx, ecx
jne 0x407cd5
mov byte [ebp + 0x43], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x43]
jmp 0x408236
lea ecx, [ebp + 0x64]
push ecx
push 0x40
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx eax, al
test eax, eax
je 0x407cf7
cmp dword [ebp + 0x64], 0x40
je 0x407d2b
mov byte [ebp + 0x3d], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3d]
jmp 0x408236
lea ecx, [ebp + 0x6c]
call fcn.00419380
movzx eax, al
test eax, eax
jne 0x407d6e
mov byte [ebp + 0x42], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x42]
jmp 0x408236
push str.sfxmanifest
mov eax, dword [ebp + 0x7c]
push eax
call fcn.00408520
add esp, 8
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x20], 0
je 0x407fe0
lea ecx, [ebp - 0x14]
call fcn.0041bc40
mov ecx, dword [ebp + 0x20]
movzx edx, word [ecx]
test edx, edx
je 0x407db4
mov eax, dword [ebp + 0x20]
movzx ecx, word [eax]
cmp ecx, 0x20
ja 0x407db4
mov edx, dword [ebp + 0x20]
add edx, 2
mov dword [ebp + 0x20], edx
jmp 0x407d94
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00406190
add esp, 8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x30], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp + 0x30]
call fcn.004194c0
movzx ecx, al
test ecx, ecx
jne 0x407e41
mov byte [ebp + 0x41], 0
lea ecx, [ebp + 0x30]
call fcn.00419380
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x41]
jmp 0x408236
lea eax, [ebp + 0x64]
push eax
push 0x2000
lea ecx, [ebp - 0x2264]
push ecx
lea ecx, [ebp + 0x30]
call fcn.00419630
movzx edx, al
test edx, edx
je 0x407e69
cmp dword [ebp + 0x64], 0x2000
jne 0x407ebd
mov byte [ebp + 0x40], 0
lea ecx, [ebp + 0x30]
call fcn.00419380
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x40]
jmp 0x408236
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0xa8], ecx
push 0
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x407f32
mov byte [ebp + 0x3f], 0
lea ecx, [ebp + 0x30]
call fcn.00419380
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3f]
jmp 0x408236
mov ecx, dword [ebp + 0x64]
push ecx
lea edx, [ebp - 0x2264]
push edx
push 0
push 1
push 0x18
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov dword [ebp - 0xb4], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
je 0x407f6c
cmp dword [ebp - 0xb4], 0
jne 0x407fc0
mov byte [ebp + 0x3e], 0
lea ecx, [ebp + 0x30]
call fcn.00419380
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3e]
jmp 0x408236
lea ecx, [ebp + 0x30]
call fcn.00419380
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.0042eaf0
add esp, 4
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xc4], edx
push 3
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp + 0x6c]
call fcn.00419520
movzx ecx, al
test ecx, ecx
je 0x408017
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp + 0x6c]
call fcn.004197a0
movzx eax, al
test eax, eax
jne 0x40804b
mov byte [ebp + 0x37], 0
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x37]
jmp 0x408236
mov eax, dword [ebp + 0x7c]
movzx ecx, word [eax]
test ecx, ecx
je 0x408207
lea ecx, [ebp - 0x2c]
call fcn.0041bc40
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x7c]
push eax
call fcn.00406190
add esp, 8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x1c], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp + 0x1c]
call fcn.004194c0
movzx eax, al
test eax, eax
jne 0x4080ee
mov byte [ebp + 0x3c], 0
lea ecx, [ebp + 0x1c]
call fcn.00419380
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
push edx
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3c]
jmp 0x408236
lea edx, [ebp - 8]
push edx
push 0x2000
lea eax, [ebp - 0x2264]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00419630
movzx ecx, al
test ecx, ecx
jne 0x408161
mov byte [ebp + 0x3b], 0
lea ecx, [ebp + 0x1c]
call fcn.00419380
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3b]
jmp 0x408236
lea eax, [ebp + 0x64]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x2264]
push edx
lea ecx, [ebp + 0x6c]
call fcn.004198c0
movzx eax, al
test eax, eax
je 0x408187
mov ecx, dword [ebp + 0x64]
cmp ecx, dword [ebp - 8]
je 0x4081d8
mov byte [ebp + 0x3a], 0
lea ecx, [ebp + 0x1c]
call fcn.00419380
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0042eaf0
add esp, 4
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov ecx, dword [ebp + 0x54]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x3a]
jmp 0x408236
cmp dword [ebp + 0x64], 0
jne 0x4080ee
lea ecx, [ebp + 0x1c]
call fcn.00419380
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.0042eaf0
add esp, 4
jmp 0x40804b
mov byte [ebp + 0x39], 1
lea ecx, [ebp + 0x6c]
call fcn.00419380
lea ecx, [ebp + 0x68]
call fcn.00419380
mov edx, dword [ebp + 0x54]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
push eax
call fcn.0042eaf0
add esp, 4
mov al, byte [ebp + 0x39]
add ebp, 0x70
mov esp, ebp
pop ebp
ret