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

Disassembly:
sub esp, 0x15c
push ebx
mov ebx, dword [esp + 0x164]
push ebp
push esi
mov eax, dword [ebx + 0x3c3c]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
je 0x451acd
push 0x800
call fcn.004f56f0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x451ad5
mov eax, dword [ebx + 0x3c3c]
mov edi, dword [esp + 0x28]
push eax
push edi
call fcn.0053f406
push str.ldlinux.sys
push edi
call fcn.0053f3dc
push 0x2f
push 0x5c
push edi
call fcn.004f8420
mov ecx, dword [ebx + 0x1418]
push edi
push ecx
push ebx
call fcn.004176a0
add esp, 0x28
test eax, eax
jne 0x451acd
push 0x200
call fcn.004f56f0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x451ad5
fld dword [ebx + 0x3c40]
fcomp dword [0x5a361c]
fnstsw ax
test ah, 0x41
jne 0x45160a
fld dword [ebx + 0x3c40]
fcomp dword [0x5a3618]
fnstsw ax
test ah, 1
je 0x4515a0
mov edx, dword [0x7511d8]
mov esi, dword [0x7511c8]
mov dword [esp + 0x20], edx
jmp 0x45160e
fld dword [ebx + 0x3c40]
fcomp dword [0x5a3614]
fnstsw ax
test ah, 1
je 0x4515c9
mov eax, dword [0x7511dc]
mov esi, dword [0x7511cc]
mov dword [esp + 0x20], eax
mov ebp, 0x400
jmp 0x45160e
fld dword [ebx + 0x3c40]
fcomp dword [0x5a3610]
fnstsw ax
test ah, 1
je 0x4515f3
mov ecx, dword [0x7511e0]
mov esi, dword [0x7511d0]
mov dword [esp + 0x20], ecx
mov ebp, 0x400
jmp 0x45160e
mov edx, dword [0x7511e4]
mov esi, dword [0x7511d4]
mov dword [esp + 0x20], edx
mov ebp, 0x400
jmp 0x45160e
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
lea eax, [edi + ebp]
push eax
mov dword [esp + 0x34], eax
call fcn.004f56f0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x451ad5
mov ecx, edi
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x451651
mov ecx, edx
add ecx, eax
push ecx
call fcn.00450ee0
add esp, 4
mov edx, dword [ebx + 0x3c3c]
mov edi, dword [esp + 0x28]
push edx
push edi
call fcn.0053f406
push str.ldlinux.sys
push edi
call fcn.0053f3dc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18c]
push eax
push ecx
push esi
push edi
call fcn.00451ee0
add esp, 0x20
test eax, eax
je 0x451ad5
mov edx, dword [ebx + 0x3c3c]
push edx
push edi
call fcn.0053f406
push str.isolinux.cfg
push edi
call fcn.0053f3dc
push 0x2f
push 0x5c
push edi
call fcn.004f8420
mov eax, dword [ebx + 0x1418]
push edi
push eax
push ebx
call fcn.004176a0
mov edi, eax
xor ebp, ebp
add esp, 0x28
cmp edi, ebp
je 0x45170b
mov ecx, dword [ebx + 0x3c3c]
mov edx, esi
push str.syslinux.cfg
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x78]
push str._C:_s_s
push eax
call fcn.0053f7f2
lea ecx, [esp + 0x80]
push ecx
push edi
push ebx
push ebp
call fcn.0045f1c0
add esp, 0x24
cmp eax, 1
jne 0x451ad5
mov edx, dword [esp + 0x180]
mov eax, dword [esp + 0x178]
push 0x3c
push ebp
push edx
push eax
push 1
call fcn.004f43b0
add esp, 0x14
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x451ad5
mov ecx, dword [0x85acc0]
mov edx, dword [esp + 0x10]
push 0x200
push ebp
shl ecx, 9
push ecx
push edx
push eax
call fcn.004f59c0
add esp, 0x14
test eax, eax
je 0x451ad5
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x1fe], 0x55
jne 0x451ad5
mov edx, ecx
cmp byte [edx + 0x1ff], 0xaa
jne 0x451ad5
mov eax, dword [esp + 0x14]
push eax
call fcn.004f46b0
mov ecx, dword [ebx + 0x3c3c]
push str.ldlinux.sys
and esi, 0xffff
push ecx
push esi
lea edx, [esp + 0x7c]
push str._C:_s_s
push edx
mov dword [esp + 0x2c], ebp
call fcn.0053f7f2
add esp, 0x18
lea eax, [esp + 0x6c]
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
push eax
call dword [0x736388]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x451ad5
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
mov cl, byte [edi + 0xd]
mov edx, dword [edi + 0x24]
mov ax, word [edi + 0xe]
mov dword [esp + 0x48], ecx
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
lea eax, [edx + 0x1ff]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [esp + 0x3c], eax
shl eax, 3
push eax
call fcn.004f56f0
lea ecx, [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
push edx
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.004512e0
add esp, 0x10
cmp eax, 1
jne 0x45191b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
test eax, eax
jl 0x451ad5
jg 0x45185c
test ecx, ecx
jb 0x451ad5
push eax
xor edi, edi
push ecx
mov ecx, dword [esp + 0x50]
push edi
push ecx
call fcn.0053f700
mov ecx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov ebp, edx
mov edx, dword [esp + 0x54]
push edi
sub edx, eax
mov eax, dword [esp + 0x5c]
sbb eax, ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push edx
call fcn.0053f700
mov ecx, eax
add eax, 0xffffffff
mov edi, edx
adc edx, 0xffffffff
or ecx, edi
je 0x4518dc
mov ecx, dword [esp + 0x64]
add ebx, ecx
mov ecx, 0
adc ebp, ecx
mov edi, ebx
mov ebx, ebp
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jge 0x4518dc
mov dword [esi], edi
mov dword [esi + 4], ebx
add esi, 8
add edi, 1
adc ebx, 0
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, eax
add eax, 0xffffffff
mov ebp, edx
adc edx, 0xffffffff
or ecx, ebp
jne 0x4518af
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.004512e0
add esp, 0xc
cmp eax, 1
je 0x451842
mov ebx, dword [esp + 0x170]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004f5730
mov edx, dword [ebx + 0x3c3c]
xor ebp, ebp
push 0x66d0a8
push edx
mov dword [esp + 0x24], ebp
call fcn.0053f51d
add esp, 0xc
test eax, eax
je 0x45198b
mov eax, dword [ebx + 0x3c3c]
mov ecx, dword [0x748004]
push eax
push ecx
call fcn.0053f406
mov edx, dword [0x748004]
push 0x2f
push 0x5c
push edx
call fcn.004f8420
push 0x400
call fcn.004f56f0
push 0x40000
push ebp
mov dword [esp + 0x54], eax
push eax
mov eax, dword [0x748004]
push 0xffffffffffffffff
push eax
call fcn.0042b510
add esp, 0x2c
fld dword [ebx + 0x3c40]
fcomp dword [0x5a361c]
fnstsw ax
test ah, 0x41
jne 0x4519fe
fld dword [ebx + 0x3c40]
fcomp dword [0x5a3618]
push ebp
fnstsw ax
test ah, 1
je 0x4519d6
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebp
push ecx
push esi
push edx
push eax
push edi
call fcn.00450f50
add esp, 0x1c
test eax, eax
jl 0x451ad5
jmp 0x4519fe
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push ebp
push edx
push esi
push eax
push ecx
push edi
call fcn.00451040
add esp, 0x24
test eax, eax
jl 0x451ad5
push ebp
push 0x80
push 3
push ebp
push 1
lea edx, [esp + 0x80]
push 0xc0000000
push edx
call dword [0x736388]
mov esi, eax
cmp esi, 0xffffffff
jne 0x451a30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x15c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push ebp
push ecx
push esi
call fcn.004f5b00
push esi
call fcn.004f5730
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x190]
push 0x1e
push ebp
push edx
push eax
push 1
mov dword [esp + 0x44], ebp
call fcn.004f43b0
add esp, 0x2c
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x451ad5
mov ecx, dword [0x85acc0]
mov edx, dword [esp + 0x10]
push 0x200
push ebp
shl ecx, 9
push ecx
push edx
push eax
call fcn.004f5ad0
add esp, 0x14
test eax, eax
je 0x451ad5
mov eax, dword [esp + 0x174]
cmp eax, ebp
je 0x451acd
mov eax, dword [eax + 0x18]
cmp eax, ebp
je 0x451acd
mov ecx, dword [0x85acc0]
mov edx, dword [esp + 0x10]
add eax, ecx
push 0x200
shl eax, 9
push ebp
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004f5ad0
add esp, 0x14
test eax, eax
je 0x451ad5
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004f5720
mov edx, dword [esp + 0x2c]
push edx
call fcn.004f5720
mov eax, dword [esp + 0x24]
push eax
call fcn.004f5720
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f5720
mov edx, dword [esp + 0x48]
push edx
call fcn.004f5720
mov eax, dword [esp + 0x2c]
push eax
call fcn.004f5730
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004f46b0
mov eax, dword [esp + 0x48]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret