Function at 0x478eb5
Capabilities:
Read file on windows

Disassembly:
push 0x1f0
mov eax, 0x492608
call fcn.0044c88d
mov esi, 0x4e49e4
push esi
push 0x44c
call fcn.0047a787
push esi
call fcn.00478aa0
mov eax, dword [0x4e4760]
shr eax, 0x11
test al, 1
je 0x479172
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
cmp dword [0x4e467c], 7
mov ecx, 0x4e4668
cmova ecx, dword [0x4e4668]
call fcn.0040ab21
push 0x2e
lea ecx, [ebp - 0x44]
call fcn.0040b692
push str.xstg
lea ecx, [ebp - 0x44]
call fcn.00402078
mov edx, dword [0x4e478c]
lea ecx, [ebp - 0x44]
ror edx, 5
call fcn.0048a3e0
test al, al
je 0x47911a
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push 0x4a97e8
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00458973
mov esi, eax
mov dword [ebp - 0x1ec], esi
pop ecx
pop ecx
test esi, esi
je 0x47911a
mov ecx, esi
call fcn.004093d7
mov edi, eax
push edi
mov dword [ebp - 0x1e4], edi
call fcn.0044bc23
push esi
push 1
push edi
push eax
mov dword [ebp - 0x1e0], eax
call fcn.0045f37b
add esp, 0x14
test eax, eax
je 0x4790fc
lea ecx, [ebp - 0x11c]
call fcn.00407d80
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1e0]
push edi
call fcn.00402389
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00489c10
test al, al
je 0x479085
push dword [ebp - 0xcc]
xor ecx, ecx
mov edx, 0x4e49e4
cmp dword [0x4e49f8], esi
mov eax, edx
mov dword [0x4e49f4], ecx
cmova eax, dword [0x4e49e4]
cmp dword [ebp - 0xc8], esi
mov byte [eax], cl
lea eax, [ebp - 0xdc]
cmova eax, dword [ebp - 0xdc]
mov ecx, edx
push eax
call fcn.00402389
push 0x4e49e4
call fcn.00478aa0
push dword [ebp - 0xb4]
xor ecx, ecx
mov edx, 0x4e4a2c
cmp dword [0x4e4a40], esi
mov eax, edx
mov dword [0x4e4a3c], ecx
cmova eax, dword [0x4e4a2c]
cmp dword [ebp - 0xb0], esi
mov byte [eax], cl
lea eax, [ebp - 0xc4]
cmova eax, dword [ebp - 0xc4]
mov ecx, edx
push eax
call fcn.00402389
xor ecx, ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
cmova eax, dword [ebp - 0x2c]
mov byte [eax], cl
mov eax, dword [ebp - 0x18]
cmp eax, esi
jbe 0x4790e0
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], ecx
cmp eax, 0x1000
jb 0x4790d5
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.0040156c
mov eax, dword [ebp - 0x1e0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e4]
push eax
push ecx
call fcn.0044b96c
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], esi
call fcn.00407de5
jmp 0x479105
mov edi, dword [ebp - 0x1e0]
push 0xf
pop esi
push edi
call fcn.0044bc1e
push dword [ebp - 0x1ec]
call fcn.00458db1
pop ecx
pop ecx
jmp 0x47911d
push 0xf
pop esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x479175
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x479167
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.0040156c
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0044b96c
pop ecx
pop ecx
jmp 0x479175
push 0xf
pop esi
mov edi, 0x4e49fc
push edi
push 0x438
call fcn.0047a787
cmp dword [0x4e4a0c], 2
jbe 0x479194
push edi
call fcn.00413925
mov ecx, dword [0x4e49d8]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [0x4e4760]
shr eax, 0x12
test al, 1
je 0x4791da
lea ecx, [ebp - 0x1dc]
call fcn.004076e4
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 4], 5
call fcn.0040f610
test al, al
jne 0x47931b
lea ecx, [ebp - 0x1dc]
call fcn.00407839
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 8
push eax
push 0x40b
call fcn.0047a7fc
test al, al
je 0x47923f
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040cfbf
mov byte [ebp - 4], 9
mov ecx, dword [0x4e4a44]
test ecx, ecx
je 0x479230
lea eax, [ebp - 0x94]
push eax
call fcn.00489900
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 8
call fcn.0040d01d
call fcn.0047a14a
cmp dword [0x4e48d0], 0
jne 0x479256
cmp dword [0x4e48d4], 0
je 0x47925a
mov al, 1
jmp 0x47925c
xor eax, eax
cmp word [0x4e4ac8], 0
jg 0x479273
cmp dword [0x4e4a80], 0
jne 0x479273
test al, al
je 0x479278
call fcn.00479852
lea eax, [ebp - 0x44]
push eax
call fcn.004786ec
push 0x4e4aa4
push 0x4e4a8c
push 0x4e48d4
push 0x4e48d0
mov edx, 0x4e4b00
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00486070
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004015bc
mov ecx, dword [0x4e49d8]
mov eax, dword [ecx]
call dword [eax]
push 0x4e49fc
call fcn.00479f44
call fcn.0047951f
mov eax, dword [ebp - 0x48]
cmp eax, esi
jbe 0x479315
mov ecx, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
cmp eax, 0x1000
jb 0x47930c
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.0040156c
mov eax, dword [ebp - 0x1e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e0]
push eax
push ecx
call fcn.0044b96c
pop ecx
pop ecx
call fcn.0044c7df
ret
lea eax, [ebp - 0x44]
push 0x43
push eax
call fcn.004015ef
mov ecx, eax
call fcn.00408f4b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040616a
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1fc]
call fcn.004057d1
push 0x4b6844
lea eax, [ebp - 0x1fc]
push eax
call fcn.0044d4c7
int3