Function at 0x4e6ba0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c0e1
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], ecx
cmp dword [ebp + 8], 0
je 0x4e6be7
mov eax, dword [ebp + 8]
push eax
call fcn.00504fca
add esp, 4
test eax, eax
jne 0x4e6bee
xor al, al
jmp 0x4e7a70
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x384
call fcn.00481160
mov edx, dword [ebp - 0x3d4]
add edx, 0x384
push edx
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x408
call fcn.00481130
mov dword [ebp - 0x3f8], 0
lea ecx, [ebp - 0x118]
call fcn.00480f40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00480f40
mov byte [ebp - 4], 1
mov dword [ebp - 0x3d8], 0
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x384
call fcn.004053a0
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
test ecx, ecx
je 0x4e74c8
lea ecx, [ebp - 0x118]
call fcn.00481530
lea ecx, [ebp - 0x94]
call fcn.00481530
mov edx, dword [ebp - 0x3d0]
movzx eax, word [edx]
test eax, eax
jle 0x4e6cc4
mov ecx, dword [ebp - 0x3d0]
movzx edx, word [ecx]
cmp edx, 0x20
jg 0x4e6cc4
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x3d0], eax
jmp 0x4e6c94
mov ecx, dword [ebp - 0x3d0]
movzx edx, word [ecx]
test edx, edx
je 0x4e6d44
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
cmp ecx, 0x3d
je 0x4e6d44
mov edx, dword [ebp - 0x3d0]
movzx eax, word [edx]
cmp eax, 0x20
jle 0x4e6d44
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x440], eax
mov edx, dword [ebp - 0x3d0]
cmp edx, dword [ebp - 0x440]
jae 0x4e6d42
mov eax, dword [ebp - 0x3d0]
mov cx, word [eax]
mov word [ebp - 0x3f2], cx
movzx edx, word [ebp - 0x3f2]
push edx
lea ecx, [ebp - 0x118]
call fcn.00481230
mov eax, dword [ebp - 0x3d0]
add eax, 2
mov dword [ebp - 0x3d0], eax
jmp 0x4e6d00
jmp 0x4e6cc4
mov ecx, dword [ebp - 0x3d0]
movzx edx, word [ecx]
test edx, edx
jle 0x4e6d74
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
cmp ecx, 0x20
jg 0x4e6d74
mov edx, dword [ebp - 0x3d0]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x3d0], eax
jmp 0x4e6d44
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x3d0]
add edx, 2
mov dword [ebp - 0x3d0], edx
cmp dword [ebp - 0x464], 0x3d
je 0x4e6da0
jmp 0x4e74c8
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
test ecx, ecx
jle 0x4e6dd0
mov edx, dword [ebp - 0x3d0]
movzx eax, word [edx]
cmp eax, 0x20
jg 0x4e6dd0
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x3d0], eax
jmp 0x4e6da0
mov edx, dword [ebp - 0x3d0]
movzx eax, word [edx]
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x3d0]
add ecx, 2
mov dword [ebp - 0x3d0], ecx
cmp dword [ebp - 0x468], 0x27
je 0x4e6dfc
jmp 0x4e74c8
mov edx, dword [ebp - 0x3d0]
movzx eax, word [edx]
test eax, eax
je 0x4e6e6e
mov ecx, dword [ebp - 0x3d0]
movzx edx, word [ecx]
cmp edx, 0x27
je 0x4e6e6e
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x3d0]
cmp ecx, dword [ebp - 0x46c]
jae 0x4e6e6c
mov edx, dword [ebp - 0x3d0]
mov ax, word [edx]
mov word [ebp - 0x3f4], ax
movzx ecx, word [ebp - 0x3f4]
push ecx
lea ecx, [ebp - 0x94]
call fcn.00481230
mov edx, dword [ebp - 0x3d0]
add edx, 2
mov dword [ebp - 0x3d0], edx
jmp 0x4e6e2a
jmp 0x4e6dfc
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x3d0]
add edx, 2
mov dword [ebp - 0x3d0], edx
cmp dword [ebp - 0x43c], 0x27
je 0x4e6e9a
jmp 0x4e74c8
lea ecx, [ebp - 0x94]
call fcn.00481cd0
movzx eax, al
test eax, eax
jne 0x4e749a
push 0x55e508
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e6ed9
mov dword [ebp - 0x42c], 1
jmp 0x4e6ee3
mov dword [ebp - 0x42c], 0
movzx ecx, byte [ebp - 0x42c]
test ecx, ecx
je 0x4e6f0b
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x408
call fcn.00481130
jmp 0x4e749a
push str.dest
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e6f34
mov dword [ebp - 0x430], 1
jmp 0x4e6f3e
mov dword [ebp - 0x430], 0
movzx eax, byte [ebp - 0x430]
test eax, eax
je 0x4e6ff0
push 0xa
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x494], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x498], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x49c], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x4a0], eax
jmp 0x4e749a
push str.source
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e7019
mov dword [ebp - 0x434], 1
jmp 0x4e7023
mov dword [ebp - 0x434], 0
movzx eax, byte [ebp - 0x434]
test eax, eax
je 0x4e70d5
push 0xa
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x4a4], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x4a8], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x4ac], eax
push 0xa
lea eax, [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0x3d8]
add ecx, 2
push ecx
call fcn.004fe282
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x4b0], eax
jmp 0x4e749a
push str.corner
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e70fe
mov dword [ebp - 0x438], 1
jmp 0x4e7108
mov dword [ebp - 0x438], 0
movzx eax, byte [ebp - 0x438]
test eax, eax
jne 0x4e7155
push str.scale9
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e713c
mov dword [ebp - 0x3fc], 1
jmp 0x4e7146
mov dword [ebp - 0x3fc], 0
movzx ecx, byte [ebp - 0x3fc]
test ecx, ecx
je 0x4e71f8
push 0xa
lea edx, [ebp - 0x3d8]
push edx
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.004fe282
add esp, 0xc
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x4b4], eax
push 0xa
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3d8]
add eax, 2
push eax
call fcn.004fe282
add esp, 0xc
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x4b8], eax
push 0xa
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3d8]
add eax, 2
push eax
call fcn.004fe282
add esp, 0xc
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x4bc], eax
push 0xa
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3d8]
add eax, 2
push eax
call fcn.004fe282
add esp, 0xc
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x4c0], eax
jmp 0x4e749a
push str.mask
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e7221
mov dword [ebp - 0x400], 1
jmp 0x4e722b
mov dword [ebp - 0x400], 0
movzx edx, byte [ebp - 0x400]
test edx, edx
je 0x4e729b
push 0
lea ecx, [ebp - 0x94]
call fcn.004811b0
movzx eax, ax
cmp eax, 0x23
jne 0x4e7273
push 0x10
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004053a0
add eax, 2
push eax
call fcn.004fe2ae
add esp, 0xc
mov dword [ebp - 0x3f8], eax
jmp 0x4e7296
push 0x10
lea edx, [ebp - 0x3d8]
push edx
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.004fe2ae
add esp, 0xc
mov dword [ebp - 0x3f8], eax
jmp 0x4e749a
push str.fade
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e72c4
mov dword [ebp - 0x404], 1
jmp 0x4e72ce
mov dword [ebp - 0x404], 0
movzx eax, byte [ebp - 0x404]
test eax, eax
je 0x4e7307
push 0xa
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.004fe2ae
add esp, 0xc
mov edx, dword [ebp - 0x3d4]
mov byte [edx + 0x4c4], al
jmp 0x4e749a
push str.hole
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e7330
mov dword [ebp - 0x408], 1
jmp 0x4e733a
mov dword [ebp - 0x408], 0
movzx eax, byte [ebp - 0x408]
test eax, eax
je 0x4e738f
push str.true
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e736e
mov dword [ebp - 0x40c], 1
jmp 0x4e7378
mov dword [ebp - 0x40c], 0
mov ecx, dword [ebp - 0x3d4]
mov dl, byte [ebp - 0x40c]
mov byte [ecx + 0x4c5], dl
jmp 0x4e749a
push str.xtiled
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e73b8
mov dword [ebp - 0x410], 1
jmp 0x4e73c2
mov dword [ebp - 0x410], 0
movzx eax, byte [ebp - 0x410]
test eax, eax
je 0x4e7417
push str.true
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e73f6
mov dword [ebp - 0x414], 1
jmp 0x4e7400
mov dword [ebp - 0x414], 0
mov ecx, dword [ebp - 0x3d4]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0x4c6], dl
jmp 0x4e749a
push str.ytiled
lea ecx, [ebp - 0x118]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e7440
mov dword [ebp - 0x418], 1
jmp 0x4e744a
mov dword [ebp - 0x418], 0
movzx eax, byte [ebp - 0x418]
test eax, eax
je 0x4e749a
push str.true
lea ecx, [ebp - 0x94]
call fcn.004053a0
push eax
call fcn.00503c58
add esp, 8
test eax, eax
jne 0x4e747e
mov dword [ebp - 0x41c], 1
jmp 0x4e7488
mov dword [ebp - 0x41c], 0
mov ecx, dword [ebp - 0x3d4]
mov dl, byte [ebp - 0x41c]
mov byte [ecx + 0x4c7], dl
mov eax, dword [ebp - 0x3d0]
movzx ecx, word [eax]
mov dword [ebp - 0x458], ecx
mov edx, dword [ebp - 0x3d0]
add edx, 2
mov dword [ebp - 0x3d0], edx
cmp dword [ebp - 0x458], 0x20
je 0x4e74c3
jmp 0x4e74c8
jmp 0x4e6c6d
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3e0], 0
call fcn.00472cf0
push eax
lea ecx, [ebp - 0x19c]
call fcn.00480ec0
mov byte [ebp - 4], 2
call fcn.00472d00
mov ecx, eax
call fcn.00481cd0
movzx eax, al
test eax, eax
je 0x4e7660
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x408
push ecx
lea ecx, [ebp - 0x19c]
call fcn.004811d0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x19c]
call fcn.004053a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0xffffffff
jne 0x4e7567
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
push 0
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x4e75a6
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
mov dword [ebp - 0x420], 0
mov ecx, dword [ebp - 0x3e0]
add ecx, 1
push ecx
call fcn.0046ee78
add esp, 4
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x3dc], edx
mov eax, dword [ebp - 0x3dc]
add eax, dword [ebp - 0x3e0]
mov byte [eax], 0
push 0
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3dc]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x3e0]
je 0x4e765b
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp - 0x448]
push edx
call fcn.0046ec66
add esp, 4
mov dword [ebp - 0x3dc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
jmp 0x4e780f
call fcn.00472d00
push eax
lea ecx, [ebp - 0x19c]
call fcn.004811d0
mov dword [ebp - 0x3e8], 0
call fcn.00473030
movzx eax, al
test eax, eax
je 0x4e7694
call fcn.00472d10
mov dword [ebp - 0x3e8], eax
jmp 0x4e76b4
call fcn.00472d20
push eax
lea ecx, [ebp - 0x19c]
call fcn.004053a0
push eax
call fcn.004128c0
add esp, 8
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x3e8], 0
jne 0x4e76d1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x450]
push edx
push 1
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x408
call fcn.004053a0
push eax
mov eax, dword [ebp - 0x3e8]
push eax
call fcn.00412990
add esp, 0x14
test eax, eax
je 0x4e771a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x3e0], ecx
cmp dword [ebp - 0x3e0], 0
jne 0x4e7743
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
mov edx, dword [ebp - 0x3e0]
push edx
call fcn.0046ee78
add esp, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
mov edx, dword [ebp - 0x3dc]
push edx
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00412a90
add esp, 0x10
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x4e77f4
cmp dword [ebp - 0x424], 0x600
je 0x4e77f4
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
push eax
call fcn.0046ec66
add esp, 4
mov dword [ebp - 0x3dc], 0
call fcn.00473030
movzx ecx, al
test ecx, ecx
jne 0x4e77e3
mov edx, dword [ebp - 0x3e8]
push edx
call fcn.00412b10
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
jmp 0x4e7826
call fcn.00473030
movzx eax, al
test eax, eax
jne 0x4e780f
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00412b10
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.00481030
xor edx, edx
jne 0x4e74dc
cmp dword [ebp - 0x3dc], 0
jne 0x4e7949
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x408
call fcn.004053a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0xffffffff
jne 0x4e7871
jmp 0x4e7949
push 0
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x4e78a1
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e7949
mov dword [ebp - 0x428], 0
mov edx, dword [ebp - 0x3e0]
add edx, 1
push edx
call fcn.0046ee78
add esp, 4
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3dc]
add ecx, dword [ebp - 0x3e0]
mov byte [ecx], 0
push 0
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3f0]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x428]
cmp ecx, dword [ebp - 0x3e0]
je 0x4e7942
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x45c]
push eax
call fcn.0046ec66
add esp, 4
mov dword [ebp - 0x3dc], 0
jmp 0x4e7949
cmp dword [ebp - 0x3dc], 0
jne 0x4e7985
mov byte [ebp - 0x3e3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00481030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00481030
mov al, byte [ebp - 0x3e3]
jmp 0x4e7a70
mov ecx, dword [ebp - 0x3f8]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3dc]
push eax
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [edx + 0x190]
call eax
mov byte [ebp - 0x3e1], al
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x460]
push edx
call fcn.0046ec66
add esp, 4
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x4a4], 0
jne 0x4e7a3d
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x4ac], 0
jne 0x4e7a3d
mov edx, dword [ebp - 0x3d4]
cmp dword [edx + 0x4a8], 0
jne 0x4e7a3d
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x4b0], 0
jne 0x4e7a3d
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + 0x6e0]
mov dword [ecx + 0x4ac], eax
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + 0x6e4]
mov dword [ecx + 0x4b0], eax
mov cl, byte [ebp - 0x3e1]
mov byte [ebp - 0x3e2], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00481030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00481030
mov al, byte [ebp - 0x3e2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret 4