Function at 0x413690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439368
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x450068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
push 0x800
mov dword [ebp - 0x2c], edi
call fcn.0041aed7
mov esi, eax
add esp, 4
test esi, esi
je 0x41427f
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], eax
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], eax
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d8], eax
mov dword [esi + 0x1dc], eax
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], eax
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], eax
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], eax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], eax
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], eax
mov dword [esi + 0x240], eax
mov dword [esi + 0x244], eax
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], eax
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], eax
mov dword [esi + 0x258], eax
mov dword [esi + 0x25c], eax
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], eax
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x27c], eax
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], eax
mov dword [esi + 0x28c], eax
mov dword [esi + 0x290], eax
mov dword [esi + 0x294], eax
mov dword [esi + 0x298], eax
mov dword [esi + 0x29c], eax
mov dword [esi + 0x2a0], eax
mov dword [esi + 0x2a4], eax
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2ac], eax
mov dword [esi + 0x2b0], eax
mov dword [esi + 0x2b4], eax
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], eax
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], eax
mov dword [esi + 0x2d0], eax
mov dword [esi + 0x2d4], eax
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2dc], eax
mov dword [esi + 0x2e0], eax
mov dword [esi + 0x2e4], eax
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x2ec], eax
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x2f4], eax
mov dword [esi + 0x2f8], eax
mov dword [esi + 0x2fc], eax
mov dword [esi + 0x300], eax
mov dword [esi + 0x304], eax
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], eax
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], eax
mov dword [esi + 0x318], eax
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], eax
mov dword [esi + 0x330], eax
mov dword [esi + 0x334], eax
mov dword [esi + 0x338], eax
mov dword [esi + 0x33c], eax
mov dword [esi + 0x340], eax
mov dword [esi + 0x344], eax
mov dword [esi + 0x348], eax
mov dword [esi + 0x34c], eax
mov dword [esi + 0x350], eax
mov dword [esi + 0x354], eax
mov dword [esi + 0x358], eax
mov dword [esi + 0x35c], eax
mov dword [esi + 0x360], eax
mov dword [esi + 0x364], eax
mov dword [esi + 0x368], eax
mov dword [esi + 0x36c], eax
mov dword [esi + 0x370], eax
mov dword [esi + 0x374], eax
mov dword [esi + 0x378], eax
mov dword [esi + 0x37c], eax
mov dword [esi + 0x380], eax
mov dword [esi + 0x384], eax
mov dword [esi + 0x388], eax
mov dword [esi + 0x38c], eax
mov dword [esi + 0x390], eax
mov dword [esi + 0x394], eax
mov dword [esi + 0x398], eax
mov dword [esi + 0x39c], eax
mov dword [esi + 0x3a0], eax
mov dword [esi + 0x3a4], eax
mov dword [esi + 0x3a8], eax
mov dword [esi + 0x3ac], eax
mov dword [esi + 0x3b0], eax
mov dword [esi + 0x3b4], eax
mov dword [esi + 0x3b8], eax
mov dword [esi + 0x3bc], eax
mov dword [esi + 0x3c0], eax
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c8], eax
mov dword [esi + 0x3cc], eax
mov dword [esi + 0x3d0], eax
mov dword [esi + 0x3d4], eax
mov dword [esi + 0x3d8], eax
mov dword [esi + 0x3dc], eax
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3e4], eax
mov dword [esi + 0x3e8], eax
mov dword [esi + 0x3ec], eax
mov dword [esi + 0x3f0], eax
mov dword [esi + 0x3f4], eax
mov dword [esi + 0x3f8], eax
mov dword [esi + 0x3fc], eax
mov dword [esi + 0x400], eax
mov dword [esi + 0x404], eax
mov dword [esi + 0x408], eax
mov dword [esi + 0x40c], eax
mov dword [esi + 0x410], eax
mov dword [esi + 0x414], eax
mov dword [esi + 0x418], eax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x420], eax
mov dword [esi + 0x424], eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov dword [esi + 0x430], eax
mov dword [esi + 0x434], eax
mov dword [esi + 0x438], eax
mov dword [esi + 0x43c], eax
mov dword [esi + 0x440], eax
mov dword [esi + 0x444], eax
mov dword [esi + 0x448], eax
mov dword [esi + 0x44c], eax
mov dword [esi + 0x450], eax
mov dword [esi + 0x454], eax
mov dword [esi + 0x458], eax
mov dword [esi + 0x45c], eax
mov dword [esi + 0x460], eax
mov dword [esi + 0x464], eax
mov dword [esi + 0x468], eax
mov dword [esi + 0x46c], eax
mov dword [esi + 0x470], eax
mov dword [esi + 0x474], eax
mov dword [esi + 0x478], eax
mov dword [esi + 0x47c], eax
mov dword [esi + 0x480], eax
mov dword [esi + 0x484], eax
mov dword [esi + 0x488], eax
mov dword [esi + 0x48c], eax
mov dword [esi + 0x490], eax
mov dword [esi + 0x494], eax
mov dword [esi + 0x498], eax
mov dword [esi + 0x49c], eax
mov dword [esi + 0x4a0], eax
mov dword [esi + 0x4a4], eax
mov dword [esi + 0x4a8], eax
mov dword [esi + 0x4ac], eax
mov dword [esi + 0x4b0], eax
mov dword [esi + 0x4b4], eax
mov dword [esi + 0x4b8], eax
mov dword [esi + 0x4bc], eax
mov dword [esi + 0x4c0], eax
mov dword [esi + 0x4c4], eax
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4cc], eax
mov dword [esi + 0x4d0], eax
mov dword [esi + 0x4d4], eax
mov dword [esi + 0x4d8], eax
mov dword [esi + 0x4dc], eax
mov dword [esi + 0x4e0], eax
mov dword [esi + 0x4e4], eax
mov dword [esi + 0x4e8], eax
mov dword [esi + 0x4ec], eax
mov dword [esi + 0x4f0], eax
mov dword [esi + 0x4f4], eax
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x4fc], eax
mov dword [esi + 0x500], eax
mov dword [esi + 0x504], eax
mov dword [esi + 0x508], eax
mov dword [esi + 0x50c], eax
mov dword [esi + 0x510], eax
mov dword [esi + 0x514], eax
mov dword [esi + 0x518], eax
mov dword [esi + 0x51c], eax
mov dword [esi + 0x520], eax
mov dword [esi + 0x524], eax
mov dword [esi + 0x528], eax
mov dword [esi + 0x52c], eax
mov dword [esi + 0x530], eax
mov dword [esi + 0x534], eax
mov dword [esi + 0x538], eax
mov dword [esi + 0x53c], eax
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov dword [esi + 0x548], eax
mov dword [esi + 0x54c], eax
mov dword [esi + 0x550], eax
mov dword [esi + 0x554], eax
mov dword [esi + 0x558], eax
mov dword [esi + 0x55c], eax
mov dword [esi + 0x560], eax
mov dword [esi + 0x564], eax
mov dword [esi + 0x568], eax
mov dword [esi + 0x56c], eax
mov dword [esi + 0x570], eax
mov dword [esi + 0x574], eax
mov dword [esi + 0x578], eax
mov dword [esi + 0x57c], eax
mov dword [esi + 0x580], eax
mov dword [esi + 0x584], eax
mov dword [esi + 0x588], eax
mov dword [esi + 0x58c], eax
mov dword [esi + 0x590], eax
mov dword [esi + 0x594], eax
mov dword [esi + 0x598], eax
mov dword [esi + 0x59c], eax
mov dword [esi + 0x5a0], eax
mov dword [esi + 0x5a4], eax
mov dword [esi + 0x5a8], eax
mov dword [esi + 0x5ac], eax
mov dword [esi + 0x5b0], eax
mov dword [esi + 0x5b4], eax
mov dword [esi + 0x5b8], eax
mov dword [esi + 0x5bc], eax
mov dword [esi + 0x5c0], eax
mov dword [esi + 0x5c4], eax
mov dword [esi + 0x5c8], eax
mov dword [esi + 0x5cc], eax
mov dword [esi + 0x5d0], eax
mov dword [esi + 0x5d4], eax
mov dword [esi + 0x5d8], eax
mov dword [esi + 0x5dc], eax
mov dword [esi + 0x5e0], eax
mov dword [esi + 0x5e4], eax
mov dword [esi + 0x5e8], eax
mov dword [esi + 0x5ec], eax
mov dword [esi + 0x5f0], eax
mov dword [esi + 0x5f4], eax
mov dword [esi + 0x5f8], eax
mov dword [esi + 0x5fc], eax
mov dword [esi + 0x600], eax
mov dword [esi + 0x604], eax
mov dword [esi + 0x608], eax
mov dword [esi + 0x60c], eax
mov dword [esi + 0x610], eax
mov dword [esi + 0x614], eax
mov dword [esi + 0x618], eax
mov dword [esi + 0x61c], eax
mov dword [esi + 0x620], eax
mov dword [esi + 0x624], eax
mov dword [esi + 0x628], eax
mov dword [esi + 0x62c], eax
mov dword [esi + 0x630], eax
mov dword [esi + 0x634], eax
mov dword [esi + 0x638], eax
mov dword [esi + 0x63c], eax
mov dword [esi + 0x640], eax
mov dword [esi + 0x644], eax
mov dword [esi + 0x648], eax
mov dword [esi + 0x64c], eax
mov dword [esi + 0x650], eax
mov dword [esi + 0x654], eax
mov dword [esi + 0x658], eax
mov dword [esi + 0x65c], eax
mov dword [esi + 0x660], eax
mov dword [esi + 0x664], eax
mov dword [esi + 0x668], eax
mov dword [esi + 0x66c], eax
mov dword [esi + 0x670], eax
mov dword [esi + 0x674], eax
mov dword [esi + 0x678], eax
mov dword [esi + 0x67c], eax
mov dword [esi + 0x680], eax
mov dword [esi + 0x684], eax
mov dword [esi + 0x688], eax
mov dword [esi + 0x68c], eax
mov dword [esi + 0x690], eax
mov dword [esi + 0x694], eax
mov dword [esi + 0x698], eax
mov dword [esi + 0x69c], eax
mov dword [esi + 0x6a0], eax
mov dword [esi + 0x6a4], eax
mov dword [esi + 0x6a8], eax
mov dword [esi + 0x6ac], eax
mov dword [esi + 0x6b0], eax
mov dword [esi + 0x6b4], eax
mov dword [esi + 0x6b8], eax
mov dword [esi + 0x6bc], eax
mov dword [esi + 0x6c0], eax
mov dword [esi + 0x6c4], eax
mov dword [esi + 0x6c8], eax
mov dword [esi + 0x6cc], eax
mov dword [esi + 0x6d0], eax
mov dword [esi + 0x6d4], eax
mov dword [esi + 0x6d8], eax
mov dword [esi + 0x6dc], eax
mov dword [esi + 0x6e0], eax
mov dword [esi + 0x6e4], eax
mov dword [esi + 0x6e8], eax
mov dword [esi + 0x6ec], eax
mov dword [esi + 0x6f0], eax
mov dword [esi + 0x6f4], eax
mov dword [esi + 0x6f8], eax
mov dword [esi + 0x6fc], eax
mov dword [esi + 0x700], eax
mov dword [esi + 0x704], eax
mov dword [esi + 0x708], eax
mov dword [esi + 0x70c], eax
mov dword [esi + 0x710], eax
mov dword [esi + 0x714], eax
mov dword [esi + 0x718], eax
mov dword [esi + 0x71c], eax
mov dword [esi + 0x720], eax
mov dword [esi + 0x724], eax
mov dword [esi + 0x728], eax
mov dword [esi + 0x72c], eax
mov dword [esi + 0x730], eax
mov dword [esi + 0x734], eax
mov dword [esi + 0x738], eax
mov dword [esi + 0x73c], eax
mov dword [esi + 0x740], eax
mov dword [esi + 0x744], eax
mov dword [esi + 0x748], eax
mov dword [esi + 0x74c], eax
mov dword [esi + 0x750], eax
mov dword [esi + 0x754], eax
mov dword [esi + 0x758], eax
mov dword [esi + 0x75c], eax
mov dword [esi + 0x760], eax
mov dword [esi + 0x764], eax
mov dword [esi + 0x768], eax
mov dword [esi + 0x76c], eax
mov dword [esi + 0x770], eax
mov dword [esi + 0x774], eax
mov dword [esi + 0x778], eax
mov dword [esi + 0x77c], eax
mov dword [esi + 0x780], eax
mov dword [esi + 0x784], eax
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], eax
mov dword [esi + 0x790], eax
mov dword [esi + 0x794], eax
mov dword [esi + 0x798], eax
mov dword [esi + 0x79c], eax
mov dword [esi + 0x7a0], eax
mov dword [esi + 0x7a4], eax
mov dword [esi + 0x7a8], eax
mov dword [esi + 0x7ac], eax
mov dword [esi + 0x7b0], eax
mov dword [esi + 0x7b4], eax
mov dword [esi + 0x7b8], eax
mov dword [esi + 0x7bc], eax
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x7c4], eax
mov dword [esi + 0x7c8], eax
mov dword [esi + 0x7cc], eax
mov dword [esi + 0x7d0], eax
mov dword [esi + 0x7d4], eax
mov dword [esi + 0x7d8], eax
mov dword [esi + 0x7dc], eax
mov dword [esi + 0x7e0], eax
mov dword [esi + 0x7e4], eax
mov dword [esi + 0x7e8], eax
mov dword [esi + 0x7ec], eax
mov dword [esi + 0x7f0], eax
mov dword [esi + 0x7f4], eax
mov dword [esi + 0x7f8], eax
mov dword [esi + 0x7fc], eax
jmp 0x414281
xor esi, esi
push 0
push esi
push 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4142fd
cmp eax, 0x400
ja 0x4142fd
push esi
lea ecx, [ebp - 0x28]
call fcn.00402a80
push esi
mov dword [ebp - 4], 0
call fcn.0041aafc
add esp, 4
cmp dword [ebp - 0x18], 3
jbe 0x4142e1
nop word [eax + eax]
lea ecx, [ebp - 0x28]
call fcn.00406400
cmp word [eax], 0x5c
jne 0x4142e1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
dec eax
push eax
call fcn.004074f0
cmp dword [ebp - 0x18], 3
ja 0x4142c0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00402a40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004029e0
jmp 0x414317
push esi
call fcn.0041aafc
add esp, 4
mov ecx, str.Failed_to_normalize_path
call fcn.00411420
mov ecx, edi
call fcn.00406490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret