Function at 0x5fb3a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.00635a85
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x286fa
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
push dword [ebp + 8]
call fcn.005faacf
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.005fbbd0
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x5a4d
jne 0x5fbb70
push 0x3c
push dword [ebp - 4]
call fcn.005fae22
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.005e685a
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
call fcn.005fae22
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4550
jne 0x5fbb66
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x1a48c8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.005e685a
push eax
call fcn.005fbbd0
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10b
jne 0x5fb4ca
mov dword [ebp - 0x18], 0xf8
jmp 0x5fb4e1
cmp dword [ebp - 8], 0x20b
jne 0x5fb4e1
mov eax, 0xffffffff
jmp 0x5fbb7a
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x280a2]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.005e685a
push eax
call fcn.005fbbd0
mov word [ebp - 0x1c], ax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.005e685a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x1c]
cwde
cmp eax, 0
jge 0x5fb54c
push 0x412
push 0x401d972
push 0xa
call fcn.00635a97
add esp, 0xc
mov dword [ebp - 0x38], eax
lea ebx, [ebp - 0x3c]
call fcn.005e706d
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00635a85
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x38]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
pop edx
test ecx, ecx
je 0x5fb5b1
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00635a8b
add esp, 4
pop ebx
call fcn.00635a8b
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x5fb58d
pop edx
pop edi
test edx, edx
je 0x5fb603
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.00635a85
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00635a85
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1a48d0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x5fb5bb
push dword [ebp - 0x24]
call fcn.00635a8b
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x5fb824
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x5fb654
push 0x473
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fb671
push 0x473
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x286f2]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x1a48d8]
fstp qword [ebp - 0x50]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], esp
push 0x28
fld qword [ebp - 0x60]
call fcn.005e685a
push eax
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.00635a85
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0xde
call fcn.00635a9d
cmp dword [ebp - 0x64], esp
je 0x5fb76c
push 0x4c7
push 0x401d972
push 6
call fcn.00635a97
add esp, 0xc
mov ebx, dword [ebp - 0x68]
push ebx
mov edi, dword [ebp - 0x6c]
push ebx
push edi
push 1
mov eax, 2
call fcn.00635a7f
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x5fb7a2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5fb7a0
imul eax, dword [edi]
jmp 0x5fb795
mov ecx, eax
cmp ecx, 8
jle 0x5fb7ac
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00635a8b
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x5fb61f
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x5fb84f
push 0x539
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fb86c
push 0x539
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x5fb8a1
push 0x562
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fb8be
push 0x562
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.005fbbec
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.005e685a
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.005fbc85
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x34]
push eax
push 0x1000
push dword [ebp - 4]
push dword [ebp - 0x30]
push 0xffffffff
mov eax, 0xdf
call fcn.00635a9d
cmp dword [ebp - 0x38], esp
je 0x5fb942
push 0x5cf
push 0x401d972
push 6
call fcn.00635a97
add esp, 0xc
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.00635a91
add esp, 0x28
fild dword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fadd qword [0x1a48e0]
fstp qword [ebp - 0x4c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x4c]
call fcn.005e685a
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.00635a91
add esp, 0x28
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x5fbb5b
mov dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x5fba10
push 0x737
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fba2d
push 0x737
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x5fba78
push 0x768
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fba95
push 0x768
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
mov ebx, dword [ebp - 0x24]
call fcn.005e706d
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x5fbae0
push 0x768
push 0x401d972
push 4
call fcn.00635a97
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x5fbafd
push 0x768
push 0x401d972
push 1
call fcn.00635a97
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x70]
push dword [ebx]
fld qword [ebp - 0x6c]
call fcn.005e685a
push eax
fld qword [ebp - 0x50]
call fcn.005e685a
push eax
push 0xffffffff
mov eax, 0xdf
call fcn.00635a9d
cmp dword [ebp - 0x74], esp
je 0x5fbb53
push 0x768
push 0x401d972
push 6
call fcn.00635a97
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x5fb9d4
add esp, 0xc
mov eax, dword [ebp - 0x30]
jmp 0x5fbb7a
mov eax, 0xffffffff
jmp 0x5fbb7a
mov eax, 0xffffffff
jmp 0x5fbb7a
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x5fbb99
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x5fbb95
imul eax, dword [ebx]
jmp 0x5fbb8a
mov ecx, eax
test ecx, ecx
je 0x5fbbc1
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00635a8b
add esp, 4
pop ebx
call fcn.00635a8b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x5fbb9f
call fcn.00635a8b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8