Function at 0x50d2ad
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Read file on windows

Disassembly:
push 0x30c
mov eax, 0x791be9
call fcn.00700ca1
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push 7
xor ebx, ebx
mov dword [ebp - 0x310], esi
push str.GPCUtil
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.00439710
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.006210e3
pop ecx
push 8
push str.filePath
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov edi, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00439710
push ebx
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00620ff2
add esp, 0xc
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0061c551
mov esi, eax
push ebx
push 0x858903
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0061c551
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.006215aa
lea ecx, [ebp - 0x1c0]
call fcn.00438e20
lea ecx, [ebp - 0x1d8]
call fcn.00438e20
lea ecx, [ebp - 0x70]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
mov esi, 0x1000
cmp eax, 0x10
jb 0x50d3f8
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50d3ef
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x314]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00438e20
lea ecx, [ebp - 0x1a8]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
push 0x10
pop edi
cmp eax, edi
jb 0x50d46e
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x314], ecx
cmp eax, esi
jb 0x50d465
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x308]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x314]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
cmp eax, edi
jb 0x50d4c4
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x314], ecx
cmp eax, esi
jb 0x50d4bb
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x308]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x314]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x14], 8
jb 0x50d4d2
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 7
pop esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x310], eax
test eax, eax
je 0x50dfb1
cmp eax, 0xffffffff
je 0x50dfb1
push 0x40
lea eax, [ebp - 0x304]
push ebx
push eax
call fcn.00719250
xor eax, eax
mov esi, dword [ebp - 0x310]
lea edi, [ebp - 0x1ec]
mov dword [ebp - 0x318], ebx
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x314], ebx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x314]
push eax
push 0x40
lea eax, [ebp - 0x304]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x50dcc3
cmp dword [ebp - 0x314], 0x40
jne 0x50dcc3
mov eax, 0x5a4d
cmp word [ebp - 0x304], ax
jne 0x50dcc3
push ebx
push ebx
push dword [ebp - 0x2c8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x50d820
push 7
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x1b
push eax
call fcn.006210e3
push 0xf
pop esi
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x30c], al
lea ecx, [ebp - 0x58]
push dword [ebp - 0x30c]
mov dword [ebp - 0x48], eax
push 0x10
mov byte [ebp - 0x58], al
call fcn.0043a610
mov byte [ebp - 4], 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.0061c551
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 0x1e
push eax
push 0x858903
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], al
call fcn.00439710
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x1f
push str.Failed_to_move_File_Pointer
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x21
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00439710
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x22
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x23
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.0061c551
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x24
call fcn.00621500
lea ecx, [ebp - 0x100]
call fcn.00438e20
lea ecx, [ebp - 0x118]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
mov esi, 0x1000
push 0x10
pop edi
cmp eax, edi
jb 0x50d726
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x30c], ecx
cmp eax, esi
jb 0x50d71d
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x308]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30c]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x148]
call fcn.00438e20
lea ecx, [ebp - 0x190]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x50d79b
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50d792
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00438e20
lea ecx, [ebp - 0x178]
call fcn.00438e20
lea ecx, [ebp - 0x1c0]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
cmp eax, edi
jb 0x50d80e
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50d805
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
jmp 0x50df58
push ebx
lea eax, [ebp - 0x314]
push eax
push 4
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x50db96
cmp dword [ebp - 0x314], 4
jne 0x50db96
cmp dword [ebp - 0x318], 0x4550
jne 0x50db96
push ebx
lea eax, [ebp - 0x314]
push eax
push 0x14
lea eax, [ebp - 0x1ec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x50d88e
cmp dword [ebp - 0x314], 0x14
jne 0x50d88e
movzx ebx, word [ebp - 0x1ec]
jmp 0x50df9d
push 7
push str.GPCUtil
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], bl
call fcn.00439710
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0x2f
push eax
call fcn.006210e3
push 0xf
pop esi
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0x30c], al
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x30c]
mov dword [ebp - 0xa8], eax
push 0x10
mov byte [ebp - 0xb8], al
call fcn.0043a610
mov byte [ebp - 4], 0x30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x31
push ecx
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0061c551
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 0x32
push eax
push 0x858903
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0xa0], al
call fcn.00439710
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x33
push 0x80c3b4
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x34
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x35
push eax
push 0x858903
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
call fcn.00439710
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 0x36
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x37
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0061c551
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x38
call fcn.00621500
lea ecx, [ebp - 0x24c]
call fcn.00438e20
lea ecx, [ebp - 0x264]
call fcn.00438e20
lea ecx, [ebp - 0x204]
call fcn.00438e20
mov eax, dword [ebp - 0x74]
mov esi, 0x1000
push 0x10
pop edi
cmp eax, edi
jb 0x50da67
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50da5e
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
call fcn.00438e20
lea ecx, [ebp - 0x294]
call fcn.00438e20
lea ecx, [ebp - 0x21c]
call fcn.00438e20
mov eax, dword [ebp - 0x8c]
cmp eax, edi
jb 0x50dae5
mov ecx, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50dadc
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], bl
call fcn.00438e20
lea ecx, [ebp - 0x2c4]
call fcn.00438e20
lea ecx, [ebp - 0x234]
call fcn.00438e20
mov eax, dword [ebp - 0xa4]
cmp eax, edi
jb 0x50db67
mov ecx, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
cmp eax, esi
jb 0x50db5e
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], bl
cmp eax, edi
jb 0x50df9d
mov ecx, dword [ebp - 0xe8]
jmp 0x50df62
push 7
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x25
push eax
call fcn.006210e3
push 0xf
pop esi
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x30c], al
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30c]
mov dword [ebp - 0x18], eax
push 0x10
mov byte [ebp - 0x28], al
call fcn.0043a610
mov byte [ebp - 4], 0x26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.0061c551
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 0x28
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], al
call fcn.00439710
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x29
push 0x80c398
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2a
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x2b
push eax
push 0x858903
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00439710
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x2c
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x2d
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.0061c551
mov byte [ebp - 4], 0x2e
jmp 0x50ddeb
push 7
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x11
push eax
call fcn.006210e3
push 0xf
pop esi
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x30c], al
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30c]
mov dword [ebp - 0x18], eax
push 0x10
mov byte [ebp - 0x28], al
call fcn.0043a610
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.0061c551
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 0x14
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], al
call fcn.00439710
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x15
push 0x80c360
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x17
push eax
push 0x858903
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00439710
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x18
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.0061c551
mov byte [ebp - 4], 0x1a
push edi
push esi
push eax
mov ecx, ebx
call fcn.00621500
lea ecx, [ebp - 0x160]
call fcn.00438e20
lea ecx, [ebp - 0x178]
call fcn.00438e20
lea ecx, [ebp - 0x1c0]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
mov esi, 0x1000
push 0x10
pop edi
cmp eax, edi
jb 0x50de63
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
cmp eax, esi
jb 0x50de5a
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00438e20
lea ecx, [ebp - 0x148]
call fcn.00438e20
lea ecx, [ebp - 0x190]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jb 0x50ded8
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
cmp eax, esi
jb 0x50decf
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x118]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x50df4b
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
cmp eax, esi
jb 0x50df42
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x5c]
cmp eax, edi
jb 0x50df9d
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x30c], eax
cmp eax, esi
jb 0x50df94
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push dword [ebp - 0x310]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, bx
jmp 0x50e289
push esi
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov dword [ebp - 4], esi
push eax
call fcn.006210e3
push 0xf
pop esi
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x310], al
lea ecx, [ebp - 0x28]
push dword [ebp - 0x310]
mov dword [ebp - 0x18], eax
push 0x10
mov byte [ebp - 0x28], al
call fcn.0043a610
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.0061c551
mov edi, eax
xor eax, eax
mov byte [ebp - 4], 0xa
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], al
call fcn.00439710
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xb
push str.Failed_to_open_file
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 0x858903
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00439710
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xe
push str.CFileSystem::GetImageArchitecture
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.0061c551
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.00621500
lea ecx, [ebp - 0x160]
call fcn.00438e20
lea ecx, [ebp - 0x178]
call fcn.00438e20
lea ecx, [ebp - 0x1c0]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
mov esi, 0x1000
cmp eax, 0x10
jb 0x50e14a
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], ecx
cmp eax, esi
jb 0x50e141
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x310]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00438e20
lea ecx, [ebp - 0x148]
call fcn.00438e20
lea ecx, [ebp - 0x190]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x50e1c0
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], ecx
cmp eax, esi
jb 0x50e1b7
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x310]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x118]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x50e234
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], ecx
cmp eax, esi
jb 0x50e22b
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x310]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
cmp eax, 0x10
jb 0x50e287
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x318], ecx
cmp eax, esi
jb 0x50e27e
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x310]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x318]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor eax, eax
call fcn.00700c4b
ret